File tree 2 files changed +55
-3
lines changed 2 files changed +55
-3
lines changed Original file line number Diff line number Diff line change 1
1
## Quick Setup
2
2
3
+ ** Mobile phone setup**
4
+
3
5
* 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
+
5
21
* Install docker with the following command.
6
22
7
- ` sudo docker pull moquality/atest:0.331 `
23
+ * ```
24
+ sudo docker pull moquality/atest:0.331
25
+ ```
8
26
9
27
* Run the following command to take you inside docker
10
28
11
29
```
12
30
docker run -i -t --privileged -v /dev/bus/usb:/dev/bus/usb -v /home/archermind/.android:/root/.android moquality/atest:0.331
13
31
```
14
32
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
16
46
17
47
```
18
48
cd /app
Original file line number Diff line number Diff line change
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"
You can’t perform that action at this time.
0 commit comments