ALM (Application Lifecycle Management) is a well-known Test Management tool and it helps you to maintain quality and control of app development. ALM is now integrated with OpKey Accelerator. By using it, users can map their OpKey Test Cases with the ALM Test plan or Requirement. The status of the mapped Test Plan or Requirement would be changed as per the result of the OpKey Test case. It also allows user to log an automatic bug in ALM, in case of failure of OpKey Test Case.
Need of ALM:
Managing the development of an application lifecycle is very important in the Agile environment. In order to maintain the quality and control app development, Agile teams require application lifecycle management software and ALM is one of the well-known tools in this category. It not only allows you to log bugs but much more than that. It facilitates you to create a Test Plan, Test Requirements, Test Sets, Test Runs, etc and map them with your Test Case. The mapped Test Plans, Test Requirements, and Defects get updated as per the execution result of your mapped Test Case. It ensures key tasks throughout the lifecycle are logged, completed and tested. By keeping these advantages in mind, ALM has now been integrated with OpKey Accelerator.
Getting started with ALM in OpKey Accelerator:
- Click on the Tools menu and then click on External Tool Integration.
External Tool Integration window opens. Check UseForTestManagement checkbox corresponding to QC/ALM Extension for OpKey and click on 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, Domain and Project Name fields appear.
You can apply QC/ALM Defect Settings from here. Click on the QC/ALM Defect Settings link.
QC/ALM Defect Settings page opens. You can add your own defect fields. If you want to link logged defects to be linked then check Defects to be Linked checkbox.
You need to fill Field Value so that defect can be logged on test failure. You can add new Field Names & Values by clicking on the Add button.
Let us initialize ALM Server on Internet Explorer (ALM support only IE).
While initializing ALM server on IE, you may come across security related issue. In order to fix it, you need to add ALM Server URL in the list of Trusted Sites in IE. To do so, follow the below given steps:
Navigate to the Tools (Alt+X) of IE, click on it and select Internet Options.
Internet Options window opens as follows:
Go to the Security tab, select Trusted Sites, click on Sites. List of Trusted Sites displayed here.
Enter the ALM Server URL and add it to the list of trusted sites and save it. Protected Mode should not be enabled. So, keep ‘Enable Protected Mode (requires restarting Internet Explorer) unchecked.’
Now, you can open your ALM Server on the Internet Explorer successfully.
Click on ALM Desktop Client, as shown below:
Enter valid ALM credentials and click on Authenticate.
Once, your ALM credentials have been authenticated successfully, Domain and Project fields get enabled.
Select Domain and Project from the dropdown list and then click on Login.
Your ALM Dashboard page opens.
Here, you can view few build Test Plans along with their details.
Here, you can view few build Requirement along with details.
Let us map a Test Case with the Test Plan and Requirement.
Here, you can view that a Business Component (BC1) has a test step which results fail. This Business Component (BC1) is mapped with a Business Process (BP1) which is added to a Test Case (TC01).
Here, Is Negative checkbox is checked which result execution result as Fail.
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 search fields and search. Click on Search to get list of Requirement(s).
Select the desired Requirement and click on the Apply Mapping Changes.
Here, you can view that the REquirement11 has been mapped with the test case successfully.
Let us now search Test Plan and map them with the Test Case. You can fill search fields and search. Click on Search to get list of Test Plans.
Select the desired Test Plan and click on the Apply Mapping Changes.
Here, you can view that the TestPlan01 has been mapped with the test case successfully.
Let us execute mapped Test Case which would get fail.
Click on Run Now, fill all required fields, check Show Advanced Settings checkbox and click on Next.
You can apply plugin settings from here. Click Next.
Check Update Mapped Test Management Artifact checkbox so that your mapped Test Plans/Requirements can be updated as per the test execution result. Click Next.
From here, you can add Session Tags.
You can apply Global Variables from here.
This Test Execution get fail, as expected.
Let us have a look at the logged defect:
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 have a look at the below screenshot showing Attachment of the Defect. 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 LInked Defects with the Requirements. Here, you can view the linked defects.
You can view the Attachment of the Defect, as shown below:
You can open Requirement Attachment file to view details:
The Test Case is now Passed Successfully. Here, you can view the execution result.
The status of the Test Plan get changed as per the test execution result. Here, you can view the last execution status as Passed.
Have a look at the Requirement details when mapped Test Case get passed. Here, you can view that current status is Passed.