QTP – How to click on a link that is named according to a previous output value?

  • Questions
  • QTP - How to click on a link that is named according to a previous output value?
Question ID: 104208
1
0

Hello,

My application requires me to click on a link that is dymanic, based upon text returned to the client in a previous step.

For example, after logging in, I am presented with an "account number" on the screen.

I want to save that account number as an output value.

Then, in a future step, I’d like to click on a link on the page that has the identical "account number". The link on the screen is visually identical to the "account number" saved in the earlier output value.

I know how to save the output value, but I’m unclear how to turn a link into a parameter that calls the output value.

Thank you for your help!

Marked as spam
Posted by (Questions: 1, Answers: 1)
Asked on August 31, 2010 5:58 pm
7 views
Answers (1)
2
Private answer

Massive oversight on my part... I got this working by simply double clicking the object properties of the ''link'' and changing the constant to a parameter (pointing to the earlier output value).

Marked as spam
Posted by (Questions: 1, Answers: 1)
Answered on August 31, 2010 9:11 pm