Importing libaries

Copado Robotic Testing builds on open source technologies like Robot Framework, selenium, appium etc. Copado Robotic Testing comes with PaceWords implementation libraries for different platforms, which provide the same easy, maintainable syntax.

Copado Robotic Testing’s libraries solve common problems in test automation, for example:

  • Latency

  • Unexpected alerts

  • Different iframes

  • etc.

Testing using QWords mostly relies on UI texts and simulates what a human would do (for example click buttons/links, verify that something appears on screen). While we do support also using more complex locators like xpaths, css selectors or native object id’s, we strongly suggest using UI texts when possible; this reduces the maintenance effort needed.

PaceWords are implemented in 3 main libraries:

  • QWeb (for web automation)

  • QMobile (for mobile automation)

  • QVision (Computer vision library, for desktop automation and more)

To use any of Copado Robotic Testing’s libraries, you need to import it in your test script or resource file. For example:

Library   QWeb

# or

Library   QMobile

# or

Library   QVision

You can also import more than one of our libraries to same test suite / test case. For example:

Library   QMobile
Library   QVision

When multiple libraries implementing keywords with exact same name are used, you need to set the search order:

Set Library Search Order     QMobile

…​or call PaceWords with fully qualified name:

QMobile.ClickText     Home
QVision.ClickText     File

While PaceWords focus mostly on testing major platforms on UI level, you can in similar way import other robot framework’s built-in and third party libraries or even create your own custom library.

Library   OperatingSystem
If you want to use a library which has not been installed to cloud Pace, you can requests us to install it or install it by yourself using requirements.txt file