How to save script routine result in variable?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2015
02:31 PM
07-30-2015
02:31 PM
How to save script routine result in variable?
Hi,
I have keyword test (KWT) which has some variables. I call a script routine (from KWT) which generates string from variables.
I need to use generated string as filename in KWT.
I have two questions:
How can I get string value from the script routine?
Script routine is not able to retrieve two variables from KWT for which I have used set variable value.
Thanks,
Samixa
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2015
09:16 AM
07-31-2015
09:16 AM
If you want to share variables between keyword tests and/or scripts, then you need to use a Project variable rather than a local variable.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2015
12:56 PM
07-31-2015
12:56 PM
Thanks for reply. I used "return variable" from my routine. It worked.
