Hi..friends can anybody write the script for this question...
Am having some 20 nos of links in a web application, i want
to click some 5,13 & 17th links. So please....can anybody
give the answer....???
-->Hani<--
Answer Posted / srikanth
Set obj = Description.Create()
obj("micclass").value = "Link"
Set x=
Browser("micclass:=Browser").Page("micclass:=Page").ChildObjects(obj)
msgbox x.count
for i=0 to x.count-1
if x(i)= 5 OR 13 OR 17 Then
x(i).Click
end if
Next
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the use of text output value in quicktest professional (qtp)?
how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief
How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?
Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?
Is it possible to call from one action to another action in qtp?
How to find a window is minimized or not
when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks
To which environments does quicktest professional supports?
How can I change object description or check point values in qtp?
tell me QTP standards ?plz
Explain the concept of object repository and how qtp recognises objects?
I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me
why should we give deliver good quality software?
what is actually contain test report? can anybody post the test report
what is output value in QTP and how it can be used in automation testing