Ask a Question

Consistency from Script to Script

Occasional Contributor

Consistency from Script to Script

I am right non somewhat impressed by the product as well as disappointed to the last of real world tips and tools.

Here is a simple little query, How do I maintain consistency from script to script.


For example I have a fairly simple script reading from a spread sheet (purely using navigation) and the script works the first few times through and then I came back later and the script is off by a field or two.



Champion Level 2

I'm going to guess that you've recorded your tests and are using coordinates instead of object names.  Coordinates can change from test run to test run, so it's recommended that you switch to object names in order to avoid that problem.   


If that's not the issue, then it would be helpful if you post a screen shot of your code, tell us where the failure occurs, and under what conditions.  

Frequent Contributor

Thank You. 

Our directive is to to take a non technical approach and use Keyword scripts. Yes I agree with you and like that there may be on alternative. I am new to this tool and I an testing to see if it meets our objectives.  Is this approach only available through scripts are can it be used in keyword tests.

Yes, it can be used in keyword tests.  


The 101 video in this set may be of some help:

Frequent Contributor

Lets get you a company car.   Thank you very much. 

Champion Level 2



reading from a spread sheet

Consider Excel object (and operations under Excel group) if you are reading from Excel spreadsheet.


  /Alex [Community Champion]
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.

I missed the spreadsheet detail.  Here's a video for that too:


@AlexKaras and I will share the company car 😁 

Showing results for 
Search instead for 
Did you mean: