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

Logical steps, extraction variables are not converted to code in Visual Studio

2 Answers 51 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dhruv
Top achievements
Rank 1
Dhruv asked on 13 Sep 2012, 11:05 AM
Hi,

We have started evaluating telerik test studio. I am facing an issue after exporting my Telerik test Studio project to Visual Studio.

I have used Logical Step (If ... Else) in my Telerik Test Studio Scipt. In Visual Studio I have converted all steps to code. The logical steps and the steps that are used within logical steps are not being converted to coded step. Also, for extraction variables used in the .tstest file are not being converted to the code. So when these extraction variables are used in any of the coded steps later in the scripts using GetExtractedValue("varname"); , it throws System.NullReferenceException: Object reference not set to an instance of an object.

Can you please suggest a work around for this issue?

Thanks.

Regards,
Dhruv Parekh

2 Answers, 1 is accepted

Sort by
0
Stoich
Telerik team
answered on 15 Sep 2012, 12:42 PM
Hi Dhruv,
I'm confirmed this as a bug:
http://www.telerik.com/support/pits.aspx#/public/test-studio/12658
Thank you for your feedback!

Until we get this fixed the workaround is to manually add the code in there:
http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/code-samples/general/extracted-variables-in-code.aspx

Let me know if you require additional assistance with this.

Kind regards,
Stoich
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Dhruv
Top achievements
Rank 1
answered on 17 Sep 2012, 06:20 AM
Hi Stoich,

Thanks for your response.

-Regards
Dhruv Parekh
Tags
General Discussions
Asked by
Dhruv
Top achievements
Rank 1
Answers by
Stoich
Telerik team
Dhruv
Top achievements
Rank 1
Share this question
or