Forum Discussion
HimanshuTayal
5 years agoCommunity Hero
sonya_m : Nice Question, which i was struggling when i started with ReadAPI as i was new i copied the same code again and again, but then on some blog i come around with below solution and with some modification i make it worked for me :)
In my current scenario, i have created 1 Resuable Test Suite, where i have placed all my reusable code in different Groovy Test Step. And i am calling those Steps where it is needed to me.
For the same, i am attaching 1 sample project which help other help seekers.
- nmrao5 years agoChampion Level 3May be you should start using script library. Reason is the same "Re-usability". In case if the same is required in multiple projects, it will end-up copying the same suite into multiple projects. This can be avoided by using above mentioned approaches.
- HimanshuTayal5 years agoCommunity Hero
nmrao : Yes you are right, i didn't think of it that i am copying same suite where ever i need it or in every project. Will remember this advice.
Thanks for letting me know. :)
Related Content
- 9 months ago
Recent Discussions
- 2 days ago
- 6 days ago