there are having 10 checkboxes..how can i check only first
5 check boxes by using descriptive programing..

Answer Posted / satish

set x=description.create
x("micclass").value="WinCheckbox"
set y=Browser("title:=.*).page("title:=.*").childobjects(x)
print x.count
for i=1 to 5 step 1
x(i).set "on"
next

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to find Operating system information using QTP script?

578


What is qtpro?

597


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?

621


Does quicktest professional is unicode compatible?

527


If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?

592






How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?

633


What is file database?

1696


Can we run multiple QTP scripts one after the other without manual intervention? How?

600


What is smart identification in QTP?

633


Explain step generator in qtp?

650


Hi All, I have QTP installed on my machine but the application under test (AUT) is on remote desktop.My scenarios is like that,it should contain following steps. 1)Automatically it should click on start and then on remote desktop connection. 2)it should enter the IP address and then connect to remote desktop. 3)and then it should be able to record the application in remote machine and then run it also. Can somebody tell me how to record the application which is in remote machine.

1489


Explain how Selenium is different from UFT?

694


Can we run test with out adding object in object repository? How it is possible?

547


How QTP identify the system time that's changes every seconds?

597


who QTP recognizes the object stored in object repository?

1664