We have observed erratic and uncertain behaviour of QA run. The script which was running very well till y'day, now is unable to work today. When I tried to re-learn the attachment of same window, the code is coming different.
Till yesterday code was
Attach "SLP1002 - Transaction Entry for PAX Sale ChildWindow"
Now if re-learn the same attachment
Attach "SLP1002 - Transaction Entry for PAX Sale ChildWindow_0001"
Can anyone let me know why does it behaves like this. Do we need to do any specific setting ?
I seems like you have enabled the out-created object map function. You can check it following the next steps:
- Go to object maps
- Select Options - Configure from main menu
- Go to tab Object map creation in the window that just opened up.
You now see a list of all object types. These can have the setting: Raw attach, Auto-create or Prompt. In your case they have (or some have) the setting Auto create. It means that object maps are automatically made (and automatically named).
If you don't want this you should set it on Prompt (you will be prompted when an object map is automatically created). Or set it on Raw attach if you want total control over the creation of object maps.
Reason for _0001 extentions to objects are that the objects have changed! Go to Object map and highlight the "<attach name>" and the "<attach name_0001>" and press the Compare button. The differences should be listed. Depending on what has changed you might wanna create a new Significant Field Mask which filters out the changed value, or if let's say a title has changed maybe the use of Wildcards can prevent a new Attach Alias being created.
...Winter is coming, bye from ArcticTester