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

Record from within code???

1 Answer 66 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.
Rob
Top achievements
Rank 1
Rob asked on 17 Apr 2012, 11:11 AM
Hi,

New here but have automation experience using various tools. One question I have is can you not code and record at the same time? Or is it simply record and convert to code?
I would like to be able to build my automated tests from the code view rather than steps view and have the ability to record against a new element from within the code. LIke you can in Visual Studios Coded UI, Test Partner and Quick Test.

Any details much appreciated.

Regards,

Rob

1 Answer, 1 is accepted

Sort by
0
Byron
Telerik team
answered on 18 Apr 2012, 08:16 PM
Hello Rob,

Test Studio does not actually generate code for recorded steps unless/until you convert the step to code. Test Studio actually records all the test steps into an XML formatted .tstest file. This is a result of our product philosophy, which is designed to only use code where necessary. It is possible to work with coded steps and record new steps within the same test -- for example, if one or more steps in a test have been converted to code -- but new recorded steps will use the browser to identify target elements. However, once you have added an element from a page to the element repository, you can write any code you want referencing that element.

Please let me know if I can help you further.

Kind regards,
Byron
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Rob
Top achievements
Rank 1
Answers by
Byron
Telerik team
Share this question
or