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

for a test in QTP i had choose the object repository as shared.after completion of some days i want to conduct the same test again,now the question is HOW TO LOAD THE OBJECT REPOSITORY. is it possible by descriptive programming.could any one tell me how many ways we load it and what is the process?

13 Answers   Logica CMG,


can u write one user defined function for webedit class.

6 Answers   Cap Gemini,


How i can test the background color of the records displayed in a Table. Eg i have a .net desktop application and there is a Table(swftable) with records displayed in the grids. i have to validate whether the 1st record is displayed in white background color and 2nd record in light blue background color...But the constraints is that once user click on the first record...the background color changes to grey.......Plze let me now how to validate this with QTP 9.2.

9 Answers   Accenture,


WHAT IS THE FRAMEWORK & ARCHITECTURE OF YOUR PROJECT

3 Answers   Wipro,


What is the Difference Between Quick Test Pro and Quick test professional?

5 Answers   Infotech,






What is the difference between QTP 8.2 and QTP 9.2 ?

4 Answers   IBM, Infotech,


pls tell me different type of automation frame works in QTP and which one need to select in client server application

7 Answers   Syntel,


How to "Turn Off" QTP results after running a Script?

4 Answers  


What are the Latest Feature are added In QTP 9.2?

2 Answers   Infotech,


suppose i give valid user id and password to open an web base application on qtp.how qtp will know itis a valid user id and password

3 Answers  


Older version QTP is 8.2 and New version QTP is 9.2. My question is, Why it is QTP 9.2, why not 8.3,8.4 .... why it is not something ?

1 Answers  


How many types of recording facility are available in quicktest professional (qtp)?

0 Answers  


Categories