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

Calling Test 1 in Test 2 - Modularizing tests

3 Answers 66 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Padmashree
Top achievements
Rank 1
Padmashree asked on 31 May 2018, 10:46 PM

Hi

I am trying to call/execute Test1 in Test 2. Basically I am creating basic  CRUD tests on UI and I have test for Login and trying to below scenarios.

1) Creating Login Test  - Done . I have modularized it and combined login steps into one CodedStep_Login()

2) Creating 'Create' Test - Done

3) Now I want to execute login steps in 'Create' test .  Is it possible to call CodedStep_Login() into Create Test?

   How to verify that Login is passed and if so execute create test.

Appreciate you help.

Thanks,

-

Shree

 

 

 

 

3 Answers, 1 is accepted

Sort by
0
Vera
Telerik team
answered on 01 Jun 2018, 10:42 AM
Hello Shree,
  
Thank you for contacting Telerik Support.

If I understand correctly you want to be able to execute a test within another test. If this is the case for you I recommend you to use Test As a Step functionality which allows you to run an existing test as a single step within another test. It is also useful for reusing common automated test steps in the project.

Test Modularization approaches will provide you useful hints of how to configure your project.

Let me know if there is anything unclear or if you need further assistance.

Regards,
Vera
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Padmashree
Top achievements
Rank 1
answered on 04 Jun 2018, 02:25 PM

Thanks Vera. I am able to execute test within the test and Test Modularization document link is very helpful.

-

Shree

 

 

0
Accepted
Vera
Telerik team
answered on 04 Jun 2018, 03:22 PM
Hi Shree,

Thank you for getting back to us.

We are happy to hear you managed to execute test within a test and the provided information was useful for you.

If you have any further questions do not hesitate to contact us again.

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