node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

appium-pcloudy

pCloudy-node-connector-test

  • Run Appium Automation over multiple devices of pCloudy.
  • Launches App and takes screenshot.
  • Know more about pCloudy www.pcloudy.com.

Install

npm init
 
npm install appium-pcloudy --save
 

Writing a script

 
//1: Create screenshot named folder.
//2: Create log named folder.
//3: config.json which has following fields.
//4: app file
{
  "desiredCapabilities": {
    "launchTimeout" : 90000,
    "CommandTimeout" : 600,
    "appPackage" : "###packagename##",
    "appActivity" : "###launchactivityname###",
    "rotatable" : true
  },
  "logLevel" : "verbose",
  "logOutput" : "./log/",
  "protocol" : "https",
  "host" : "device.pcloudy.com",
  "port" : 443,
  "coloredLogs" : true,
  "bail" : 0,
  "screenshotPath" : "./screenshot/",
  "screenshotOnReject" : false,
  "username" : "##pcloudyaccountid@###.com",
  "password" : "##api key##",
  "appname" : "###appname##.apkor###.ipa"
}
 
 
var appiumpCloudy = require('appium-pcloudy');
 
instance = new appiumpCloudy();
 
instance.appiumInterface('config.json');
 
 

More documentation

Known issues / limitations

  • test script

Contact us

Authors

License

The MIT License (MIT)

Copyright (c) 2017 pCloudy