use DP for the link object with text property
On Wed, Mar 28, 2012 at 7:27 PM, jsmit <[email protected]> wrote:
> I have a web application that has multiple links on it that are
> basically the ID number of the task it opens. Each one is unique.
>
> I'd like to load a data table to QTP that has the task ID and then QTP
> will click the link that is the same as the task ID.
>
> I used the record function in QTP to record myself manually performing
> the test on a specific ID, thinking I could edit the test to tell it
> to look at the data table for the task ID to determine the next link
> to click. However I don't know how to do this. I've successfully
> done this with data input text fields but not for links. Is there a
> way to do this?
>
> In the expert view of the test it shows the following...
> Browser("Browser").Page("Page").Link( "0005365291235").Click
>
> Basically I want to somehow have QTP reference the data table to
> determine what link to click (changing out 0005365291235 for the data
> table.
>
> Any help would be greatly appreciated.
>
> --
> 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
>
--
Regards,
Deepak
--
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