Calling Test 1 in Test 2 - Modularizing tests

4 posts, 1 answers
  1. Padmashree
    Padmashree avatar
    9 posts
    Member since:
    May 2018

    Posted 31 May Link to this post

    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

     

     

     

     

  2. Vera
    Admin
    Vera avatar
    0 posts

    Posted 01 Jun Link to this post

    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!
  3. Padmashree
    Padmashree avatar
    9 posts
    Member since:
    May 2018

    Posted 04 Jun in reply to Vera Link to this post

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

    -

    Shree

     

     

  4. Answer
    Vera
    Admin
    Vera avatar
    0 posts

    Posted 04 Jun Link to this post

    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!
Back to Top