Executing TestCases
Procedure
- Run the command prompt.
- Change the directory to $MQ_HOME\test\TestAutomation\FrameworkFiles\bin.
-
Type any of the following commands as per your requirement:
- For single test file or suite: TestManager.bat ProjectFolderName ConfigFileName. For example, TestManager.bat Sanity BasicSanity
- For multiple files or suites: TestManager.bat ProjectFolderName ConfigFile1:ConfigFile2:ConfigFile'n'. For example, TestManager.bat WS-Automation WS-AddRecord:WS-DeleteRecord:WS
- For running multiple suites from a file: TestManager.bat -file filename. For the file name, refer to the ProjectList.txt sample file located in the $MQ_HOME\test\TestAutomation\FrameworkFiles\config folder.
- For customized project: TestManager.bat <ProjectFolderName> <ConfigFileName> -soapProject <Custom SoapProject FileName>. For example, TestManager.bat Sanity BasicSanityNew -soapProject CIM-Test-CustomAutomation-soapui-project.
The TestCases are executed and a log file is generated in the log directory of the project. The response XML files are generated in the masterdata folder.
Copyright © Cloud Software Group, Inc. All rights reserved.