how to click on object?
(with out knowing the object details)
for ex: in a webpage one link is available.i want to click
that link by using one menthod through qtp?
Answers were Sorted based on User's Feedback
by using static DP:
Browser("micclass:=Browser").Page("micclass:=page").Link("micclass:=Link").click
by using dynamic DP:
Set objlink = Description.Create()
objlink("micclass").value = "Link"
Set link1 =
Browser("micclass:=Browser").Page("micclass:=Page").ChildObjects(objlink)
msgbox link1.count
| Is This Answer Correct ? | 6 Yes | 4 No |
Answer / vikrant
To identify any object you should know the properties of
that particular object.QTP has provided object spy tool to
identify the object.
By clicking on that icon it will allow you to view the
properties of that object then you need unique property
values of that object.
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / uday
Use the index of the link.
Say if it is 10th link in the web page, use index=9.
| Is This Answer Correct ? | 0 Yes | 1 No |
Give some brief idea about a) Active x check b) Alt property check c) Applet object check d) Frame object check e) Multimedia links check f) Server side image check g) Table object check
Can u Reduce the size of Object repository? What are the problems u have faced in Qtp tool?
What is FRAME WORK? How many Frameworks can QTP supports?
How do u insert an object during runtime in qtp?
I have to pass all the test cases into gmail userid and password using functions please give me code thanks have anice and greate day
in qtp how can we do test when the build is not ready
Which features or drawbacks of QTP lead to the upgrade for a newer version?
Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to use descriptive.create ()
How can we check whether a particular sheet loaded (existed) or not in Data Table.
describe some problems that u had with automating testing tool?
Tell me one scenario, the complex functionality you have automated in your project?
how open two urls in one browser? plz urgent