Variable in Find Settings of Elements

2 posts, 0 answers
  1. Michael
    Michael avatar
    21 posts
    Member since:
    Apr 2013

    Posted 10 Jun 2013 Link to this post

    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}" 
  2. Boyan Boev
    Boyan Boev avatar
    1072 posts

    Posted 12 Jun 2013 Link to this post

    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.

    Boyan Boev
    Free summer webinars on advanced web automation tactics hosted by Jim Holmes & Adam Goucher.
    Reserve your seat today!
Back to Top