This is a migrated thread and some comments may be shown as answers.

Variable in Find Settings of Elements

1 Answer 27 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 10 Jun 2013, 08:53 AM
Is it possible, to define a variable at the beginning of a test and use the vaue in the find settings of steps?
Sth. like TextContent = Productname: "{value of variable}" 

1 Answer, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 12 Jun 2013, 09:03 AM
Hi Michael,

You should set extracted variable in a code and then you can use it in the find settings of the step.

Please check out this article. Your test should have some data source.

Here is a demo video.

Let me know if you need further assistance.

Regards,
Boyan Boev
Telerik
Free summer webinars on advanced web automation tactics hosted by Jim Holmes & Adam Goucher.
Reserve your seat today!
Tags
General Discussions
Asked by
Michael
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Share this question
or