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

How to create consistent tests?

1 Answer 18 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Aaaaa
Top achievements
Rank 1
Aaaaa asked on 06 Aug 2013, 11:40 AM
Hello,

I can not find how to create consistent tests - for example, if I want to test some functionality in a website that requires to be logged in, I want to make a few separate tests for different d\functionality because it's easier to maintenance, but I have to put login steps in each test. I want to avoid that and just do it once and every next test to start after the last one is finished. 

1 Answer, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 06 Aug 2013, 11:59 AM
Hi,

Thank you for contacting us.

This can be achieved in two ways.

1. You can create just one log in test and reuse it in every functional test as Test As Step. This feature allows you to run an existing test as a single step within another test. This can help to reuse common automated test steps in the project. 

2. You can execute multiple tests in a single browser instance, you can set RecycleBrowser to True in Test List Settings to keep the browser open and reuse the same instance for each test in the list.

Let me know if this helps.

Regards,
Boyan Boev
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Aaaaa
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Share this question
or