Forum Discussion
TestComplete provides an interface to execute ReadyAPI automated tests within the context of a TestComplete project. The intention is that the majority of the necessary configurations and such for the tests are handled within ReadyAPI. So, you would configured the different test cases in ReadyAPI and then call them from within TestComplete.
The trouble with this approach in my case is that I want to grab a unique id displayed in the GUI and pass it to my API request. Then continue to make GUI verifications. I'm unable to create a predefined ReadyAPI test with all the needed data up front.
My workaround is to pass data by writing to a file but it's less than ideal. I suppose I could move this variable to the project/global level but most tests will not use it.
- tristaanogre6 years agoEsteemed Contributor
I think that's your best bet, either a file or globally scoped variables.
Related Content
- 4 years ago
Recent Discussions
- 3 hours ago
- 6 days ago
- 10 days ago