
Notes:
Function arguments aren't mandatory. You can also add them later by editing the test case details of that function. Learn more.
Files: Files are supported only for selected tasks. To access the saved files, type in the format files.<filename>.
Click Save, to save all changes or edits to the test case.

Note: Clicking on any another button without saving will remove all of the changes made to the test case. Unless the edits or changes are saved, you can't replicate the test case to the builder mode.
Builder mode
To start writing in builder, click Builder Mode.

Drag and drop the required tasks from the task panel (on the left) to the editor.

After adding the task, you need to provide the relevant parameters. Click on the argument placeholder on the right. The set expression pop-up contains an input field and provides the option to select the required elements, variables, files, or functions. The parameters can contain the following:

- Elements: Parameters for the interacted elements can be set in two ways. The first method involves manually hard-coding the locators by enclosing it with double quotes (" ") after inspecting the relevant webpage, web, or mobile applications. For example, to use the locator inside the task Click, enclose it in double quotes: click("#zs-guest-login")
Alternatively, testers can copy the required locators from the element option. Select the element name from the drop-down and choose the required locator. The locator gets auto-populated in the input field with the format: "ui.chrono_44.span".

Additionally, the Refer Elements option allows users to copy, edit, and create new elements. To copy or edit existing elements, select the webpage or application page name, and hover over the copy or edit icons for the required element. To create new elements, click +Add.

- Variables: The variable section includes a list of all global and environment variables, in addition to system variables that are present by default. Select the required variable or type in the format $<variable> inside the input field.
- Functions: Function can only be used as a parameter by using the call function task inside the required task. Call function is a drop-down in the case of builder mode. Select the desired function from the saved list of functions.
- Files: Uploaded files are accessible from the files section. Select the required file from the saved list of files.
Once the required parameters are applied, click Done. To save these changes or edits to the test case, click Save.
Test cases are now created using the editor or builder modes. To preview their real-time results, configure run and see their executions to review and analyze their functionality and behavior. Once the test cases are created and tested for their real-time behavior, you have the option to add them into a test suite and test plan, allowing you to evaluate their interactions with other functionalities and enabling scheduled testing.
- Live Preview
- Test Plans