Forum Discussion
AlexanderM
15 years agoStaff
Hi Michelle,
Currently, it is not possible to accomplish your task without any scripting.
As you are using keyword tests, you can execute the function suggested by Robert by using the Run Script Routine operation. Please note that the value returned by the script function needs to be stored in [url= http://www.automatedqa.com/support/viewarticle/?aid=2538]a keyword test variable[/url], [url= http://www.automatedqa.com/support/viewarticle/?aid=3075]a project variable, or a project suite variable[/url]. For example, you can change the following code line of Robert's code:
Result := lADOObject.Value[0];
like this
// Please note that you need to create the Var1 variable before executing the routine.
Project.Variables.Var1 := lADOObject.Value[0];
Then, you will be able to work with the value stored in this variable in the way you want.
Related Content
- 2 years ago
- 5 years ago
- 8 years ago
Recent Discussions
- 2 days ago