Saturday, August 1, 2015

EASY TO USE MONKEYTALK TEST SCRIPTS IN MULTIPLE SUB-FOLDERS

Suppose you have a project that have multiple Features. And you want to maintain test scripts for different features in different folders. This is a good practice but only problem is how to reuse script available in another folder.

You can achieve this by using TestLibrary. 

For example, you want to use Logout folder scripts in Login folder then you just need to select all required script from Logout folder and right click then select New -> TestLibrary. 
Then select the source folder [Login] where you want to create library by giving some logical name like TestLibrary_Logout.mtl

Now you can call logout.mt script available in Logout folder in login.mt (i.e. available in Login folder) as

Script louout.mt Run


Refer This for more details.

Happy Automation !!


No comments:

Post a Comment