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

I want to see all the properties of agent name in login window. I will use the script Set a=Window("FR").WinEdit("Agent Name:").Gettoproperties( ) msgbox but my question is how to use the msgbox if i use a it will display only a, so anyone pls let me know how to get the display of all the properties using GetToProperties () or GetRoProperties (). Thanks a lot

5 Answers  


Write a QTP script to enter a keyword in to Google search engine?

0 Answers   Wells Fargo,


diff between wr and qtp in detail.

4 Answers  


What is dictionary object? what is the use of it? How you will display all the items in the dictionary object?

1 Answers   Bank Of America,


Hi, I Install QTP 9.2 in windows Vista. but it is not supporting IE. it is supporting only windows based application. could I change any setting in Vista for supporting IE.. ?? thanks in advance...

2 Answers  






How to compare source and target database in testing? Can anybody please tell me in detail the procedure how to compare it?

1 Answers  


Is it a smart choice to use QTP for backend testing?

1 Answers   CTS,


How to watch currnet value of an object like OK buton or edit box with "Agent Name:" label. in watch expression tab?

2 Answers   Cap Gemini,


Hi Friends, Iam Beginner in QTP and i want to Try the software QTP. I checked the mercury site for QTP Trial version and i found QTP 9.0. The thing is that it supports windows 2000,Xp but not windows 98.And Iam using Windows 98 onlu and it's not possible for me to upgrade to windows 2000. Pls. guide me how to get the trial version of QTP which supports windows 98 Operating System The version may be 6.5 is ok for me.Thanks in Advance

2 Answers  


HI ALL, HOW WE INSTALL .NET ADD-IN OR JAVA ADD-IN TO THE QTP? PLZ URGENT.ANSWER ME.

2 Answers  


What is the Difference between copy to action and call to action?

0 Answers  


What type of framework you are using in your company and explain it?

4 Answers   CTS,


Categories