05-05-2011, 09:25 PM
Hi,
You have couple of options here
1) Using environment variables
2) Using a global variable : You can create a variable in one of the library file (.vbs) and you can use that variable across all the actions. If you want to update the global variable value you can assign the value and retrieve the same at any time.
Let me know if you need any further information.
You have couple of options here
1) Using environment variables
2) Using a global variable : You can create a variable in one of the library file (.vbs) and you can use that variable across all the actions. If you want to update the global variable value you can assign the value and retrieve the same at any time.
Code:
'Step 1: Create a .vbs file and map that to your test.
'Step 2 : Now create a global variable in the library file.
Dim glbVariable : glbVariable = ""
'Step3 :
'Action 1 : Assign some value to the global variable
glbVariable = "Value from Action 1"
Step 4:
'Action 2:Now create another action and retrieve the value.
msgbox gblVariable 'the message box should display "Value from Action 1"
Let me know if you need any further information.
Thanks,
SUpputuri
SUpputuri