Forum Discussion
vajindarladdad
13 years agoFrequent Contributor
Hi ,
While recording , if the operation is performed based on co-ordinates it will create problems.
You can check the properties of each object before performing the operation ..Ex : isVisible , isVisibleOnScreen etc and then perform the operation otherwise terminate the script execution.
The best method is to map the required objects , write a script to perform operations on these objects and you are done. Otherwise , if you have recorded the test , please try to convert it into the script and modify that script according to your need.
But still , I would't prefer record and play method. I think writing script for mapped objects is the most secure method for automation.
I hope this has been of some help.
While recording , if the operation is performed based on co-ordinates it will create problems.
You can check the properties of each object before performing the operation ..Ex : isVisible , isVisibleOnScreen etc and then perform the operation otherwise terminate the script execution.
The best method is to map the required objects , write a script to perform operations on these objects and you are done. Otherwise , if you have recorded the test , please try to convert it into the script and modify that script according to your need.
But still , I would't prefer record and play method. I think writing script for mapped objects is the most secure method for automation.
I hope this has been of some help.