Script Commands

  1. Home
  2. Knowledge Base
  3. Technical Support
  4. Script Commands

Switching windows and tabs

Switch to another window In some cases, the tested application will open a new window. For example, there are cases...

Environment variables

When starting an agent, testRTC provides some environment parameters to the agent that can be used in the script. To...

Common Nightwatch/Selenium commands

testRTC uses the popular Nightwatch/Selenium scripting language. For a complete reference of the Nightwatch API reference, please refer to http://nightwatchjs.org/api. Here...

Debug commands

testRTC gives you some useful debugging commands, making it easier to write test scripts and later on debug, analyze and...

Synchronization commands

testRTC offers powerful synchronization capabilities. These can be used to synchronize across the probes that are running within a given...

Timer commands

testRTC offers timing mechanisms, enabling you to time certain activities within your web service. With these, you can set expectations...

rtcActivateWebhook()

Invoke a REST/HTTP API to an external system. This can be used to interact with other systems that are not...

rtcSetTestExpectation()

Indicate expected outcome for the specific probe execution. This is used to decide if a test has successfully passed or...
  • 2

rtcSetNetworkProfile()

Change the network profile during a test run dynamically to simulate changing network conditions. Arguments: Name Type Description profile name...

Custom metrics commands

testRTC enables users to create custom metrics for test results. Since we can’t collect everything you have in mind, you...
Next Page »