reydimaano
12 years agoContributor
How to use script function in KewordTests statement if..then
I want to use the script getTabCount() that return an integer and compare it to another value in the KeywordTests statement if..then. Just like: If..Then as KeywordTest statement and the val...
- 12 years agoThe simplest way to do this:
1. Insert Run Script Routine statement selecting your function getTabCount();
2. Insert If statement with expression as LastResult Greater than 4.
If you don't like this approach for some reason, there is another soultion exists which requires implementation of script extensions (in this case you may refer to Code Expression in If statement and call your function directly).