Hi ,
Yes it happens many times while using qtp . For that you need to go with some options like using of Regular expression( .*) .It happens due to the Browser of the application ,which may not be recognized by the tool if it gets upgrade.
For example:
So sometimes the Name of the Browser (or) the Name of the Page may get change, like Browser("Browser1")gets changed from Browser("Browser").
For this you need to use Regular Expression. Like:
There is a button called "Object Spy" in QTP tool . Always try to use Spy button to know about the changes in Browser ,Page ..etc in the application.
Thanks
Yes it happens many times while using qtp . For that you need to go with some options like using of Regular expression( .*) .It happens due to the Browser of the application ,which may not be recognized by the tool if it gets upgrade.
For example:
Code:
" Browser("Browser").Page("Page").Webedit("UserID")."
So sometimes the Name of the Browser (or) the Name of the Page may get change, like Browser("Browser1")gets changed from Browser("Browser").
For this you need to use Regular Expression. Like:
Code:
" Browser("name:=Browser.* ").Page("name:=Page.* ").Webedit("UserID")."
There is a button called "Object Spy" in QTP tool . Always try to use Spy button to know about the changes in Browser ,Page ..etc in the application.
Thanks