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.
$ 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>
-
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
Not tested yet.
-
eu1.appium.testobject.com
-
Capabilities
-
Find Element By accessiblity ID
-
Click on element
-
Change context