Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
action parameter
#1
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: 111)
Reply
#2
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
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
Go to File >> ALM/QC connection.
Give ur QC URL and you are connected
Reply
#5
Thanks for your help.
Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)