-
You can take a full advantage of the
ATMOSPHERE
framework by using its distributed architecture.- You may execute the test remotely by changing the
IP
on the@Server
annotation or create/modify theconfig.properties
file. To connect remoteAgent
to aServer
userunAgent
command with CLI arguments. - You may use the
Server
and theAgent
on separate machines. - You can connect multiple agents to the
Server
. EachAgent
can handle up to 14 devices.
- You may execute the test remotely by changing the
-
Use the
atmosphere-ui-viewer
to 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.git
cd 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
WebView
class fromATMOSPHERE
project and debug the HTML withchrome://inspect/#devices
on Chrome browser.See: WebView usage
-
You can easy get a list of all available devices:
testBuilder.getAllAvailableDevices();
. No need to executeadb device
command.ATMOSPHERE
will 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 theScreenRecords
folder on theAgent
root directory. Additionally you can create an FTP server and setupATMOSPHERE
to use it. All the screen records will be automatically uploaded to the FTP Server (tested onvsftpd
(recommended),ProFTPD
,Windows IIS FTP
,FileZilla
).agent.properties
file: 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