How can we export test steps into a file (notepad) from setup scripts
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Manishgi,
From my understanding, you will need to add the Script TestStep as the last step in your test case and write a Groovy script that will export all the data you need: http://readyapi.smartbear.com/structure/steps/script/groovy/example
Tanya Yatskovskaya
SmartBear Community and Education Manager
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Regards,
Rao.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
