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 |
Diff between WEB APPLICATION AND CLIENT-SERVER APPLICATION?
How can I replace all the text from the QTP script with some other text. Is there any replace all function in QTP Any one can help me
Hi all, can anyone tell me the challenges u faced while using qtp?
what is keyword driven testing in qtp?n how is it useful?
Explain types of exception handling and script for that?
can any one tell me How exactly data drivent testing is done in.explain with any example and the exact steps to fallow?
w is fragmentation and paging
What r steps to migrate from Manual testing to QTP?(IN BOTH WEB BASED AND WINDOWS APP)
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field will reflects and so on.if total psngrs=100 then will we capture all the fields for the psngrs to Automate the app how we can handle this scenerio thru Descriptive programming?
Explain about business process component? types and usage?
Without QTP (or any Testing tool) can we able to test the GUI part of the Applications. for Example generating the Scripts in Notepad and Executing them Using VB. Is it Possible to do so..
What are the benefits of qtp?