Credential Screen

Overview

Whenever there is login screen in the application, user can use credential for adding username and password. By using enable credential in target system you can automatically create user name and password and also generated xpath which is required.

Credential list Hierarchy

Org Artefact -> Target system -> enable credential

Org Artefact -> credentials

  1. Enable credential in Target system
  2. Here you can enable credential checkbox and submit in target system. After submitting, we will automatically navigate to credential screen. In credential screen, we can create object for user name and password.

  3. Xpath required for login Page
  4. In target screen when you click on checkbox for credential. One more check box appear i.e., xpath required for login. Checkbox the xpath required for login and submit in the target screen.

  5. Create credential
  6. One more option is creating credential via credential screen. Go to ORG Artefact and click on credential -> create credential.

Pre-requisites

  1. Credential is added when there is login screen for any application.
  2. We have to create target system for the application which you want to automate and enable the credential.
  3. You can enable the xpath required for login if you want to automaticall generate xpath and add object and steps screen.

Enable credential in Target system

Here we are creating credential for Organgehrm website because to login to this website we require credential like username and password.

  1. Create target system OrgangeHrm
  2. Add system code and url of the website and enable the credential as shown in the above image
  3. Enable credential and click on submit
  4. Project and batch is created automatically
  5. Automatically create credential screen is open
  6. Click on Object of User name
  7. Click on create object
  8. Give username object details and click on create.
  9. You will navigate back to credential screen. Again click on Object of password.
  10. Repeat same steps to create password & login
  11. After adding objects, click on Object for username and select username.
  12. After adding objects, click on Object for Password and select Password object from the list.
  13. Add user name and password and click on create

Xpath required for login Page

Go to Artefact -> Target system -> create target system -> add system code and url and enable credential required and xpath required for login page.

  1. Project and batch created automatically with default values. Click on ok
  2. It will navigate to element extraction screen
  3. Select screen name, check box extract filtered objects download template.
  4. You will get filter file template
  5. Add username, password and login object name
  6. Click on choose file and select the updated filter file
  7. Enable Automatic creation of object and Steps and click on Submit.
  8. Automatically created
  9. Select header as breez automation file.
  10. Select Org Artefact and credential and create credential
  11. Click on Object for username and select username object
  12. Select username
  13. Select password
  14. Add username and password and click on create
  15. Successfully created

Create credential

Go to ORG Artefact -> credential -> create credential

Click on create

Note: Before add credential, You need to create object and steps as shown in the previous 4 and 5 topics.

  1. Select Object for username and password
  2. Create credential
  3. New credential is added
  4. Note: There can multiple username and password for the same application.