Lesson 1: Create an application
In this lesson, you will learn how to create an application within your project to record a Web UI test for an HR management application. An application represents the web application that you want to test.
Before you begin
Ensure that you have completed all the Prerequisite tasks.
About this task
An application stores the URL and other related configuration details of the web application that you want to record and manage Web UI tests.
Before you create an application and continue with this tutorial, it is important to understand the concept of an edit branch and how it is used in DevOps Test Hub.
An edit branch is a temporary working branch that provides an isolated workspace for creating or modifying applications, tests, and test suites without impacting the master branch. Using an edit branch allows you to safely make, review, and validate changes before merging them into the master branch.
In this task, you will use an edit branch to create an application that you can use to record and manage Web UI tests.
Now, you can begin with the task after logging in to DevOps Test Hub and selecting the project. For example, myproj.
Procedure
-
Click .
The Test Editor page and Navigator panel are displayed.
-
Create an application by performing one of the following actions:
- Click the Action Menu icon and select Application.
- Right-click the project repository in the Test Navigator panel and select New Application.
- Click Create Application on the Test Editor page. This option is available only if no applications exist in the project.
If you are working on the master branch, the Edit Branch dialog is displayed.
-
Perform the following action to create and edit a branch and use it throughout
this tutorial:
- Click Create a new edit branch.
- Enter a branch name. For example, HRM_branch
- Click Save.
You have created the HRM_branch successfully, and the Create Application dialog is displayed. - Enter a unique name in the Name field. For example, HRM_application.
-
Click Create.
The application is successfully created, and the Details tab opens for further configuration.
- Enter the URL of the HR management application. For example, https://opensource-demo.orangehrmlive.com/web/index.php/auth/login.
- Enter a summary or relevant details about the application in the Description field.
- Click the Save icon to save the details.
Results
You have created an application successfully.
You have completed Lesson 1.