Showing posts with label TestComplete Test Execution. Show all posts
Showing posts with label TestComplete Test Execution. Show all posts

Scheduling TestComplete Runs

To Scheduling TestComplete runs, we can run TestComplete using any scheduling program and pass the appropriate command-line arguments to it. E.g. we can run TestComplete using the Windows Task Scheduler.

Steps:

• Select Scheduling Tasks in the Control Panel.
• Select “Add Scheduled Task”.
• Select “TestComplete” as the application to be run.



• On the last page of the Wizard, select the Open advanced properties for task check box and press Finish.
• In appeared dialog, open the Tasks tabbed page and specify the following command-line arguments in the Run edit box.

TestComplete_Installation_Path\Bin\TestComplete.exe full_path_to_project_file /r /e

or

TestComplete_Installation_Path\Bin\TestComplete.exe full_path_to_project_suite_file /r /e

E.g.:

"C:\ProgramFiles\AutomatedQA\TestComplete5Bin\TestComplete.exe" "C:\Work\TestComplete Projects\Darshika_Project\MyProject.pjs" /r /e

Integration of Test Complete with visual studio "Team Foundation Server"

The following illustration shows the process through which Testcomplete test results are generated, published, and eventually moved into the operational data stores and data warehouse of Team Foundation Server.

Following are the prerequisites to publish TC test results,

1. Get permission to TFS Server for Publishing results (In my experiment, I granted permission as Root Admin).
2. Get full access permissions for accessing Build Server and relevant project folder to access relevant builds. E.g. \\testtfs08\\
3. Get TestComplete installed on TFS server.

Steps:

A. Extending Visual Studio Tests with TestComplete Test Projects

Please See the below article
http://darshikaj.blogspot.com/2009/05/intergrate-testcomplete-test-with.html

B. Publish TestComplete Test Results to TFS Server

1. The first thing we will require to do is create a new build agent on the server. To do this you should right click on the ‘Builds’ node for your team project, then click ‘Manage Build Agents’. Once dialog comes up, click the ‘Add’ button which will bring us to the dialog below.



2. Share and grant full access permission to the project build repository defined below. (Minimum of Build Services group membership is required).

Intergrate TestComplete test with Microsoft Visual Studio Team system (Test Edition)

The following illustration shows the process through which Testcomplete test results are generated, published, and eventually moved into the operational data stores and data warehouse of Team Foundation Server.

A. Extending Visual Studio Tests with TestComplete Test Projects

1. Create a Test Script in TestComplete6.

2. Create a Test Project in Visual Studio 2008.

3. TestComplete includes a Visual Studio Team System integration package that adds a new test type “TestComplete6 test” to Visual Studio.



4. Add the TestComplete Test suite to the VS Test Project.



In this Visual Studio editor, we can specify the TestComplete project suite with the desired tests and select the specific test items to be executed.

5. Now switch to the Test List Editor panel in VS and select the TestComplete test for execution.



6. After Visual Studio finishes running the tests, we can view the results of the TestComplete test execution directly within Visual Studio,