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.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is checkpoints for qtp?

524


What is recovery scenario in qtp?

577


What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????

1713


what is the advantages and disadvantages of using functions instead of re usable actions

1419


If object is not recognized by qtp but the object is standard object what is your approach?

588






1.How to record ,capture and also script to capture the close buttons. 2.How to record ,capture and also script to capture the options ---File ->save and File ->close in a browser and PDF files. 3.How to compare the Excel sheet values in a report using QTP scripting. 4.How to compare 2 PDf reports using QTP scripts as well reording. 5.How to compare 2 Excel reports using QTP scripts as well reording. 6.How to save a PDF report to a folder and then translate the report to an Excel type of report and compare that Excel Report with an other excel report. Please clarify me

1596


How does you pass optional arguments in qtp?

559


How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?

1272


I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com

1468


What are the types of object repository in qtp?

559


ACTUALLY I AM WORKING IN THE DISTRIBUTION DOMAIN.MY COMPANY IS PROVIDING DISTRIBUTION SOFTWARE FOR PHARMA AND FMCG DISTRIBUTORS.HERE I AM USING QTP 9.2.HERE IN MY APPLICATION WHILE RECORDING ONE WINDOW APPEARS.IN THAT I CAN SELECT THE ITEM OR NO NEED TO SELECT.BUT WHILE RUNNING THE SAME SCRIPT THE WINDOW MAY NOT APPEAR OR APPEAR.HOW TO WRITE SCRIPT FOR THIS

1519


Where can I find and view run-time data table?

517


What is quicktest professional window?

552


This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?

1463


How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks

1542