Forum Discussion
Yes, I have tried to record a test case and use the names of the objects that are used in the recorded test but it still does not recognize the object.
What happens if you play back the recorded test case? Do you get error messages? If so, could you post those here please?
Also give us a screenshot of the Extended properties of the tabs from Object Spy.
- Ovi7 years agoNew Contributor
I am trying to avoid recorded test cases since the test PC resolution might change in the future. I receive the error that the object has not been found, although if I am in that tab when I run the test, the object is found.
- tristaanogre7 years agoEsteemed Contributor
Could be a timing issue where the test is attempting to interact with the object before it is fully rendered by the browser. Try increasing your auto-wait timeout or use a WaitAliasChild call.
- Marsha_R7 years agoChampion Level 3
Recording a test case is useful for research or debugging purposes. No need to keep it for a test suite, but it will show you what TC is seeing for the objects and actions. When we write keyword tests and scripts, we are all making assumptions as to what TC is doing and if the results are not what we expect, then recording is a good way to double check.