What is the difference in input/output parameter using at the following options. 1) test->setting->parameter (tab) 2) step->action properties->parameter (tab)and when and why? we use (1) and (2) ?

Questions by bakumar   answers by bakumar

Showing Answers 1 - 3 of 3 Answers

mm.achar

  • Mar 12th, 2007
 

The input and output parameter defined in Test>Setting>Parameter (tab) can be used as parameters using Parameter Utility Object. For example,

If I want to search for orders in a date range, and want to know the count of orders that are displayed between the selected date range, we can define two input parameters, from_date and to_date and one output parameter, order_count.

Now in the script,

Browser("").Page("").WebEdit("").Set Parameter("From_Date")
Browser("").Page("").WebEdit("").Set Parameter("To_Date")

Browser("").Page("").WebButton("Enter").Click

Parameter("Order_Count") = Browser("").Page("").WebTable("").RowCount

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions