Create Test

Welcome to the user documentation for creating a test using Qyrus component service. This guide will walk you through the steps to create a component test in Qyrus Application.

To create Component Test, log in to your Qyrus application.

Navigate to the Component Service from Side navigation bar.

Create Project or select any existing project, To learn more about creating Project click here.

Now, Inside project page click on Test button as shown in image below.

Test Page Navigation Image

Create Component Test

Inside the test page, To create a new test click on create Test Button - (2).

To navigate back use left arrow button - (6) in left side of screen.

To navigate to check all the executed test reports click on Report button - (4).

To check all the Schedule test click on schedule test button - (5).

If Execute test use Execute button - (3), more on this here

Test Page Navigation Image

After clicking on create test button, create test dialog window will appear, please fill all the details and click on **create test- (1) icon as shown in image below

Test Page Navigation Image

On project creation, newly created test will be added in test lists.

Here **Test Name, Test Description provides the name and description of test name and test description.

Component Linked provides with number of total scripts connected in test. To learn more on Linking scripts click here

Actions provides with options to edit, delete, clone and integrate with xray for selected test.

Go to test will navigate to Scripts Linking page

To search test use search bar-(5)

To execute single on multiple scripts, select the script and click on Execute button. On press of execute button,dialog box will appear, select execution configuration according to preference.

To learn more on execution configuration **click here

Test Page Navigation Image

Actions: Edit/Delete/Clone and Integrate with Xray

  • To edit, click on button - (1), Onclick a dialog box will appear, where user can modify test name, module name and test description.

  • To clone (provides capability to completely clone any test with the script linked), click on button - (2), your Scripts will be cloned and a success toast message will be shown

  • To delete, click on button - (3), user will be shown dialog box to confirm delete action, click Yes to continue and No to cancel.

  • Button (4) is used for Xray integration, To learn about Xray integration click here

Test Page Navigation Image

Scripts Linking Page

On Navigateing from create test page to Scripts Link page: User will be shown following screen, here in left Window, component all the approved imported scripts will be listed.

In case No script is present:

  • check if user have imported or created in script in import screen page or design page. learn more

  • check if user have got imported scripts approved from reviewer.learn more script linking page

Once imported scripts are present in left window, user can click Add icon to add scripts in right window, as shown in image below script linking page

Once user have added all the scripts to right window,

Click on Add connection - (6) to connect different scripts with arrow

To remove all the added scrips, press reset view button - (7)

To delete any script from right window view click on delete button - (5)

To execute the connected scripts:

  • save the scripts using save button - (1)

  • Now click on Next button - (2)

To learn more click on info button - (3)

Note :

  • scripts can not be self connected

  • For desktop service scripts, Scripts can either contain only Window Scripts or SAP scripts only

script linking page

Once user click on save button, you will shown a success toast to indicate your component is successfully saved as shown in image below - (1). Now you can click on next to verify and execute your script.

script linking page

Step Details Page:

In following screen user will be provided with, multiple option, let walk you through it: script linking page

XPath Extracter (1) is used to extract XPath from XML body, check here

JSON Path Extracter (2) is used to extract JSON Path from Json body, check here

Copy Files (3) is used to copy files from component

Left Arrow Button (4) is used to navigate back to script linking page.

Save files Button (5) is used to save any change in scripts

Run Button (6) is used to execute test, check here

Report (7) is used to navigate to reports page, info (8) is used to get information about test

Parameterization (9) is used to parameterize test.

Developer Mode (10) is a toggle used to edit script with/without developer mode

Edit Scripts without developer mode

Once you are in steps page you can scroll to check all the scripts connected are correct and update any field other that description.

  • description field cannot be edited

  • Any change in imported and connected scripts won't affect original script.

Edit Script with developer mode

Developer mode provide the feature to check and edit advanced field which used to locate, control data or any sensitive information which shoud be handle carefully.

To check and edit following fields: 'locatorType', 'locatorValue', 'controlType', 'coordinatesValue', 'dataValue', 'username', 'password', 'client', 'appPath', 'appTitle', 'property', 'propertyValue' in step which contains any of given value.

Toggle the Developer mode button.

Data Handlers:

Seamlessly exchange data among components using this feature, enabling smooth communication and data flow between different parts of your test.Follow the steps as shown below:

  • Scroll to the Step which contains the field By name 'Field name'.

  • Click on Field, and select the data available in the dropDown.

Note : Connected scripts should contain the 'create dynamic variable' where user have created dynamic varible.

Xpath Extractor

  • To Extract xpath from the XML body, please click on XPath extracter.

  • a dialog box will appear to input your xpath, click on extract button (1), which will extract xpath from your XML.

Json path Extractor

  • To Extract JSON response from Json body, please click on JSON extracter.

  • a dialog box will appear to input your JSON, click on extract button (1), which will extract response from your JSON body.

Test parameterization

  • When your tests require multiple iteration of dynamic input, leverage the parameterization feature. Download a template make the necessary adjustments, and effortlessly upload the updated file using the parameterization icon. This empowers to you test various schenerios with ease

Once user will execute test from execution window, user will be navigated to reports screen, where we provides data about executed test status and other parameter's such as video, pdf-report, images etc., click here learn more

Last updated