Forum Discussion

CristianE's avatar
CristianE
Occasional Contributor
3 years ago

Wait for TestComplete Step to end

Hello, 

I recently started using ReadyAPI and I have a question about TestComplete Step

 

I added a TestComplete step to my ReadyAPI Test Case to prepare the environment for the next steps (restore database, run some SQL scripts etc) and I observed that ReadyAPI doesn't wait for TC test to end, but immediately moves on to the next step.

 

Is there a solution to wait for TestCase to be passed before moving on ?

 

Edit: Also, I observed that even if I have the "Automatically displays test results after the test run is over" unchecked, TestExecute will automatically open the test result (.mht) file at the end of execution. 

TestExecute and TestComplete versions: 14.81.217

ReadyAPI version: 3.30.0

 

Regards,

Cristian

 

 

  • Hello CristianE,

     

    I'm sorry you're running into this issue. I have found that it works more effectively to call your ReadyAPI project from TestComplete instead of the inverse. When you build your TestComplete test to prepare your environment, you can call the .xml file associated with your ReadyAPI project to execute the testcase. TestComplete will generate reports to the location of your choosing and include the API testresults in the test logs. 

     

    Let me know if this suggestion is helpful.

     

    Corey 

  • CoreyVernon's avatar
    CoreyVernon
    SmartBear Alumni (Retired)

    Hello CristianE,

     

    I'm sorry you're running into this issue. I have found that it works more effectively to call your ReadyAPI project from TestComplete instead of the inverse. When you build your TestComplete test to prepare your environment, you can call the .xml file associated with your ReadyAPI project to execute the testcase. TestComplete will generate reports to the location of your choosing and include the API testresults in the test logs. 

     

    Let me know if this suggestion is helpful.

     

    Corey 

    • CristianE's avatar
      CristianE
      Occasional Contributor

      Hi Corey,

       

      In the end, I went for this solution and it works fine. Thanks for the suggestion.

       

      As for the above problem (wait for TestComplete step to end), the problem is a known one and it is not a miss configuration on my part. Right? : D 

       

      Thank you!

       

      Cristian