Although not very well documented, ReadyApi gives users the possibility to use libraries (-ish). Those are very handy when you have similar steps that are repeating over multiple test cases and they serve at least 3 basic purposes:
less duplicate steps in your project
more clear project structure given by the reduction of test steps in a test case
ease in updating the project if something is to change at some point (because only the libary has to be edited - and not every test steps in particular where they are used)
2.Libraries in ReadyApi
Libraries in ReadyApi are just test cases which are run from another test case or test suite. Take this example:
In each step we want to first navigate to someDetails Sectionin a website and then check for name, ocupation etc. You can see in the picture above that the Steps in blue quadrants are repeating themselves over and over again which is something usually undesirable.
A cleaner way to do it would be to create aLibrariestest suite to hold any steps that are repeating in multiple places and/or are subject to future changes. In our case we would have a OpenDetailsSection test case:
Then we would simply make use of the 'Run TestCase' test step to run the OpenDetailsSection test case:
If my answer helped please click on the 'Accept as Solution' button.