QMetry
QMetry Automation Studio offers multi-language scripting to automated testing.
The product provides partial codeless automation, targetted to manual users or beginners.
The framework offers a test recorder which allows users to record test cases and generate code.
This guide documents how to use QMetry with TestingBot to run automated tests on various platforms.
Configuration
To get started with running a cloud test using QMetry, you'll need to specify some settings:
-
Add
driver.name=remotedrivernamein either application.properties, env.properties or testrun_config.xml
Whereremotedrivernameis either chromeRemoteDriver, firefoxRemoteDriver or another valid remote drivername. -
Set the
remote.serverto use the TestingBot Hub:Copyremote.server="https://hub.testingbot.com/wd/hub" -
Specify the capabilities for your test. You'll need to specify this in the same file.
Copychrome.additional.capabilities={'platformName':'WIN10', 'browserName':'Chrome','browserVersion':'latest'} -
Update the
driver.nameparameter inweb.configCopy<suite name="Web Test" verbose="0"> <test name="Web Test1" enabled="true"> <parameter name="driver.name" value= "chromeRemoteDriver"/> <packages> <package name="tests.web"></package> <package name="tests.web.*"></package> </packages> </test> </suite> -
You can now run the test from the command line. The test will run on the TestingBot browser grid.
TestingBot Tunnel
You can use TestingBot Tunnel to test websites that are not publicly available.
For example a webpage on your staging server, or local computer. To get started, please see the steps below:
-
Download and run TestingBot Tunnel with a specific tunnel identifier that you chose:
Copyjava -jar testingbot-tunnel.jar key secret --tunnel-identifier myTunnel -
Now you will need to specify the same
tunnel-identifierin the capabilities, to let TestingBot know it should use the tunnel you just created:Copychrome.additional.capabilities={'platformName':'WIN10', 'browserName':'Chrome','browserVersion':'latest', 'tb:options': { 'tunnel-identifier': 'myTunnel' }}