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 / srikanthdas
Set obj = Description.Create()
obj("micclass").value = "Link"
Set x =Browser("micclass:=Browser").Page("micclass:=Page").ChildObjects(obj)
for x= 1 to x.count
if x(i)=5 OR 13 OR 17 Then
x(i).Click
end if
Next
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Write a script to customize the test results in PDF and HTML format.
What is the difference between keyword view and expert view?
What are the types of object repositories? Which one is you using?
How can you exit from an action?
How to add synchronisation points in qtp?
how can we compare descriptive programing with a regular expression
How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.
What are the advantages of qtp?
Can the user toggle between using Local OR and shared OR for the same action?
Can we write winrunner language i.e TSL in QTP tool?
In the website, the protocol has been changed http: to https what you will do? Tell me your approach?
How to explain a banking project in interview as a test engineer???
What is the standard timing delay for web based application in qtp?
How does quicktest professional (qtp) identifies the object in the application?
write the vb script for call to new action in qtp?