I recorded one of the test cases,saved the recorded script and gui map file.The test ran correctly then.
Next day I opened the test to check whether it's running correctly or not,now I loaded GUI map file using GUI_load()function in my script.
When I ran the test WR says it couldn't find certain object say A,but I have checked in my GUI map file for that object.Yep it exists ,I don't have any idea why it says there is no such object in GUI map file though it was there.
And I tried one way to make it work,like I opened GUI map file in GUI map editor and clicked on object A and on "Show" button.
Then A was correctly highlighted in the application.
Then again I tried to run the test,luckily the test ran correctly.
Can anyone suggest what was going with the GUI map file?
I tried on way,I opened the concerned GUI map file in GUI map editor and closed the editor.
Then my test ran correclty.
But I still don't know why it's happening that way,though I added statement GUI_load() in my test.
There are 2 parts to the linking of your script to the object in the window.
The first is loading your gui map performing a set window so WR knows which bit of the gui map is being used and then linking to the object description. (uses logical name).
If there is any problem at this point you will get an object not found in gui map error (if you need the exact syntax of this message some one with WR might provided it but you should get the idea.
Part 2 is WR uses the physical description to go and find the object. If it is not there or some of its attributes have changed since it was originally recorded you will get an object not found message. Similar but not the same as the first part.
Issues with not finding objects can some time relate to timing where the window is still being built.
You will now need to ascertain if any of this relates to your issue or you have found another way to break this remarkably stable process.