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 frame work in J-meter?
How does qtp identify gui object?
in a web page hoe to check the dynamic links that rechabging with out using regular expressions
What is the synchronization point in qtp?
What is 'sleep' in sync point?
Explain the types of properties that quick test learns while recording?
What is the basic concept of qtp?
What is the extension of the recovery scenario file in qtp?
What is debugging? How you debug your script?
In QTP TEST DIRECTOR COMBINATION WHAT IS THE PURPOSE OF TEST DIRECTOR? In Somebody says to store test cases and design test cases.?ok fine , but In test director 5.0 , QTp not launching. what u do?
Explain the N-tire structure(process) for Funds Transfer ( means give N ways to funds Transfer in an Application)
How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
Generic function to search for the unique link in webtable and click on it
How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?