Scriptless Web Test Case Writer

You are here:
< All Topics

A test case is a set of conditions that determine whether an application or one of its modules is functioning properly. You can write multiple test cases in a single module. Test cases are executed in alphabetically ascending order of their names.

Actions

These are the actions we use to write our test cases. The following are the definitions and a few examples of when each action would be used.

 

1. Wait For

TestGrid Scriptless Web Test Case Writer Dashboard 1

TestGrid Scriptless Web Test Case Writer Dashboard 2

    • This action is for Android, iOS, and Web.
    • This action will delay the test case for a specified amount of time (in seconds) or until a certain condition is met before continuing to the next step.

Tap on

TestGrid Scriptless Web Test Case Writer Dashboard 3

    • This action is for Android, iOS, and Web.
    • This action is used to Click on any element. We can also specify the number of taps and the number of touches to perform.

Check

TestGrid Scriptless Web Test Case Writer Dashboard 4

    • This action is for Android, iOS, and Web.
    • We can specify assertions using the Check action. It can “Check” if a specified condition is true. The check action will also “Check” the value of any element.

Start If, Start Else, End If

TestGrid Scriptless Web Test Case Writer Dashboard 5

    • This action is for Android, iOS, and Web.
    • This action works as a conditional IF and Else statement like in any other programming language. We can check if the element is visible before we perform the “tap on” action on it.

Scroll to

TestGrid Scriptless Web Test Case Writer Dashboard 6

    • This action is for Android, iOS, and Web.
    • This action is used to scroll the screen until the element is at the top of the screen.

Swipe

TestGrid Scriptless Web Test Case Writer Dashboard 7

    • This action is for Android, iOS, and Web.
    • This action is used to perform a directional swipe gesture. We can specify any of the four directions, and the swipe will happen in the middle of the screen.  We can also specify the container that we wish to swipe in.

Type In

TestGrid Scriptless Web Test Case Writer Dashboard 8

    • This action is for Android, iOS, and Web.
    • This action is used to type text in the text fields. The auto-hide keyboard feature can be set to true or false.

Variable

TestGrid Scriptless Web Test Case Writer Dashboard 9

    • This action is for Android, iOS, and Web.
    • This Action is used to declare a variable. We can also specify its datatype (String, integer or JSON)

Save to Variable

TestGrid Scriptless Web Test Case Writer Dashboard 10

    • This action is for Android, iOS, and Web.
    • This action is used to assign value to the already declared variable.

Repeat If,  End Repeat

TestGrid Scriptless Web Test Case Writer Dashboard 11

    • This action is for Android, iOS, and Web.
    • This action performs a repetitive action based on the condition set by the user.

Comment

TestGrid Scriptless Web Test Case Writer Dashboard 12

    • This action is for Android, iOS, and Web.
    • This action has no effect on the test case running. Commenting is used as a way to make notes for the user.

Call Test Functions

TestGrid Scriptless Web Test Case Writer Dashboard 13

    • This action is for Android, iOS, and Web.
    • This action calls a declared test function.

Call Network Assert

TestGrid Scriptless Web Test Case Writer Dashboard 14

    • This action is for Android, iOS, and Web.
    • This action calls the network assert test case inside the UI test case.

Clear Network Log

TestGrid Scriptless Web Test Case Writer Dashboard 15

    • This action is for Android, iOS, and Web.
    • This action ignores the network calls that were made prior to this step in the network assert test case.

Print Log

TestGrid Scriptless Web Test Case Writer Dashboard 16

    • This action is for Android, iOS, and Web.
    • This action will print the parameter you give it in the detailed log (ie: Typing “Hello World” will print “Hello World” in the detailed logs)

Increase

TestGrid Scriptless Web Test Case Writer Dashboard 17

    • This action is for Android, iOS, and Web.
    • This action increases the value of an integer variable.

Select

    • This action is only for Web.
    • This action is used to select text from a single element or multiple element list with text and index.

 

Switch to iFrame

    • This action is only for Web.
    • This action is used to switch to iFrame on web with the using frame ID and index.

 

Switch to Parent Frame

    • This action is only for Web.
    • This action is used to switch to Parent iFrame on web.

Switch to Default Content

    • This action is only for Web.
    • This action is used to switch to Default Content on web.

Switch to Tab

    • This action is only for Web.
    • This action is used to switching a tab on browser.

Open New Tab

 

    • This action is only for Web.
    • This action is used to open new blank tab on browser.

 

Right Click

    • This action is only for Web.
    • This action is used to perform mouse right click on the element.

 

Double Click

    • This action is only for Web.
    • This action is used to perform mouse double click on the element.

Click and Hold

    • This action is only for Web.
    • This action is used to perform click and hold action on element.

Type Encrypted

    • This action is only for Web.
    • This action is used to type text in the text fields with encrypted format. The auto-hide keyboard feature can be set to true or false.

 

Hover

TestGrid Scriptless Web Test Case Writer Dashboard 18

    • This action is only for Web.
    • This action is used to hover an element.

Write to CSV File

TestGrid Scriptless Web Test Case Writer Dashboard 19

    • This action is only for Web.
    • This action is used to write text in CSV. You can use select action or element or the text.

Declare

TestGrid Scriptless Web Test Case Writer Dashboard 20

    • This action is for Android, iOS, and Web.
    • This action is used to declare elements while writing test cases.

Take Full Screenshot

    • This action is only for Web.
    • This action allows you to take a full screenshot.

Press Key

    • This action is only for Web.
    • This action allows you to use the keyboard keys to press.

Test Functions

TestGrid Scriptless Web Test Case Writer Add Test Function Dashboard

    • Test Function is a set of commands that performs a specific action. You can create a Test Function of any repetitive actions.
    • Click on “Add Test Function” button

TestGrid Scriptless Web Test Case Writer Add Test Function Dashboard

    • If you have the same scenario in many test cases then you can create one function for that and use it in every test case.
    • Add a Test Function Name and Description.
    • Add steps.
    • Click on Update button.

Use Test Function In TestCase

TestGrid Scriptless Web Test Case Writer Add Test Function Dashboard

    • Open your test case.
    • Select the Call Test Function.
    • Now, you can see your test functions in the right field and select the function from the drop-down list.

 

 

 

 

 

 

 

 

 

 

 

 

Table of Contents