Completed
Last Updated: 05 Apr 2023 14:13 by ADMIN
ADMIN
Boyan Boev
Created on: 03 Dec 2013 09:34
Type: Feature Request
1
Convert all steps to code does not handle the variable extraction in VS Plugin
The generated code does include a comment suggesting that the next line of code will be extracting a value in to a variable, but the related code is not generated.
3 comments
ADMIN
Konstantin Petkov
Posted on: 16 Apr 2014 08:28
Anastasia,

Let me clarify "converting all steps to code" generates unit test code. This test code will be handled by the respective test runner (VS in this case, or it could be NUnit, etc.) which does not know anything about the variable extraction - a feature specific to Test Studio and handled by it's execution engine.

If that's feasible option for you just keep working in the context of Test Studio by converting the step only, not the entire test to unit test. You can see how to work with variable extraction in code in the context of Test Studio in the following article:
http://docs.telerik.com/teststudio/user-guide/code-samples/general/extracted-variables-in-code.aspx

I hope this helps!
Anastasia
Posted on: 16 Apr 2014 07:57
I don`t know that need to write, but I really want convert ALL steps without lost steps.
Просто добавьте, пожалуйста. 
ADMIN
Konstantin Petkov
Posted on: 16 Apr 2014 07:49
Code generation of variable extraction steps is not supported yet.