Got the clue from QTP help itself. I wasted my 1 hour in searching a little
thing on net which was easily available on Help

The syntax is
 DataTable(ParameterID,[SheetID])

This will retrieve the run time table's given column value. Define a
variable first to hold the value from the column row for each iteration

On Mon, Dec 5, 2011 at 4:19 AM, Test Analyst <[email protected]>wrote:

> Hi All,
>
> This question is for QTP practitioners. Please advise
> I was testing QTP's Flight (windows) application. I created  a script with
> 3 reusable actions. Login, Insert a New Order and Exit
> Once I inserted order, Order Number gets generated. I captured this number
> as Output value in Run Time Table (purpose was to use this value later in
> test in a different Action called verify order)
> *Now I am not sure how to use this Run Time Table's Order Number in a new
> Action which actually Verify the Inserted Order*.
> I searched a lot, but no clue.
> I am parameterizing using Data Table, haven't used Action's Input/Output
> Parameters yet
>
> Though I can do this without using a different action for "Verifying
> Order" by using GetRoProperty of Order Number field and pass that value in
> Open order dialog's respective field.
> But purpose is to using a nested or separate action call.
>
> Can anyone help
>
> Thanks
> -Test Analyst
>

-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Reply via email to