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
Explain advantages and disadvantages of ddf?
whow much strong on VB and C?
How to replay a script in qtp?
how to evalute defects in QTP script?
Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris
what is test scheduleling?
Explain in brief about the quicktest professional (qtp) automation object model?
In qtp, explain what is qrs file?
Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln
What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?
How many types of recording facility are available in quicktest professional (qtp)?
How the exception handling can be done using quicktest professional?
What environment does qtp run in?
hou can we use vb script in qtp could u tell me breafly
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field will reflects and so on.if total psngrs=100 then will we capture all the fields for the psngrs to Automate the app how we can handle this scenerio thru Descriptive programming?