Completed
Last Updated: 28 Apr 2017 11:55 by Piotr
ADMIN
Cody
Created on: 05 Sep 2013 18:08
Type: Bug Report
7
Coded steps disappear when using custom base class in VS
When using the VS plugin, if you change the code behind file to use a custom base class (which in turn inherits from BaseWebAiiTest), when you double click on a coded step to open it, the code behind file does open, but the all the coded steps in the test "magically" disappear. Doing the same sequence in Test Studio does not have this problem. A project that shows this problem is attached to the internal bug report.
5 comments
Piotr
Posted on: 28 Apr 2017 11:55
Hi, 

I've the same issue... but it doesn't seem to work in TS. I would have some common code for all my UI Tests - that's why I'm using MyBaseClass which extends BaseWebAiiTest. TS compiles without any problems but Coded Steps disappears from Steps view.

My class hierarchy looks as follow:
MyClass -> MyBaseClass -> BaseWebAiiTest

How could I fix it?
ADMIN
Konstantin Petkov
Posted on: 25 Feb 2014 15:16
Closing this one. Please contact support team if you need further assistance.
ADMIN
Daniel Djambov
Posted on: 28 Oct 2013 09:04
Telerik: Please provide a sample project with tests that use the custom code base class and tests that don't, so we can see your use case and propose you how to configure them to work properly.
algot
Posted on: 18 Oct 2013 08:48
I would do this but not all test in my project use this custom base class so such workaround is not match to my needs.
ADMIN
Daniel Djambov
Posted on: 18 Oct 2013 08:12
Telerik: please follow this article to properly setup the code base setting and resolve the problem http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/troubleshooting_guide/visual-studio/coded-steps-missing.aspx