A web page has two butons with same properties and rotating
in clockwise direction. how to click on any of the button?
Answers were Sorted based on User's Feedback
Answer / sagar jadhav
As the buttons are having same properties and their
locations are being changed continuously.. you can go with
the index Or Creation time properties of the Ordinal
Identifier to identify the particular button... Thanks!
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / phani
'Use the following code to click on the second button
Browser("").page("").webbutton("name:=XXX","index:=1").click
similarly to click on 1st button change index value to 0
You can also use highlight to conform particular webbutton on the webpage which you wanna click
Browser("").page("").webbutton("name:=XXX","index:=1").highlight
pls correct me if iam wrong
| Is This Answer Correct ? | 0 Yes | 0 No |
How to supress warnings from the "Test results page"?
i have a window , initial its name is "NEW CUSTOMER" i have to enter the details of customer in the test object fields and after saving the window name is automatically changing with the customer name . so how to identify that window after saving. (i am using descriptive programming.)
For an application we automated QTP scripts. At the same time new requirement comes for a new module for the same application and its already developed. So how we automated now this new module with the old application(using old QTP script).
What are the flaws in water fall model and how to overcome it?
In a web site, Protocal has been changed http: to https: what is your approach?
how to pass parameters from one action to another using output parameters I am not calling action 2 from action 1, they are being called individually I need syntax please .. Requirement: Action 1 customer = Browser(" ").Page(" ").Link(" ").GetROProperty("value") I want to use the value stored in customer in Action 2 I do not want to use any of these actions as re-usable actions
how we can know qtp has used smart identification machanism during the execution.
any one can explain about QTP proocess,means where to start and how to start Scripting.
Suppose u write test case in Excel sheet . how u open that test case in Test Director?
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
How to open an application through scripting?
Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji