I am new to QTP.I am practising action parameters.I have 4 actions for login(to login into flight application),flightReservation(for inserting order),openOrder(open the order which was placed in flight reservation) and Logout(for closing flight reservation).
In the flightReservation action i have given ordernumber as output parameter and this should be input parameter for openOrder action
When i run the script i am getting order number as 0 (default value of input parameter)
My question is how to pass output parameter of one action as input parameter to other action?
flightReservation action:
..
....
Window().WinButton(Insertorder).click
wait 5
orderNum = window(Flightreservation).WinEdit(OrderNum:).getROProperty("text")
openOrder action:
...
Dialog(OpenOrder).winCheckBox(Orderno:).click
Dialog().winEdit("Ordernumber").set Parameter("orderNum")
Thanks