Skip to main content

Calls

Test scripts are parsed and converted to pseudocode instructions by the Testabulous platform which are then executed by the runner. To help you understand what actions the runner can do, the following list shows which pseudocode instructions are supported. You can see how your test scripts are encoded into pseudocode by viewing them in your dashboard.

Tells the browser to navigate to the given absolute URL.

wait_for_navigation

Waits for the browser to finish navigating i.e. for document.readyState to be complete or interactive.

check_for_page_to_have_attribute

Tests to see if the page has the specified attribute i.e. the page title.

click_on_element

Click on the supplied element

enter_text_in_element

Populates an input control with the supplied text.

element_has_property_or_state

Tests to see if the specified element has the specified state (e.g. has a class or CSS property)

element_does_not_have_property_or_state

Tests to see if the specified element does not have the specified state (e.g. has a class or CSS property)

element_has_text

Tests to see if the specified element has the specified text.

wait_for_time_period

Waits for a specified time period. The period should be specied with units e.g. 10s for ten seconds.

check_url_path

Tests to see if the URL has the supplied path

wait_for_element_to_have_value

Waits until an element has a particular text value

store_value_in_variable

Stores a variable in the test context. See Variables.

load_value_from_environment_variable

Stores an environment variable in the test context. See Variables.

execute_script

Execute a script. See Scripts