Creating Automated Test Case in QLM



An automated test case is a predefined sequence of actions and expected outcomes that run automatically to verify software functionality. To enhance collaboration among testing and development teams in the organization, Opkey's QLM offers a Test section.


Here, you can create and execute test cases to identify bugs and assign tickets to developers. For example, you can create a test case to assess the functioning of a new Call to Action button on your application and assign any discrepancies to the developers in your team.


Automated test cases are vital for efficient, repeatable, and thorough software testing. They save time, reduce errors, aid in continuous integration, and ensure comprehensive coverage during the testing process to enhance overall software quality.


Opkey provides a user-friendly test recorder for capturing actions you perform in your application as test case steps. Testers can easily create both automated and manual test cases in QLM and link them to an existing milestone.



In this article, let's understand the process of creating automated tests in QLM by following the given steps.


1. Log in to the Opkey portal, navigate to the QLM tab in the left panel, and select Test



2. Click on the Create Test tab, and Select Automated Test Case. 




3. A new window opens on the right-hand side where you can add necessary details such as test case name, set priority, choose an assignee, and add a description of the test case. You can also scroll down on this page and add attachments like images, videos, text files, Excel files, etc. Once done, click the Create button at the bottom.



4. An empty test case gets created. Now, click on the Record icon and select the application-specific recorder.



 5. For example, to add steps for testing a web application, choose a web recorder as shown below.




6. Click the Start Recording button at the bottom of the pop-up window.


7. The Recorder window opens with a browser window where you can enter the URL for testing. After that, you can perform actions on the URL page, and the recorder will record them as steps. 


 


8. Once you have performed all the actions, click on the Stop and Save button on the top of the recorder window. 




9. As shown below, the steps are recorded in the test case. Further, we can use the Attach button at the top to add necessary attachments to the test case and use the Run button to execute and view its results.


For example, in the demo video at the start of this article, we signed into a demo web application and recorded the steps.


10. You can modify recorded test step data by selecting the three dots on the chosen test case step. 

From there, you can use options like 'Set Input Data', 
and execution settings (Continue on Error, Want Snapshot, Is Negative) to update input or output data and execution settings of steps. You can also delete a step if needed. 




11.  Once you click on Set Input data, a panel opens up on the right to enter the required data. Add the data and save it.



12. You can also add additional steps to your test case by selecting a step and clicking the Add Step button at the top. A new step gets added after the selected step.




Additional Features on the Test Case Page
On the test case page, you can link a user story, ticket, or test suite with your test case. This feature helps in linking all the related processes associated with the testing of a feature. Project managers or reviewers can also add comments or see audit trails at the bottom of the test case page.


Reviewers can also change the state of the test case by selecting an option from the dropdown present in the right panel of the test case page.



You can also add more sections at the bottom to add test case documents, integration mapping, or backup data.



You can delete, rename, cut, copy, export the test cases. You also get the option of creating a new folder in the Project Workspace.

 


You've reached the end of this article and are now well-prepared to create automated test cases in QLM. 

Explore, experiment, and achieve your testing goals with Opkey!

Ready to dive deeper? Check out the next article: Creating Manual Test Cases in Opkey.



 



 


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 at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article