QTP Function to Check or Uncheck a Checkbox in a Web Table (940 Views)
Reply
Contributor
Nucleation
Posts: 20
Registered: ‎09-03-2012
Message 1 of 1 (940 Views)

QTP Function to Check or Uncheck a Checkbox in a Web Table

Function to check or uncheck a web checkbox within a web table. This QTP function will check or uncheck a specified web checkbox residing within a web table.


Function Usage
You can use this function to check or uncheck specific check boxes within a web table. Let us assume that you have a web table ‘Passenger List’ and you want to uncheck the senior citizen checkbox against ‘Passenger 1’ and check the checkbox against ‘Passenger 2’. You have to add the ‘Passenger List’ web table to the object repository. There is no need to add the individual check boxes to the repository. This function can be of use when you have a dynamic web table with check boxes.

 

Read More>>

Kannan S
Test Engineer
Ernst & Young
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.