kmorseprime
2 years agoOccasional Contributor
Return a string in a script
I wrote a small script in Python that generates a string of 8 digits. I am trying to set this up so that I run the script in a KeyWord test and the value gets typed in as an action.
For example:
1. I run the script below which generates a string which, as an example, would be "04172028" (Screenshot 1)
2. I would need to take an action in my KeywordTest a simply would type the value of "04172028" in the application I'm testing (Screenshot 2)
Any ideas?
Screenshot 1 for Script Routine
Screenshot 2