Forum Discussion

manishgi's avatar
manishgi
Occasional Contributor
8 years ago

How can we export test steps into a file (notepad) from setup scripts

Hello All

 

I am creating a setup script from soapui.

I am able to execute the test steps from setup tab of project and get the test case status.

 

Now problem is I need to export all test steps runtime properties in a file, so it be possible to save the request, properties, property transfer values, Groovy script result and JDBC step details in notepad from SOAP UI api.

 

Previously I had done it using batch file but now the issue is to create advance framework we are trying to fetch all values from within SOAP UI window only

 

Kindly suggest.

3 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    I believe that you should use the application appropriately, so that you do not run into such cases.

    For instance, setup script is meant for doing something to meet the predefined condition for the test case while automating the tests. And not meant for how you are currently using.

    If the software is used in the same fashion as it is intended, everything is smooth and generates test artifacts appropriately.

    By the way, if you can tell what are you trying to achieve, that would help to understand the problem better.
    • manishgi's avatar
      manishgi
      Occasional Contributor

      Hello Tanya

       

      I want to write the teardown script which will execute all test cases and save the output in notepad and after completing the execution html report will be generated to check the execution summary regarding all pass/fail.

       

      Kindly suggest.