How to perform action on objects, If two objects have the
almost the same name ?
example :
Object 1 : "Entry of Items"
Object 2 : "Items"
Whenever I ask QTP to perform an action on Object 2 it
performs action on Object 1.
Note: The two objects are present in an Oracle Application
tree.
Answer Posted / rohit pathak
Just mention all the properties from objects repository, but
if all the properties are same then change one of its
property by which tool can easily able to recognize the object.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Explain runtime dynamic settings?
Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John
if our qtp vb Script may be Currepted then What we want do?
I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=", Second button "html id:=btnSave "outerhtml:=", Third button "html id:=", outerhtml:=",
Hoe can we do retesting using functions please give the code for it using login page
Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?
I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)
How do client side image and server side image work?
I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all
What is the pros and cons between QTP and Rational Robot
What are the types of environment variables in qtp?
Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?
What are the disadvantages of recording test cases in qtp?
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10