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.