Skip to content

Commit 5b23c8e

Browse files
author
Shauvik Roy Choudhary
committed
Updates config.yml
Auto commit by GitBook Editor
1 parent 4b09f4d commit 5b23c8e

File tree

2 files changed

+55
-3
lines changed

2 files changed

+55
-3
lines changed

README.md

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,48 @@
11
## Quick Setup
22

3+
**Mobile phone setup**
4+
35
* Ensure that the phone sleep mode is on.
4-
* adb is enabled on the machine. If typing "adb devices" on the shell returns a device, it is authorized.
6+
* adb is enabled on the machine. If typing "adb devices" on the shell returns a device, it is authorized.
7+
* Note down the "Device ID" after executing the following command
8+
* ```
9+
adb devices
10+
```
11+
12+
* Execute the following command in the shell
13+
* ```
14+
adb kill-server
15+
```
16+
17+
* Download [config.yml](/config.yml). Copy the "Device ID" in config.yml and save it.
18+
19+
**Docker setup**
20+
521
* Install docker with the following command.
622

7-
`sudo docker pull moquality/atest:0.331`
23+
* ```
24+
sudo docker pull moquality/atest:0.331
25+
```
826

927
* Run the following command to take you inside docker
1028

1129
```
1230
docker run -i -t --privileged -v /dev/bus/usb:/dev/bus/usb -v /home/archermind/.android:/root/.android moquality/atest:0.331
1331
```
1432

15-
* Once inside the docker, execute the run.py
33+
* Run the following command to obtain docker container id
34+
* ```
35+
docker ps
36+
```
37+
38+
* Copy the first four digits of container id and execute the following command where XXXX is the four digit container id
39+
* ```
40+
docker cp config.yml xxxx:config.yml
41+
```
42+
43+
Running the program
44+
45+
* execute the run.py
1646

1747
```
1848
cd /app

config.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
device_1: 063ebefaf0ddfb78
2+
3+
moq:
4+
api_server: "http://127.0.0.1:5000"
5+
api_key: "k347582vdg0rt7alo1586r2acak7kewu"
6+
options:
7+
use_cv: true
8+
9+
10+
testlink:
11+
url: "http://tl.moquality.com"
12+
key: "6d698f088a786126016440887694ef8e"
13+
user: "bot1"
14+
project: "Video Playback Testing"
15+
plan: "Videoplan"
16+
build: "NexusM"
17+
test: "archermind.video.yml"
18+
19+
20+
testcases:
21+
archermind.test.yml:
22+
filename: "patterns_base.mp4"

0 commit comments

Comments
 (0)