Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
input / ouput parameters
#1
Solved: 10 Years, 9 Months, 2 Weeks ago
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?


Reply


Messages In This Thread
input / ouput parameters - by jove1776 - 12-17-2010, 03:43 PM
RE: input / ouput parameters - by jove1776 - 12-17-2010, 06:02 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need to input Japanese Character through UFT Alaguraja 0 796 07-01-2020, 11:32 AM
Last Post: Alaguraja
  Set data parameters Mik2s 1 1,288 03-07-2019, 10:18 PM
Last Post: supputuri
  How to get input from the user in QTP? shanthiK 10 18,116 08-07-2017, 11:34 PM
Last Post: zunebuggy
  Part of parameters missing when passing between actions skumar007 1 2,854 10-10-2014, 02:00 AM
Last Post: skumar007
  Launching .exe file with parameters magnifyingone 1 2,939 08-28-2014, 06:39 PM
Last Post: dplank

Forum Jump:


Users browsing this thread: 1 Guest(s)