Posts: 15
Threads: 0
Joined: May 2008
Reputation:
0
07-22-2008, 09:14 AM
Its a Webapplication or Window application?
Posts: 190
Threads: 2
Joined: Mar 2008
Reputation:
0
07-22-2008, 10:21 AM
I presume that you are using OR.
In the Object Repository, disable smart identification for this page object and add more properties like title, etc.
And your code should work fine.
Posts: 54
Threads: 24
Joined: Jul 2008
Reputation:
0
07-22-2008, 03:15 PM
I will give it a try .. Thanks
Posts: 54
Threads: 24
Joined: Jul 2008
Reputation:
0
07-22-2008, 05:44 PM
The Smart Identifier was already disabled. What is best practice for the web? Should I enable or disable?
Posts: 190
Threads: 2
Joined: Mar 2008
Reputation:
0
07-22-2008, 06:29 PM
Well, it depends on what one is trying to achieve.
If you are are using .Exist, then its better to disable smart identification.
In your case, do one more thing.
Open OR and highlight the objects. For instance, if you have one browser(google) and two pages (google, and inbox).
navigate to google page and click on highlight for page inbox in OR.
If it highlights the page, that means you need to add more properties like title, etc.
It should only recognize the inbox page.
Got it?
Posts: 54
Threads: 24
Joined: Jul 2008
Reputation:
0
07-22-2008, 06:37 PM
I have anther problem. When I change Enable Smart ID to False in the Object - Repository All Object Repositories window it changes back to True when I close the OR window and reopen it. Since there is no save option I tried saving the project again.. and that did not work. Any ideas? It almost looks like it's a bug
Posts: 9
Threads: 1
Joined: Jul 2008
Reputation:
0
07-22-2008, 08:54 PM
Try this,
Go to Tools-> Object Identification. Select Environment as Web,and check whether Enable Smart Identification is Unchecked for Test Object Classes.I think this will resolve your problem.
Posts: 54
Threads: 24
Joined: Jul 2008
Reputation:
0
07-22-2008, 09:13 PM
1. Every Test object had the Enable Smart ID option. Do you mean to un-check that option for everyone or just the one I am having trouble with?