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 / ashok kumar
Set obj_Link = Description.Create()
obj_Link("micclass").value = "Link"
Set it_Link =
Browser("micclass:=Browser").Page("micclass:=Page").ChildObjects(obj_Link)
For i = 0 to it_Link.count-1 step 2
it_Link(i).Click 'it click +2,4,6....
Next
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks
Explain the concept of how quicktest professional (qtp) identifies object?
can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?
WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT
Tell me one scenario, the complex functionality you have automated in your project?
which type of testing process are you following in ur company? how to recognize a qtp page?
How can I import environment from a file on disk?
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?
How do Parameterization and Data-Driving relate to each other in QTP?
What are the challenges you faced during you entire life automation ?
What is test object model in quicktest professional (qtp)?
what is description object?
How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?
Differentiate the type of test cases which can be automated and which cannot be automated?