QMetry Automation Studio Multi-Property Editor

How to integrate QMetry6 Test Management Tool?

QMetry 6 integration require necessary properties which should be provided in application properties.

Following properties must be available in application properties.

integration.param.qmetry.service.url=

integration.param.qmetry.user=

integration.param.qmetry.pwd=

integration.param.qmetry.project=

integration.param.qmetry.release=

integration.param.qmetry.cycle=

integration.param.qmetry.build=

integration.param.qmetry.platform=

integration.param.qmetry.drop=

integration.param.qmetry.suitid=

or

integration.param.qmetry.suitrunid=

There are four possibility to integrate test case.

Scenario 1:

If suite_id and TC_ID are known then provide suite_id in application.properties.

For BDD:

Provide TC_ID by using tc_id. For Example,


SCENARIO: Sample
META-DATA: {"tc_id":"", "description":"Sample Description", "groups":["SMOKE"]}
       #write content here
END

For JAVA:


@QmetryTestCase(TC_ID = "your test case id")
public void sample() {
}

Scenario 2:

If suit_run_id and TC_ID are known then provide suite_id in application.properties.

integration.param.qmetry.suitid=

For BDD:

Provide TC_ID by using tc_id. For Example,


SCENARIO: Sample
META-DATA: {"tc_id":"", "description":"Sample Description", "groups":["SMOKE"]}
       #write content here
END

For JAVA:


@QmetryTestCase(TC_ID = "your test case id")
public void sample() {
}

Scenario 3:

If suit_id and TC_RUN_ID are known then provide suite_id in application.properties.

For BDD:

Provide TC_RUN_ID by using runId. For Example,


SCENARIO: Sample
META-DATA: {"runId":"", "description":"Sample Description", "groups":["SMOKE"]}

       #write content here
	   
END

For JAVA:


@QmetryTestCase(runId = "your test case run id")
public void sample() {
}

Scenario 4:

If suit_run_id and TC_RUN_ID are known then provide suite_id in application.properties.

integration.param.qmetry.suitid=

For BDD:

Provide TC_RUN_ID by using runId. For Example,


SCENARIO: Sample
META-DATA: {"runId":"", "description":"Sample Description", "groups":["SMOKE"]}
       #write content here
END

For JAVA:


@QmetryTestCase(runId = "your test case run id")
public void sample() {
}