A web table is having 3 columns(name, salary and checkbox) in qtp
How to select a checkbox based on the highest salary of an employee in a webtable.



A web table is having 3 columns(name, salary and checkbox) in qtp How to select a checkbox based on..

Answer / cnu_thatavarthi

First We need to get the highest salary from the column and store the row number in Variable(intRow)

set value = Browser().page().webtable().childItem(intRow,column,"Checkbox",0)

value.Set "ON"

set value =Nothing

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More QTP Interview Questions

LINUX environment supports QTP or not? LINUX environment supports QC or not?

4 Answers  


if i want to check text on the status bar how to test is i need the report also after getting the result weather it is matched or not?

2 Answers  


I am having trouble understanding #1 how to paramaterize a userid and password that I need to call in about 25 existing scripts. I need to know how to Create a Reuseable action for 25 existing scripts that will call the exact same userid and password? I need to know how to create a Reuseable action and then have it called by existing scripts being run in a batch.

2 Answers  


Hi any body can tell me the synchranization point syntax thanks in advance

6 Answers   AppLabs,


If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?

1 Answers  


1.How recognize QTP Dyanamic Image? (suppose tha wedpage contains 3 logos..1 square 2.circle 3.rectangel)there changing at same position how to capture that)

3 Answers   Synechron,


How to retrieve value (data) from notepad using QTP ?

5 Answers   Health Care,


What are the Mandatory Properties of WebTable Object and Link Object in Web testing using QTP

2 Answers   iLink,


how you have used object libraries? plzzzzz do answer

1 Answers  


Q) Please any body can help me how we can create descriptive programming if the application is not ready i.e we don't have unique property of object ? note:build not ready means we can't use object spy in build to get unique property .

2 Answers  


how to generate numbers in between to numbers suppose numbers in between 500 to 1000 in sequencies using vbscript

1 Answers  


How to use QTP for Regration testing, plz tell as with short Example of login window? plz tell as....

2 Answers  


Categories