12-17-2010, 03:43 PM
Hi folks!
A quick question as parameters are confusing me.
I have a test that creates a file that I need to upload into the system I am working on. The file creation works and is no problem.
The basic outline of the test is as follows:
2 actions
Action 1 create file
Action 2 process file
Action 1
1. Create the file
2. set a variable with the name of the file
Action 2
1. get the name of the file (from action 1) and process this
So I need to somehow pass this name from the first action to the second action.
How do I do this? I did try using the following:
Going to the action properties of action 1 and setting an output parameter
name : filename - type string
And then going to the action 2 properties and setting the input parameter
name infile - type string
How do I accomplish this task do I need datatable for this or can it be done with variables?
A quick question as parameters are confusing me.
I have a test that creates a file that I need to upload into the system I am working on. The file creation works and is no problem.
The basic outline of the test is as follows:
2 actions
Action 1 create file
Action 2 process file
Action 1
1. Create the file
2. set a variable with the name of the file
Action 2
1. get the name of the file (from action 1) and process this
So I need to somehow pass this name from the first action to the second action.
How do I do this? I did try using the following:
Going to the action properties of action 1 and setting an output parameter
name : filename - type string
And then going to the action 2 properties and setting the input parameter
name infile - type string
How do I accomplish this task do I need datatable for this or can it be done with variables?