How can we pass values from one test script to another test script ?

Showing Answers 1 - 12 of 12 Answers

testuk

  • Oct 11th, 2007
 

Store the values in global variables, which can be called and used across the scripts.

  Was this answer useful?  Yes

You can create the output value & import the value of that test to other test.
                                                                                                                               
I think it will help to you.

  Was this answer useful?  Yes

1 - Use Global or Environment Variable to pass values from one action to another.
2 - Use Dictionary object and make it global dictionary object and get values any time in any reusable action.
3 - In QTP there are input and output variables parameters when you can a reusable action, you can give output values at that point.

One more value.
Create temporary text files in temp folder and output your variable values in that text file
and in reusable action or script read the values from that temp text file and then delete that text file after wards.

Text file will work as buffer for variable values.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions