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 / manjunatha
Just u can use Location or Index ordinal identifier. Then
QTP easily identified the object.
EX: B().P().webbutton("name:=Entry of
items","Location:=0").click
OR
B().P().webbutton("name:=Entry of items","index:=0").click
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to handle the exceptions using the recovery scenario manager in qtp?
How do you convert manual test cases to automated test cases?
what is the diff b/w assistive and mandatary rules of object repository in QTP???
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??
How can get count of list box?
Explain the views in the QTP GUI?
What is the difference in testing a client-server application and a web application?
Explain qtp(quick test professional)?
what difference between runtime object and text object and what property they have. whether they have same properties or different properties.
assume i have few url link how will i dynamically call then using descriptive programming?
I used the below code to open QTP through VBscript?But i can unable to Invoke QTP...PLZ help me with the correct code to invoke QTP through VBS with description of the code aswell. Dim qtApp 'As QuickTest.Application 'Declare the Application object variable Dim qtTest 'As QuickTest.Test 'Declare a Test object variable Dim qtResultsOpt 'Declare a Run Results Options object variable Set qtApp = CreateObject("QuickTest.Application") 'Create the Application object qtApp.Launch 'Start QuickTest qtApp.Visible = False 'Make the QuickTest application visible qtApp.Open "C:\form", True 'Open the test in read-only mode 'set run settings for the test Set qtTest = qtApp.Test qtTest.Run 'Run the test 'WScript.StdOut.Write "Status is: " & qtTest.LastRunResults.Status 'Check the results of the test run qtTest.Close 'Close the test qtApp.quit 'Close QuickTest Pro Set qtResultsOpt = Nothing 'Release the Run Results Options object Set qtTest = Nothing 'Release the Test object Set qtApp = Nothing 'Release the Application object
In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer
I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...
Explain the differences between table and db checkpoints?
Explain different types of checkpoints?