Problem with identifying object in new page opened
I got a problem when running the test, sometimes QTP can't identify the object in the new browser and show a error message like this.
" The test run cannot continue due to an unrecoverable error. Cannot idetify the object "CustID_fmt"(of class WebEdit), Verifty that this object's properties match an object currently displayed in your application. "
The test stop at this step .
Case Description: I want the QTP to open the page(B) from the browser (A), then click the textbox ("CustID_fmt") inside the page(B), then it fails. However, if i open manually the page(A) first, then the test always run successfully.
Expected Result: The QTP opened the new page automatically and identify the objects inside the new page.
Thanks for your help.
PS: I have check the new page(A) is opened as iexplorer
QTP version : 9.2
IE version : IE 7 with tabbing disabled.
Re: Problem with identifying object in new page opened
please check it code :
This is your code:=The test stop at this step .
Current code:= Browser("A").page("B").WebEdit("CustID_fmt").set "inputdata"