
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
I am using Silk4NET, for window application having problem with Locator Spy for same control it gives two different caption id for Ex.
1st time getting value = /FormsWindow[@caption='Search Movements - Trading Applications']
2nd time getting value = Search Movements - Trading Application
there is any solution for such kind of problem
Accepted Solutions


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
You can control whether Object Maps are generated and used through the Options dialog. Select the menu item Silk4Net | Options and go to the Recording tab, the section Record object map entries allows you to control how Object Maps are used during recording.
Note that the setting is turned on by default as this gives the best user experience, for example, if the details for a control change (due to an application change) you only have to modify the Object Map entry and all your scripts will continue to work rather than making that change across multiple scripts.
However, the choice is yours how you use this feature.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
The first one is a raw locator whereas the second one is referring to an entry in the object map.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Thank you for you reply. I am beginner for Silk4NET, in my reading control get value from Object map. Will you please explain where to check Raw locator value and how to use Raw locator.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
You can control whether Object Maps are generated and used through the Options dialog. Select the menu item Silk4Net | Options and go to the Recording tab, the section Record object map entries allows you to control how Object Maps are used during recording.
Note that the setting is turned on by default as this gives the best user experience, for example, if the details for a control change (due to an application change) you only have to modify the Object Map entry and all your scripts will continue to work rather than making that change across multiple scripts.
However, the choice is yours how you use this feature.