Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Qualitia supports Team City, a javaJava-based build management and continuous integration server. Integrating Team City helps you improve quality of software release with minimal efforts. Reports integrated with CI tools make it easy to analyze defects or failures with detailed information logs. These reports are available on demand and by emails upon completion of test executions. Its structured and web-based dashboards give you in-depth analytics of quality metric of the latest build or release.

...

In order to use TeamCity as the CI tool, you need to download and install some software packages that help you in executing test cases using Team City.

  1. Download TeamCity and JRE 6, 7/JDK 1.6, 1.7.
  2. Install downloaded JRE /JDK.
  3. Right-click TeamCity setup.exe and select Run as Administrator.
  4. Follow the instructions that appear on the screen.
  5. Post Team City installation, install Team City agent.
  6. Open the Run window, go to services.msc, and stop Team City agent service.
  7. Open the Command Prompt window as administrator and browse to the agent.bat file.
  8. Once the setup is complete, you will see message confirming Team City installation along with URL for further configuration (for example: http://localhost:<port defined while installation>).

...

  1. Click the project name on the top of the screen to view Project Settings.
  2. Click the Edit link adjacent to the build configuration created by you.
    General Setting screen is displayed.
  3. In the Artifact Paths field, type QualitiaReport// => Report{*}.
  4. Click Save.
  5. In the left pane, select Version Control Settings and click Attach VCS root button.
  6. In Type of VCS, select Subversion using the drop-down list.
  7. Enter VCS root name. VCS root ID is populated automatically.
  8. In the URL field, enter the SVN URL up to the parent folder where offline package is uploaded.
    Offline Package includes Offline.jar, all the other required files for Offline execution, and XML folder.
  9. Enter SVN Username and Password.
  10. Click Test Connection to test the SVN connection, and click Create.
  11. In the left pane, select Build Steps.
  12. Click the Add build step button.
  13. In the Runner Type field, select Command Line using the drop-down list.
  14. Enter Step name as per your requirements.
  15. In the Run field, select Custom Script using the drop-down list.
  16. In the Custom Script field, enter java -jar <qualitiaofflineJarFileName>.jar
  17. Click Save.
  18. Click the Add Build Step button.
  19. In the Runner Type field, select Command Line using the drop-down list.
  20. Enter Step name as per your requirements.
  21. In the Run field, select Executable with parameters using the drop-down list.
  22. In the Command executable field, enter %system.teamcity.build.workingDir%<followed by Offline Package path on SVN>.
  23. Click Save.

...

Here is an example of how to update the field value along with parameters and the syntax to be used, if the arguments value itself has space.
<path updated in the field>CaptureFailBitMap=False CapturePassBitMap=FalseCreateErrorLog=False sbrowsertype=firefox "xmlPath=f:\\TeamcityOffline
NewExec XMLs" ReleaseNum=2.01 ProjectName=offlinepack LogPath=argreport123
Note: Argument with value consisting space is updated within double inverted comma ("").