-
You can take a full advantage of the
ATMOSPHEREframework by using its distributed architecture.- You may execute the test remotely by changing the
IPon the@Serverannotation or create/modify theconfig.propertiesfile. To connect remoteAgentto aServeruserunAgentcommand with CLI arguments. - You may use the
Serverand theAgenton separate machines. - You can connect multiple agents to the
Server. EachAgentcan handle up to 14 devices.
- You may execute the test remotely by changing the
-
Use the
atmosphere-ui-viewerto dump the UI elements. Also you may find its remote control options useful.See: atmosphere-ui-viewer
git clone https://github.com/MusalaSoft/atmosphere-ui-viewer.gitcd atmosphere-ui-viewer./gradlew build(build the project)./gradlew run(starts the atmosphere-ui-viewer application) -
The VING Android App is actually a web view. You can use the
WebViewclass fromATMOSPHEREproject and debug the HTML withchrome://inspect/#deviceson Chrome browser.See: WebView usage
-
You can easy get a list of all available devices:
testBuilder.getAllAvailableDevices();. No need to executeadb devicecommand.ATMOSPHEREwill get all available remote devices for you. -
In some cases it is useful to have video records for the test execution on a device. Use
.startScreenRecording()and.stopScreenRecording()to record the device screen during the test execution. The records will be created on theScreenRecordsfolder on theAgentroot directory. Additionally you can create an FTP server and setupATMOSPHEREto use it. All the screen records will be automatically uploaded to the FTP Server (tested onvsftpd(recommended),ProFTPD,Windows IIS FTP,FileZilla).agent.propertiesfile: setftp.server = true(Agent directory)- set the
ftpserver.properties(Agent directory) - set the FTP connection properties -
config.properties(test project working directory)
-
Sometimes it is useful to see the remote device logCat. Use
.startLogcat(),.stopLogcat()for remote debugging and live logCat logging on the client's console.
Last active
July 19, 2017 11:19
-
-
Save dim4o/ca61ebd66615a0a1cc7d20e5c9d16cf2 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment