Integeration with QC/ALM

Introduction


ALM (Application Lifecycle Management) a well-known test management tool that helps maintain the quality and control of app development can now be integrated with Opkey. Users can use it to map the requirements or test plans for ALM testing to their Opkey test cases. The outcome of the Opkey test case would modify the state of the mapped test plan or requirement. Additionally, if the Opkey test case fails, users can log an automated bug in ALM.

Getting started with ALM in Opkey Web:


ALM Configuration:

Click on the Tools menu and then click on External Tool Integration.



The External Tool Integration window opens. 

Check UseForTestManagement checkbox corresponding to QC/ALM Extension for Opkey and click on the Configure icon.



QC/ALM Settings window opens. Fill valid URL, Username, and Password of your ALM server and click on Authenticate.


Once, your credentials have been authenticated successfully, the Domain and Project Name fields appear.



You can apply Additional Settings from here. 



The Additional Settings page opens. Here, you can add your defect fields and values. If you want logged defects to be linked, check the "Defects to be Linked" checkbox. Fill in the Field Value so that the defect can be logged on test failure. Add new Field Names and Values by clicking on the + icon. 



To update the version, you can add ALM fields. Click to add the ALM field and you can select the required ALM field from the drop-down.


Let us initialize the ALM Server.

While initializing the ALM server in case you come across a security-related issue, you can add the ALM Server URL to the list of Trusted Sites in your browser. 


Mapping your ALM project to Opkey


Lets create a test plan and a requirement in ALM and then map it to Opkey

Go to your ALM.

Select Domain and Project from the dropdown list and then click on Login.

Your ALM Dashboard page opens.

Here, we have created a Test Plan and named it  'test plan' and 'try'.


and added Requirements named as 'radhe' and 'req2'.


Now Let us map a Test Case with the created Test Plans and Requirements on ALM.

For example - Here, you can see that the given Test Case would Fail as the mandatory Data Input Arguments are removed.



Right-click on the Test Case and select QC/ALM Mapping.


QC/ALM Filter page opens.

Let us first search Requirements and map them with the Test Case. You can fill in search fields and search. Click on Search to get a list of Requirements.




Here, you can see that there is a Requirement named radhe and try.



Select the Requirement and click on Apply Mapping Changes.


The mapping of Requirement with Test Case has been completed successfully. Now, the execution result of the mapped Test Case will affect the Requirement details.




You can hover your mouse on the Info icon under the Already Mapped column to view the mapped artifact details with the Requirement.



Similarly, you can search for the ALM Test Plans and map them with your Test Case.



Here, you can view the list of Test Plans as a search result.



Select the desired Test plans and click on Apply Mapping Changes to map them.


Mapping of the Test plan with Test Case has been completed successfully. Now, the execution result of the mapped Test Case will be reflected in the Test plan details. 


Executing the test case  to verify the result on ALM

Let us execute a mapped Test Case that would fail (as we have not provided mandatory Data Input Arguments).

Click on Run Now, fill in all required fields, check the Show Advanced Settings checkbox, and click on Next.

Now again Click on Next.


Check the Update Mapped Test Management Artifact checkbox so that your mapped Test Plans/Requirements can be updated as per the test execution result.



Click on Next.




Click on Finish to save the settings.



The execution process takes a while. Here, you can view the Execution Logs.



This Test Execution failed, as expected.



Now we can see that a defect has been logged as our test case failed.


Open this defect to view detailed information:


Have a look at the mapped Test plan and its information. It’s last execution status is Failed.


Here, you can view Associated Defects:


Here, you can also view Opkey Execution Results as its now integrated with ALM.


Viewing Opkey Execution Results in ALM


Here, you can have a look at the below screenshot showing Attachment of the Test Plan. This attachment file contains detailed information about the execution result in PDF format.


You can open Test Plan Attachment file to view details:



Have a look at the mapped Requirement and its information. It’s execution status is Failed.


Click on the Req. ID to open the Requirement. Here, you can view details of the Requirement.


You can view the Attachment of the Requirement as shown below:

You can open Requirement Attachment file to view details:


When the Test Case is Passed Successfully:



Have a look at the execution result as Passed.



The status of the Test Plan gets changed as per the test execution result. Here, you can view the last execution status as Passed.


You can have a look at the Attachment of the Test Plan.


You can open the Attachment file to view execution details.



Have a look at the Requirement details when the mapped Test Case gets passed. Here, you can view the current status as Passed.


Click on the Req. ID to open the Requirement. Here, you can view execution details.



Explore more Opkey features by clicking Here. 

To learn how you can use ALM with Opkey, you can visit https://university.opkeylms.com and enroll in our Opkey series course.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article