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 |
what is Smart identification
what is the use of Text output value in Qtp?
Excepton Handling?
Could we use QTP for java project(Which is develop in Netbeans and My SQL) otherwise which one is suitable?
what are all the fileds present in object repository?
Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?
How do client side image and server side image work?
I am having trouble understanding #1 how to paramaterize a userid and password that I need to call in about 25 existing scripts. I need to know how to Create a Reuseable action for 25 existing scripts that will call the exact same userid and password? I need to know how to create a Reuseable action and then have it called by existing scripts being run in a batch.
What is the extension of the recovery scenario file in qtp?
How can i use Output Check points in QTP
how to disable the pop ups through QTP using a script
Diff b/w Test Design and Test case design? What is the Design Review's and Code Review's. When will you conduct tese reviews?