Write a code check the checkbox in the web table which is in
the 4th row and fifth column (Use child item concept)

Answer Posted / uday

set cbObj=browser(browserObj).page(pageObj).webtable
(webtableObj).childitem(4,5,"WebCheckbox",0)

cbObj.set "ON"

Is This Answer Correct ?    16 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you compare the structure of 2 tables in database and check whether they are similar using qtp.

1564


Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?

1576


What are the features supported by UFT?

743


I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?

724


Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com

1545






You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?

1440


how u will evaluate the tool for test automation?

1459


What are the recording modes in qtp?

674


What is optional step in qtp? How you can add optional step in qtp?

627


QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue

5673


whow much strong on VB and C?

1582


What are the different types of qtp test assets and their extensions?

715


What is debugging? How you debug your script?

685


what type of automation is follwed in the project?

1582


What is a checkpoint? How many check points are there in qtp?

616