Forum Discussion
nmrao
Champion Level 3
Hope you might aware of setup which is available at test case, suite and project levels. Can't you use that?
richie
4 years agoCommunity Hero
Hey rajs2020,
Im reiterating what Rao and Himanshu said. I have a number of disabled "setup" testsuites with steps to generate my environment specific variables (that get saved off as project level properties) and for esch functional testsuite i have a "setup" testcase (1st testcase in each functional testsuite) that uses the "Run testcase" step to execute the tests in the disabled "setup" testsuites to generate the latest versions of the dynamic data needed.
My functional testcases call the needed properties from the project level properties.
This is the approach i use in all my readyapi! projects now.
Ta
Rich
Im reiterating what Rao and Himanshu said. I have a number of disabled "setup" testsuites with steps to generate my environment specific variables (that get saved off as project level properties) and for esch functional testsuite i have a "setup" testcase (1st testcase in each functional testsuite) that uses the "Run testcase" step to execute the tests in the disabled "setup" testsuites to generate the latest versions of the dynamic data needed.
My functional testcases call the needed properties from the project level properties.
This is the approach i use in all my readyapi! projects now.
Ta
Rich
Related Content
- 11 years ago
- 12 years ago
Recent Discussions
- 5 days ago
- 9 days ago