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 will you check that your test cases covered all the requirements?
how to test Web application using QTP software
How to build scripts that access data from external sources?
Step 3&4 are repeated until an the object in recognised uniquely.
What is the architecture of your project? Can any one answer for this question plz........
Plz Explain AUTOMATION REFERENCE MODEL?
How to find the path of folder in which the test is saved in qtp?
How many scripts did you have?
Can we record an application running on a remote machine using qtp?
What is expert view in qtp?
Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.
How does qtp recognize objects in aut?
www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example
Hi How to retrieve data from web element line by line?
what is the difference between the modular framework and datadriven frame work