Aerlock
8 years agoOccasional Contributor
KeywordTests.<TestName> substitution in Code Expressions
I am currently writing a bunch of new automation tests and find myself reusing several steps/tests with Code Expressions in them. Thes Code Expressions almost always reference the current Keyword Test using the KeywordTests.<TestName>.Variables.<Variable> format. Since I am copy/paste-ing these steps from test to test I frequently forget to go back and adjust my Code Expressions so I'll have one test trying to evaluate a value from a completely different test. My question is this: Is there any way to put in a ThisTest.Variables.<Variable> format instead, so that when I copy/paste from one test to another I don't have to go in and fix it?
- Aerlock