Posts: 54
Threads: 30
Joined: Jul 2008
Reputation:
0
01-12-2010, 06:01 PM
Hi all
I am getting quite frustrated with QTP 9.5 these days. When im running my scripts, they fail on random places due to objects not recognized.
So my question is
Why are my objects sometimes recognized and sometimes not ?
What do i have to do to create shared repositories of my local ones and must i have one repo per action ?
FYI im testing a VB6 application (not web and not .Net)
Posts: 54
Threads: 30
Joined: Jul 2008
Reputation:
0
01-12-2010, 07:38 PM
Hi Saket
I have a text field called txtSocialSecurityNumber. Sometimes i get the error the "txtSocialSecurityNumber" object was not found in the Object Repository.
This error does not occur on each run but randomly.
I have added the object several times
Posts: 1,199
Threads: 5
Joined: Nov 2008
Reputation:
0
01-13-2010, 10:18 AM
and what are the manadatory properties you have set for text field? check if these properties are changing by chance.
Posts: 54
Threads: 30
Joined: Jul 2008
Reputation:
0
01-13-2010, 06:28 PM
Hi Saket
Where do i set these mandatory properties ?
Regards
Jan Riis Soerensen
Posts: 350
Threads: 2
Joined: Mar 2008
Reputation:
0
01-13-2010, 07:09 PM
Go to Tools -> Object Identification & select 'VB' Environment & select 'VBEdit' Test Object class & see which mandatory Properties are given.
Posts: 54
Threads: 30
Joined: Jul 2008
Reputation:
0
01-13-2010, 07:57 PM
Thx. I have added abs_x and abs_y to see if that helps with identification. Enabling smart identification should not be a good idea (or so I've heard)