there are having 10 checkboxes..how can i check only first
5 check boxes by using descriptive programing..
Answer Posted / firoz shaik
A Small correction in the above code :
set objCheckBox=Description.Create()
objCheckBox("micclass").Value="WebCheckBox"
set objChildObjects=Browser("micclass:=Browser").Page
("micclass:=Page").Childobjects(odesc)
for i=1 to objChildObjects.Count
If i=5 Then
Exit For
End If
objChildObjects(i).Set "ON"
Next
| Is This Answer Correct ? | 12 Yes | 3 No |
Post New Answer View All Answers
What is QTP’s model for test creation?
When Recovery scenario actually starts while testing the application?
How software tester can use constants and variables in scripts?
Does any one worked on JIL Emulator , Testing with QTP(automation). Trail Version of QTP is not identifying the child objects of JIL emulator, Can any one help me out ,
Diff b/w test scenario's and test Procedures?
Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?
What are the various automation frameworks available in qtp?
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.
Explain the concept of object repository & how qtp recognizes objects?
What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.
what difference between runtime object and text object and what property they have. whether they have same properties or different properties.
explain how to write vb script in qtp?when will you write own script?
There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code
what is profile tool?
Is any limitation to xml checkpoints?