GXtest Executor User's Manual
The component to be used from GXtest Manager to run the tests is available to run it from any external application. This can be invoked by command line, and this runs a Test Case, or a Task, and saves a file containing the result of the implementation.
Command Line Execution
ProxyExecutorService.exe {TaskId TaskInstance} | {ProjectName TestCaseName OutputPath ExecutorIP ExecutorPort}
For example, run:
cd 'C: \ Program Files \ Abstract \ GXTest Proxy' ProxyExecutorService.exe Ajax tc1 c: \ temp \ executorPC 6681
The Executor executes the test cases and stores in the path at least 2 files:
- tc1.xml
- tc1_detailed.xml
The first one simply says if it failed or passed for each of the steps. If some mistake were made, each command will have an "Error Detail. Additionally, on error, there are attached the response html of the application. You can see all this more detailed (parameters, input data, execution times, etc..) in the detailed file (tc1_detailed.xml).
An important difference to consider whether to run a Task and a Test Case is that when running a Test Case results are stored in XML files as explained above, and if you run a Task results are stored in the GXtest Manager database (typically called "GXtestRepository"). In addition, the Task specified must be valid to run (for example, the specified instance of the task must not have been executed).