Features

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:

  1. Add driver.name=remotedrivername in either application.properties, env.properties or testrun_config.xml
    Where remotedrivername is either chromeRemoteDriver, firefoxRemoteDriver or another valid remote drivername.

  2. Set the remote.server to use the TestingBot Hub:


    remote.server="https://hub.testingbot.com/wd/hub"
  3. Specify the capabilities for your test. You'll need to specify this in the same file.


    chrome.additional.capabilities={'platformName':'WIN10', 'browserName':'Chrome','browserVersion':'latest'}
  4. Update the driver.name parameter in web.config


    <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>
  5. 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:


    java -jar testingbot-tunnel.jar key secret --tunnel-identifier myTunnel
  • Now you will need to specify the same tunnel-identifier in the capabilities, to let TestingBot know it should use the tunnel you just created:

    chrome.additional.capabilities={'platformName':'WIN10', 'browserName':'Chrome','browserVersion':'latest', 'tb:options': { 'tunnel-identifier': 'myTunnel' }}