i am testing an online shopping application.I CLICK on a
link "ADD TO CART" of that application a "new page" is open
and then click on any object of that "new page". after that
when i run this SCRIPT then on this "new page" QTP always
shows error of "OBJECT NOT FOUND". How i solve this problem ?
Answer Posted / swetha
first we need to check whether those objects in that page
are being added to the object repository or not.if objects
are added but still it is not identifying then go to object
repository and change the properties of the not identifying
object so that to uniquely identify that object still it is
not identifying then using virtual object configuration
concept we can make the specified area of the application as
a specified object to make qtp to identify the object.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is Test Fusion Report in QTP?
How do you create regression test packs?
How to find array size in qtp?
Whats the realtime QTP testing process
How to use descriptive programming?
What are some test assets and related extensions of qtp?
when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next
What is regular expression?
when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks
I am Facing Issues with learing datepicker 1)when i first learn datepicker as current system date . 2)if i wanna runtime datepicker value it gives error
How to run a test using quicktest professional?
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))
WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,
if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column which is worked for both edit and delete..how to write script for the button to test both operation on the web table using desriptive programing.. plz help me on script wheather using getroproperty Q2)what is the command for taking valiue from a web table in qtp
How to creating an output value using quicktest professional?