action parameter - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: action parameter (/Thread-action-parameter) |
action parameter - Jenny - 02-01-2011 Hi, i have 2 reusable actions in my test script action1 if data from global datatable is not empty then param = get data value from data table runaction 'action2' ------- how do i pass param to action 2. --------in action 1 property i added param as -------- output parameter end if action 2 - in action 2 property i added param as input parameter i do not how to store the data in param for action 1 as ouput parameter and used it as input parameter in action 2 many many thanks RE: action parameter - tarun - 02-01-2011 Store action1 output parameter to global data sheet and then assign this value to input parameter of action2 You can also use the statement RunAction "AddDocToken",ExpectedToken to pass the value RE: action parameter - sravyad - 02-02-2011 Hi Tarun, My name is Sravya. I am new to QTP. Could you help me how can i connect the QC test cases in to QTP. Is there any plug-in, Do I need to install before i do all this? RE: action parameter - tarun - 02-03-2011 Go to File >> ALM/QC connection. Give ur QC URL and you are connected RE: action parameter - sravyad - 02-03-2011 Thanks for your help. |