Record a Web Test Case in SimplifyQA

Record and playback is a powerful feature that allows you to automate test cases by recording your interactions with an application and then replaying them.

This feature helps to quickly capture actions, generate scripts, and replay test scenarios without manual scripting.

In this section we will guide you through the process of recording a test cases on a web application within SimplifyQA.

Pre-Requisites

  • A clear understanding of the software feature or functionality you're testing.

  • Access to the project for which you want to create automation test case.

  • SimplifyQA Wizard needs to be installed and running. Learn how to setup Wizard here Setup QAWIzard.

How to Record a Web Test Case?

  • Launch the Recorder: Locate the recorder icon and select web to record a test case on a web application.

  • Define the Test Case Name: Provide the name of the test case and mention the URL of the application under test. Choose the browser.

  • Start Recording: Click on start recording. Begin interacting with the application you want to test. The recorder will capture your actions, including clicks, keystrokes, navigation, etc.

  • Double Shift for adding validations: While recording a test case, press the Shift key twice to open a pop-up displaying a list of available validations. You can select the appropriate validation from the list, which will then be recorded as a separate step in your test case within the tool.

  • Pause/Resume or Stop Recording: Navigate back to SimplifyQA once you've completed the desired actions, stop the recording. User can also choose to pause the recording and resume it again.

  • Review the Test Steps: Review the recorded steps. Object and parameters names would be automatically captured with appropriate names, if there are any existing object they will be reused. Data provided during the recording would also be captured in test data.

  • Define Test Case Details:

    • Specify the test case name and module and Save your test case. Learn how to organise and manage test cases here Organise your Test Cases.

    • Pre-requisites: Any setup or conditions required before executing the test case, you can mention them in the form of checklist.

    • User Story: If you are defining the test case for a user story, then you can select the user story. Learn more

    • Defect: If you are defining the test case for a defect, then you can select the defect in details section.

Frequently Asked Questions (FAQs)

Why am I not able to see web recording option in the recorder dropdown?
  1. You might not have license for web technology. Ensure you have procured license for the specific technology you want to automate.

  2. You might not have privilege to record a test case on web technology. Contact your adminstrator to enable the required privilege.

I am recording a test case but steps are not getting captured in SimplifyQA. Why?
  1. Your auth token might be expired. Go to My Profile -> Manage Account -> Security. Copy the machine registration token and locate the agent icon in system tray. Navigate to change environment and update the auth token.

  2. If you have access to multiple environments, make sure your token is updated in the Wizard and select the environment you are working on when you use automation featured.

During recording, the recording highlighter does not appear on the application under test?

Wait for the application to fully load and render all its components within the browser. If the issue persists for longer even after the application is loaded, try re-recording or refreshing the browser tab.

Browser does not launch when I initiate web recording. Browser opens and closes or doesn't open at all. Why?

When any browser drivers are updated automatically SimplifyQA makes it compatible to run the test cases on the latest version of the driver. If these drivers would not get auto-updated because of one of the below reasons:

  • The URL of the browser drivers which are used to download the drivers into the machine would not be accessible in your network. Accessing external URLs might be blocked by your organisation's security policy.

  • Downloading the drivers locally would be blocked on that particular machine. You can reach out to you system administrator to understand in detail.

Last updated