Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Set Value for Output Parameters
#1
Solved: 10 Years, 9 Months ago
Hi,

I tried to create a Parameter using File > Settings, then on the Parameters node I add Output Parameter named param1. I saw this parameter printed on the results window but is always <Not Initialized>. I want to set the value of this parameter in Expert View. Please help me.

Thank you!
Yono
Reply
#2
Solved: 10 Years, 9 Months ago
you will have to set a value into your Output parameter
e.g
Code:
Parameter("param1") = "<<Your Value>>"

Reply
#3
Solved: 10 Years, 9 Months ago
I did this but I got the error in the screenshot.
   
Reply
#4
Solved: 10 Years, 9 Months ago
Ok I got that, You have defined a parameter for the test not to the test.

Go to Edit>Action>Action Properties
Cick on Parameters Tab and define your parameters
i meant You have defined a parameter for the test not to the action.

Reply
#5
Solved: 10 Years, 9 Months ago
Yes, I want the parameter for the Test. And not for the Action only. Because I want it to be displayed in the top most portion of the test result. Is that possible?
Reply
#6
Solved: 10 Years, 9 Months ago
to work with Test Parameters, use 'TestArgs' instead of 'Parameter'
e.g. in your case
Code:
TestArgs("param1") = "<<Your Value>>"

Reply
#7
Solved: 10 Years, 9 Months ago
This is great! Thank you very much! Smile
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Set data parameters Mik2s 1 1,274 03-07-2019, 10:18 PM
Last Post: supputuri
  Output Values error Tasleem 3 3,717 10-27-2014, 02:13 PM
Last Post: Tasleem786
  Part of parameters missing when passing between actions skumar007 1 2,840 10-10-2014, 02:00 AM
Last Post: skumar007
  Launching .exe file with parameters magnifyingone 1 2,927 08-28-2014, 06:39 PM
Last Post: dplank
  Way to take values from datasheet and output Fairbanks 3 2,891 03-27-2014, 07:18 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 1 Guest(s)