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

Transitioning to Telerik Test Framework

3 Answers 40 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.
Lisa
Top achievements
Rank 1
Lisa asked on 01 Feb 2018, 07:04 PM

I'm on a team of three seasoned automation developers and to be honest we're finding the UI of Test Studio is really holding us back. It takes way more time to automate things the way we'd like to, than writing the code would. The problem is we've put in a lot of work into making tests to use as tests as steps in other tests.

Is converting the tests into unit tests anything like the code you'd write if using the Test Framework? If we wanted to start using the Framework, would we have to throw the tests we have out the window or can we make this work somehow?

3 Answers, 1 is accepted

Sort by
0
Nikolay Petrov
Telerik team
answered on 02 Feb 2018, 02:28 PM
Hi Lisa,

It is possible to convert all test steps to code indeed. Please, refer to this article for further information. 

Best Regards,
Nikolay Petrov
Progress Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
0
Lisa
Top achievements
Rank 1
answered on 02 Feb 2018, 02:48 PM

Sorry Nikolay, maybe I wasn't clear. I've read that article. My question is, is the code then identical to using the Test Foundations classes? If we switch to writing them will that code mesh? Are there any differences I should know about?

 

 

0
Nikolay Petrov
Telerik team
answered on 05 Feb 2018, 02:12 PM
Hello Lisa,

If I got right this query you want to re-use your existing tests in a unit test project. Unfortunately, It will be not possible to convert in code all your test steps and to use them in a separate unit test project directly. For example - Test Studio uses Pages notation to locate the elements. In a unit test it will be necessary to locate each element based on find expressions.

In general Test Studio is based on the Testing Framework. In this context all of the UI recorded test steps can be represented in code - based on the Testing Framework API

I hope this clarification helps. Please, let me know if further information is necessary.

Best Regards,
Nikolay Petrov
Progress Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Lisa
Top achievements
Rank 1
Answers by
Nikolay Petrov
Telerik team
Lisa
Top achievements
Rank 1
Share this question
or