/copy-shop

Support tool to clone test reports

Primary LanguagePython

CopyShop

copyshop is a tool for the Sauce Labs support teams. It simply takes a test report URL and outputs a Java test script with the same capabilities as the original test.

Usage

$ pip install -r requirements.txt
...
$ SAUCE_USERNAME=<username> SAUCE_ACCESS_KEY=<access-key> python3 copyshop.py <sauce-labs-test-report-url>

Alternatively you can install using pip as package. While in the root dir:

$ pip install -e .
...
$ SAUCE_USERNAME=<username> SAUCE_ACCESS_KEY=<access-key> copyshop <sauce-labs-test-report-url>

Feature Support

Desktop Web

  • us-west-1 Datacenter

  • us-east-1 Datacenter

  • eu-central-1 Datacenter

  • Capabilities

  • Change URL

  • Find Element By XPath

  • Find Element By name

  • Click on element

  • Clear Element

  • Send Value to Element

  • Implicit Timeouts

Simulators/Emulators Web

Not tested yet.

Real Devices

  • eu1.appium.testobject.com

  • Capabilities

  • Find Element By accessiblity ID

  • Click on element

  • Change context