Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
action parameter
#1
Solved: 11 Years, 4 Months ago
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






Attached Files
.doc   action_parameter.doc (Size: 362 KB / Downloads: 64)
Reply
#2
Solved: 11 Years, 4 Months ago
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
Reply
#3
Solved: 11 Years, 4 Months ago
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?
Reply
#4
Solved: 11 Years, 4 Months ago
Go to File >> ALM/QC connection.
Give ur QC URL and you are connected
Reply
#5
Solved: 11 Years, 4 Months ago
Thanks for your help.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Action Parameter passing problem Qtpuser1 1 2,843 04-18-2014, 06:23 AM
Last Post: kgovadav
  Parameter bistritapcv 0 2,357 04-02-2013, 09:10 PM
Last Post: bistritapcv
  Parameter iteration bistritapcv 1 3,402 03-28-2013, 10:40 AM
Last Post: Sathiya
Question Add parameter to Data table during run time switoo 1 3,001 12-06-2012, 02:37 AM
Last Post: frebuffi
  Parameter values VS Environmental Variables Brian.Osborne 1 2,379 10-11-2012, 01:47 PM
Last Post: harishshenoy

Forum Jump:


Users browsing this thread: 5 Guest(s)