Skip to content
Vikram Ingleshwar edited this page Mar 7, 2019 · 2 revisions

Welcome to the AppiumSerenityPOC wiki!

serenitylabs

mvn verify -Dsaucelabs.target.platform=XP -Dwebdriver.driver=chrome -Dsaucelabs.driver.version=26 -Dsaucelabs.url=http://<my_id>:<my_API Key>@ondemand.saucelabs.com:80/wd/hub -Dsaucelabs.access.key=<My_API_Key> -Dsaucelabs.user.id=<my_id> -Dwebdriver.base.url=https://www.website.com -Dmaven.test.failure.ignore=true

mvn verify -Dsaucelabs.url=http://serenitylabs:129f4d2a-4626-4aca-825d-7eb9a0308a47@ondemand.saucelabs.com:80/wd/hub -Dsaucelabs.access.key=129f4d2a-4626-4aca-825d-7eb9a0308a47 -Dsaucelabs.user.id=serenitylabs -Dit.test=WineAppTest

mvn verify -Dsaucelabs.url=http://serenitylabs:129f4d2a-4626-4aca-825d-7eb9a0308a47@ondemand.saucelabs.com:80/wd/hub -Dsaucelabs.access.key=129f4d2a-4626-4aca-825d-7eb9a0308a47 -Dsaucelabs.user.id=serenitylabs -Dcucumber.options="src/test/java/resources/features/WineAppGettingStarted.feature"

mvn install ( in case you get weired erros https://stackoverflow.com/questions/13170860/failed-to-execute-goal-org-apache-maven-pluginsmaven-surefire-plugin2-10test )

mvn surefire:test -Dtest=WordPressAppTest -Dsaucelabs.url=http://serenitylabs:129f4d2a-4626-4aca-825d-7eb9a0308a47@ondemand.saucelabs.com:80/wd/hub -Dsaucelabs.access.key=129f4d2a-4626-4aca-825d-7eb9a0308a47 -Dsaucelabs.user.id=serenitylabs

serenitylabs / closet-fiducial-craze

curl -u serenitylabs:129f4d2a-4626-4aca-825d-7eb9a0308a47 -X POST -H "Content-Type: application/octet-stream" https://saucelabs.com/rest/v1/storage/serenitylabs/WordPress.zip?overwrite=true --data-binary @/Users/vikramanna/Documents/vikram/JoeUSA/serenity-core/serenity-appium/src/test/java/integration/resources/WordPress.zip

how to mention run locally or on saucelabs how to find if driver is local or cloud

mvn surefire:test -Dtest=WineAppCucumber -Dsaucelabs.url=http://serenitylabs:xxx@ondemand.saucelabs.com:80/wd/hub -Dsaucelabs.access.key=xxx -Dsaucelabs.user.id=yyy

/Users/vikramanna/Documents/vikram/serenity-core/serenity-appium/src/test/java/integration/resources

/Users/vikramanna/Documents/vikram/serenity-core/serenity-core/serenity-appium/src/test/java/integration/resources/WordPress.app

https://saucelabs.com/rest/v1/storage/serenitylabs/WordPress.zip?overwrite=true --data-binary /serenity-appium/src/test/java/integration/resources/

https://github.com/serenity-bdd/serenity-core/tree/master/serenity-junit/src/test/java/net/serenitybdd/junit/runners/integration

https://github.com/serenity-bdd/serenity-core/tree/master/serenity-core/src/test/java/net/thucydides/core/pages/integration

Clone this wiki locally