How can I use a string variable from my C# coded step in a non-coded step?

4 posts, 1 answers
  1. Chun
    Chun avatar
    12 posts
    Member since:
    May 2013

    Posted 24 Jun 2015 Link to this post

    I would like to use a file path represented as a string in my coded step, in my Handle 'SaveFile' dialog non-coded step. How can I make this possible? 

    Thoughts... 

    • Saving the string variable into a file first and read it from there.
    • Turn the Handle 'SaveFile' dialog into a coded step.

    Thanks!​

  2. Answer
    Boyan Boev
    Admin
    Boyan Boev avatar
    1045 posts

    Posted 29 Jun 2015 Link to this post

    Hi Chun,

    Set the string into an extracted variable.

    After that you should type the name of the variable manually into the Bindings option of the Handle step, click the brackets and then the Set button.

    Let me know if this helps.

    Regards,
    Boyan Boev
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  3. Chun
    Chun avatar
    12 posts
    Member since:
    May 2013

    Posted 29 Jun 2015 in reply to Boyan Boev Link to this post

    Thanks Boyan!

  4. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 02 Jul 2015 Link to this post

    Hi,

    You are most welcome!

    Closing this case.

    Regards,
    Ivaylo
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
Back to Top
  Cast Your Vote at DevPro Connections! Cast Your Vote at  Win IT Pro Connections!