Posts: 23
Threads: 14
Joined: Jan 2008
Reputation:
0
06-13-2008, 03:00 PM
(This post was last modified: 06-13-2008, 03:03 PM by blanchedsouza.)
Hi,
If I record for the first time, objects will be added to the object repository. After this, when I save it and 2nd day If I again start recording, for the same object, it creates a new hierarchy by adding "_2", "_3" for browser and page. How to avoid it.
e.g.
BrowserName
|_PageName
|_Object1Name
BrowserName_2
|_PageName
|_Object1Name
|_Object2Name
|_PageName_2
|_Object1Name
Posts: 350
Threads: 2
Joined: Mar 2008
Reputation:
0
06-15-2008, 09:32 AM
Hi blanchedsouza,
Just apply regular expressions for Browser,pagename,Objname' s title/name properties...
I hope ur prob. will be solved....
let me know if you are having any issues.....
Posts: 23
Threads: 14
Joined: Jan 2008
Reputation:
0
06-17-2008, 03:25 PM
Hi sreekanth,
For me problem is, none of my description properties is changing, but still it adds new logical name to browser and page.
Posts: 1,105
Threads: 18
Joined: Jan 2008
Reputation:
8
06-17-2008, 09:18 PM
probably you have multiple browser windows(your app) open at the same time while recording.
QTP in that case will assign "creation time" ordinal identifier to every new browser window and hence will change the name.
Posts: 190
Threads: 2
Joined: Mar 2008
Reputation:
0
06-18-2008, 03:12 AM
Like Ankur said in the above post, there might be multiple browsers or
IEProcess must have been running in the backend. Go to task manager and close Iexplore.exe process. Now open QTP and then the browser and record.