Framework information
Loadero supports writing the test script in the following frameworks to simulate participant actions:
In addition to the built-in commands in these frameworks, the Loadero team has implemented multiple additional custom commands that are at the user's disposal.
Available third party tools
Additional tools are pre-installed and available for use in the script. You do not have to add any import statements to the script, these imports are already handled in the background. Select the tab of the framework you are interested in to see the relevant tools.
- JavaScript + Nightwatch.js
- Java + TestUI
- Python + Py-TestUI
When scripting in Nightwatch.js, you will have access to the following tools:
- Node - v14.18.3
- crypto
- Other built-in Node modules have to be imported manually.
- NPM - v6.14.15
- jsonwebtoken as
jwt
- v8.5.1 - axios - v0.27.2
- moment - v2.29.4
- websocket-as-promised - v2.0.1
- websocket - 1.0.34
When scripting in TestUI, you will have access to the following tools:
- Maven - v3.9.0
- Java - v11.0.18
- java.io.*
- java.util.*
- java.net.*
- java.net.http.*
- java.nio.file
- Files
- Path
- Paths
- org.json.simple.* - v1.1.1
- parser.*
- org.yaml.snakeyaml.Yaml - v2.2.0
- com.auth0.jwt - v4.0.0
- algorithms.*
- exceptions.*
- interfaces.*
- impl.*
Available imports from the framework
While the section above details third-party tools, this section lists framework-specific imports that you are able to use in your scripts.
- JavaScript + Nightwatch.js
- Java + TestUI
- Python + Py-TestUI
There are no imports available from Nightwatch.js.
You can use the following imports from TestUI:
- Non-static
testUI.Configuration;
testUI.Utils.TestUIException
testUI.collections.UICollection
testUI.elements.UIElement
testUI.BrowserLogs
- Static
testUI.UIOpen.open
testUI.UIOpen.navigate
testUI.UIUtils.putLog
testUI.UIUtils.executeJs
testUI.Utils.AppiumHelps.sleep
testUI.Utils.By.*
testUI.elements.TestUI.E
testUI.collections.TestUI.EE
testUI.TestUIDriver.getSelenideDriver
testUI.TestUIDriver.setDriver
The following imports are already available when scripting in Py-TestUI, without having to import them yourself:
selenium.webdriver.common.keys.Keys
testui.support.testui_driver.TestUIDriver
testui.support.logger
testui.elements.testui_element.e
testui.elements.testui_collection.ee