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 |
Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji
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.. Correct me if iam wrong some where.
What is the difference between client server application and web based application?
Is it a smart choice to use QTP for backend testing?
what is a active x control?can any one brief me about active x controls
What is reusable action?
Hi all, On recording a particular Web application with QTP,Have came across a problem for which I havent found a solution so far.. The script of importance is as follows: Browser("Personalized Start Page").Page("XYZ").Frame ("mainFrame_4").Link("address.csv").Click Browser("Personalized Start Page").Page("XYZ").Sync Dialog("0% of dms.php from XYZ-").Dialog("File Download").WinButton("Save").Click My problem is that on recording the application with QTP and clicking the "address.csv" link another browser window comes up temporarily followed by the Windows "FileSave" dialog.The browser window which came up closes down when the Windows "FileSave" dialog is visible and I save the file to a windows location. On the "Record and Run" settings under Qtp,have activated settings for web and windows applications. But when I run this recorded script,and after the "address.csv" click,The browser window comes up and goes down,No Windows "FileSave" dialog comes up and the QTP shows the error Dialog("0% of dms.php from XYZ-") object is not found,though this object is there in the repository. Have tried putting the Dialog("0% of dms.php from XYZ- ").Exist property.But the "Exist" property is not recognised by the dialog at all. Any help in this direction is appreciated.. Thanks in advance J
diff between winrunner and qtp
how i can get the value of label box , please any body tell me script of that code
Hi, every one aim new to automation testing(QTP),aim looking for software versions any. If any one can HELP me that will be great. Thank u.(9620427211,Bangalore)
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<--
How does Parameterization and Data-Driving relate to each other in QTP?