Action1: I have a value "test" stored in a variable X.
I want to use that variable X in Action2 .. how?
Answer Posted / litan
Use environment variables.
Action 1 : Environment.Value("x")="test"
Value of x=Environment.Value("x") can be used any action.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Can we record using all the modes in a single script? Explanation with example is appreciated
Hi, I am working on microsoft infopath forms..It is standalone form..(not dotnet or web.) . I am not able to indentify any objects in it.. I am currently using active accessibility in the macro for the same but its execution is too slow.. Kindly help in case you have better solution.
hi all here i have tab named "Workbench" By clicking on "workbench" tab.it displays 4 tabs like below workbench common cargo commercial charter "common" tab have 10tabs inside,"cargo" tab also haveing 15 tabs inside and remaining two tabs also having few tabs inside. when clicked on "common" tab.it displaying the script like tab("workbench").select"common" if i clicked on "cargo".it displaying the script like tab"workbench_2").select"cargo" if i clicked on "commercial".it displaying the script like tab"workbench_3").select"commercial" if i clicked on "charter".it displaying the script like tab"workbench_4").select"charter" I have used a "FOR LOOP" for common,commercial,cargo,charter tabs.it was stopped at second tab SO, CAN I RECOGNIZE "WORKBENCH_2,_3,_4" AS A SINGLE VARIABLE if not, can anyone plese help me to solve this
HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...
I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that
Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji
Write a script to verify font style and color of a windows object using descriptive programming
Limitations in QTP?
How to find the difference between 2 dates in qtp?
Hi we are using QTP9.0 for Seibel Application and this seibel application will give you a popup messagebox which is of web , so qtp takes 3 mins to recognize the messagebox and to click on it , we have more number of messageboxes like this . please suggest me some solution
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example
I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?
What is qtpro? What is a quick test professional?
In the website, the protocol has been changed http: to https what you will do? Tell me your approach?