This repository has been archived by the owner on Mar 1, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 422
/
CHANGELOG
657 lines (622 loc) · 18.1 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
CHANGES
=======
* fix run in multi devices, close #117
* use // to divide, close #114
* fix bug of dead loop
* fix d.type for py3
* update install doc with new opencv
* update doc
* fix hot fix
* hot fix
* update atx-uiautomator version which fix resourcewarning in py3
* fix report click on py3
* add python3.4 auto test
* fix python3 not supported bug of ios
* re-instated copyright following BSD license (#113)
* update uiautomator requirements
1.1.1
-----
* take screenshot again when first failed
* remove useless blockly
* use ATX_CONNECT_URL env to pass connect_url
* add ATX_DEVICE_URL environment
* fix test of report
* change report save image from png to jpg to small report size
* add todo assert image exists
* fix travis
* fix travis
* run test on travis
* change upgrade pip
* test again
* update doc to help with virtualenv
* update error class name
* skip test because of missing opencv
* force test in every push
* move screenshot method into mixin
* comment windows support
* update requirements
* fix last fix
* update facebook wda deps
* ignore remove tmp file error, instead give a warn, close #69
* fix last update, some xiaomi machine fail to run uiautomator
* update atx uiautomator
* disable system encoding check
* update wda version
* update wda requirements
* add dump_view api
* use BytesIO instead of Image.load to make sure delete image file works
* adb install doesn’t accept parameters like ‘adb install -rt some.apk’, but ‘adb install -r -t some.apk’ just works fine. fix NetEaseGame/AutomatorX#100 (#101)
* fix screenshot error in py3, fix #98
* add python -matx doctor
* fix issue according to https://docs.python.org/2/library/subprocess.html#frequently-used-arguments
* make cli support py3, close #95
* remove all image_path relative code
* update facebook-wda requirements
* update report.info close #93
* add testerhome ios api link
* update doc
* fix all the python3 needed
* make it support python3
* add attach and activity params to chromedriver
* fix command line pipe error
* add chromedriver extension
* fix install command bad name
* update api doc
* fix report
1.1.0
-----
* remove watcher, add keep_screen to doc
* update facebook wda deps
* add adb shell input method back to atx
* update requirements
* update wiki with encoding, prepare for python3
* support auto find files with pattern: fight@auto.png
* update assert_ui_exists code, fix ios display()
* add ios support for assert_ui_exists
* fix session error
* do not add session when start
* add type for iOS support
* fix python -matx minicap install failed, because of minicap binary link gone
* update readme, close #82
* remove duplicate code
* add webdriver screenshot support
* quick horiable fix for android UIAutomator json rpc error
* sync wda code, close #79
* add assert_ui_exists api
* comment record(cmd) because of unstable
* change type error
* try to take screenshot again, when the first screenshot failed
* add screenshot flag
* finish assert support
* add assert_equal into report
* update atx-assistant url
1.0.14
------
* test push
* remove useless file
* fix quick start link
* also add imageio
* try to fix multi test file name conflict, ref #69
* add swipe to ios, close #68
* fix doc link
* add demo.gif
* update doc, .
* Update discuss group
* add qq group
* add mark_point method
* force use atx-assistant input method for function type
* remove useless files
* update doc again
* move some stuff to wiki
* remove history doc
* fix link again
* fix wiki link
* update readme, create the wiki
* change back of android uiautomator apk file
* fix Client.devices error when adb server restarts
* info添加截图功能
* update offset tests
* add delay param to click_image
* add profession doc about how to catch click_image error, close #60
* fix ios report
* match add rect
* add get top layer name for surfaceflinger-fps program
* add confidence and position for assert_exists, wait add safe=False
* report support asset_exists and click_nowait now
* add bootstrap fonts resouce
* add current_app for android
* add images tab & fix encoding
* fix decode error for log used in click_image
* fix offset bug, add match kwargs to add image operation method
* add atx.ImageCrop
* translate atx_click_image to python
* use local resources
* add match method for click_image
* update atx-assistant version to 1.0.2
* move click_image to save screen crop
* fix install twice android test apk, close #59
* add run/run_step for debug
* update requirements
* rename device folder to drivers, fix ios click image
* handle exception to avoid subprocess in android_hook cannot be killed
* use different scale for different screen size
* fix rotation for swipe
* fix rotation in webpage
* fix rotation (uiautomator use top-left as origin even when screen is rotated)
* fix screen2touch for rotated screen
* fix connect(None) raise error problem, update atx-assistant version to 1.0.1
* add edit-mode in record command
* add save in draft_editor
* create workdir if not exists
* update record command. record for android only
* make atx support facebook-wda report, close #36
* fix exception when passing port=None
* offset use percentage in atx_click_image
* add missing file
* add click/click_image interaction
* fix md type
* add desc args for click_image
* set adb_shell timeout default to 30s
* screencap add support to copy to clipboard, close #56
* add debug script
* fix clear_text error
1.0.13
------
* little update desc
* add atx assistant
* remove androguard from atx, and put androguard into pypi
* remove port restrict about atx gui
* fix when adb port default not 5037 error
* update drafte editor
* trace uinodes to change it according to it's order
* find ui by node index after modified case.json
* add process_case for modified case.json
* separate draft generate and code generate
* change find_selector priority
* add report test, part
* fix issue #48 screenrecord failure
* update windows install
* update wda deps
* remove useless doc
* little fix
* update documentation for ios
* use webdriveragent to support ios
* use timeout instead of while loop
* using while loop to check for index-uiobject
* analyze uixml to get ui selector
* fix Division Zero bug
* offset use percent and put it into filename like T30L20.png, close #39, close #46
* Update README.md
* update deps
* make uilayout attributes compatible with py-uiautomator
* add swipe & toolbar
* analyze guestures using regexp
* atx report support uiautomator
* short report code, capture screen before run click
* add named dict, update report ext structure
* fix #44
* add issue template
* add tornado web server draft_editor
* add missing images
* add adb 1.0.36 address, close #41
* add input_methods method, close #42
* add keep_screen and free_screen, close #43
* update again
* add design, which are not started
* add toolbar
* add wda doc
* codesign error, ..-_-!!
* -_-! webdriveragent why not stable
* update draft editor web
* add editor first edition
* clear_text add move_end
* format doc
* update readme doc
* update
* add input method detect
* fix report bug
* make ios test more stable
* fix utf7ime install
* add click_image( safe = True), also update report
* little modify
* finish ios install, some ios bug fix
* watch activity on android (lame way..)
* basic events recorder
* union touchups/moves/downs
* add ios documentation
* add timeout for queue post
* fix typo
* fix ios taskqueue, support nowait support
* use unix socket instead of port listen, because ios test can only run on mac
* generate draft from saved record frames
* support iphone6p and iphone5c
1.0.12
------
* fix all license
* update document
* fix dir
* remove uesless comment
* update license from mit to apache2
* fix taskqueue get timeout
* use task.queue instead of pipe
* finish atx.taskqueue
* refator record using addon-components
* remove adb2.py & device/android_minicap.py, add mixins for adbkit
* update web all use local js source in order to speed up browser load
* update doc
* add command python -matx info
* python -m atx gui add iOS support
* remember last save path for tkgui, close #35
* update opencv of qiniu address
* remove adb.py deps
* close #34
* fix rotation, close #33
* add start app support
* little fix
* add timeout
* remove uesless code
* refactoring. record screen + ui-hierarchy + user-input
* change layout for later analyze
* init ios click function
* fix type when wait_response returns None
* update desc
* add ios device for connect
* add ios automation doc
* ios support prepare script
* add gitter-travis integration
* fix spell error
* update doc of report
* add google analytics for report, fix d.serial return None bug, change report js to jsdeliver cdn
* remove useless files again
* remove useless files
* report add two api, info, error
* use flask ext method to extend atx ext
* update report.py but not yet tested, maybe caught something wrong
* fix gt
* click_image support long_click, close #29
* finish part of taskqueue
* update title
* follow DESIGN.md to finish taskqueue
* update name
* fix adbkit devices() bug, remove adb.py dependency from android.py
* remove useless print
* update doc
* fix forward, add performance collect use tencentGT
* add clean after minicap capture and some other correct
* fix ATX_ADB_HOST not working bug
* add a remote input gui
* add missing file
* update logo
* initialize eventhooks
* add placeholder to avoid memeory leak
* fix keycodes on windows
* remove popo
* add discuss group to readme
* fix #27
* add more functions
* fix agent broken pipe
* ios screenshot add rotate support
* close #22
* add ios screencap support
* add openstf service
* add logo
* update watch function
* update watch document
* add screenshot method to ioskit
* add packages function
* add python -matx version, close #25
* add uninstall command to adbkit, also with lot of comment
1.0.11
------
* adbkit add minicap support
* update docs
* add screencap to adbkit
* update docs
* add gitter.im support
* install minitouch along with minicap
* fix connect multi device, display return wrong
* prepare screencap
* remove useless code
* filename now can contains screen size, close #12
* update deps
* add screencap command
* initial adbkit python wrap
* make arg parser beautiful
* fix minicap params on SDK<=16
* fix rotationwatcher startup for SumSung GT-I9268
* add STFService.apk for stf support
* add a lame get_shell function to spare subprocess creation cost
* rename screen window
* add controls to screen command
* add draft
* add blueprint
* fix RotationWatcher.apk file path
* remove useless code again
* remove useless code
* fix PIL import error
* add click_image hook, also finish atx report
* add threshold support
* watch add raise_errors
* add web trigger
* report generate json also
* fix try catch
* add screen/screenrecord commands
* summarize all adb related functions to adb2.py
* add surfaceflinger which collect fps in a non root way
* release new tag
1.0.10
------
* update doc, add taskqueue for ios
* add report for atx
* add atx.yml runner
* add more hook_wrap
* move dep to their own
* use numpy version on pypi
* catch subprocess.CalledError and use new watch instead of old one
* use atx-uiautomator instead uiautomator
* use vue to toggle landscape
* more good structured web page
* fix touch position according to screen orientation
* add random contour monkey. use random contour rect
* add bruteforce monkey
* add start app after install
* merge type code, forgot when edited
* add monkey, even through not very stable
* save template mask
* rename device_mixin to mixin
* add keyevent api, type support space
* fix errors found by pyflakes
* add scene detector
1.0.9
-----
* update change log
* add ios utils
* update requirements
* change some method of adb to static
* make python -matx install some.apk support multi device
* fix progress
* install use tqdm as progress bar
* move image test functions in test_android to test_monkey
* move RotationWatcher.apk to vendor
* add monkey test
* add doc about install
* add apk install support
* add timeout events
* add guesture recognize structure
* let search search image support insteresting
* fix click_image not support Pattern(offset) error, and add relevant tests
* sort ui blocks by bounds area
* add record to commands: python -matx record
* add ui hook demo. may be used in record
* add minitouch input
* update qiniucdn address
* add minicap device used for record
* check download response code should be 200
* handle android input events
* add python -matx iosdeveloper support. close #13
* add for remember
* add click image support, close #10
* update badge
1.0.8
-----
* close #11, check adb device status, raise EnvironmentError in atx.connect if something went wrong
* support connect through env-var, close #11
* add ext
* add android recorder structure
* modify name
* merge from ssx
* split record to sub package
* add new favicon, close #7
* finish part of add_listener, add cloudtest log support
* merge sxx
* add refresh button to web ide
* merge from ssx
* merge from ssx
* add recorder runner
* add strutils.py in order to fix zh-simple encoding
* use self defined logging module instead of standlib logging
* merge code in company
* add save screen button
* prepare two position for console
* add how to design images and code storage to todo.md
* support stop run in browser
* add mouse move detect, change save debug code to no debug code
* change to python auto close blockly
* use canvas to show screen
* rename AirtestX to AuTo eXpress
* rename project
* generate py scripts
* handle touch event, find clicked object
* windows add screen_cv2 & make window foreground before capturing
* windows capture entire screen to avoid failing on opengl programs
* redirect output to webide
* use images before & after the click to find out the step
* handle touch input in background
* merge sxx
* recorder capture image in background
* add screen in webide
* record api change & merge sxx
* use ctypes instead of win32ui for screenshot
* add debug step by step support
* add simple python intepreter: python -matx run <filename>
* add websocket for atx webide
* add image_search variable and properties for android
* fix win32ui+tk.mainloop hangup
* add record command
* add record command
* add get properties for android
* merge ssx
1.0.7
-----
* add it inorder to pass
* add WatchItem
* update changelog
* resolution add assert check
* update documentation
* add update generate
* record test
* support save workspace
* add atx auto code converter
* update args ... match sphinx
* mock win32 modules
* update doc
* add feature title
* fix chinese encode error on webide
* merge wxx
* fix image in chinese path
* add search_path to DeviceMixin, change SyntaxError to TypeError
* fix merge error & relocate windows device
* merge from ssx
* move all platform device to directory device
* fix closure error
* add dummy device for test
* update todo for tomorrow
* add windows device support
* show images on the left
* remove adb code, add python -matx apkparse support
* add click doc
* add region support
* use screen if no window_name nor exe_file given
* update doc
* remove useless code
* move android code outof device.py
* fix rename error
* fix import error & change error name
* add image list in the left
* split android_code from atx.device.py
* move touch to base class
* add windows device api
* add adb forward, add blockly to tornado web
* use bootstrap to make atx webide beautiful
* add google analytics code
* update requirements
* add python -matx webide
* opencv install add win amd64 easy install method
* add resolution for Pattern, close #3
* depreciated sleep, use delay instead
* move all cli command to direcotry cmds
* fix instance bug
* watch object add func:do
* fix #1
* update secure of travis
1.0.6
-----
* Add desc how to install from source
* better uidump tkgui support
* UI detect update
* support ui dump in ide, which looks very nice
* add gui
* make tkgui save kindly
* add event listener
* update readme example resolution
* analysis all current screen size
* fix gui run code bug
* add parse ui node dump_nodes() function
* update desc
* add auto refresh support
* add screenshot button and d
* update change log
1.0.5
-----
* update ide screen
* add offset in Pattern, add screen_method_threshold and rotation config
* fix spell
* add todo
* add offset support not tested
* name change CommonWrap -> DeviceMixin
* add desc how to install minicap to phone
* add code generate insert code support
* add simulator to play test
* put refresh screen to a thread
* change gui style
1.0.4
-----
* fix tags
* fix stupid bug
* update license data
* fix connect remote device
* fix watch not click bug
* add docs
* mock some moduless
* remove cv2 deps
* add deps of cv2 and numpy
* fix again
* tr catch import for rth build ok
* update doc on rtd
* use click instead of touch
* update doc about ide
* finish the first tk ide
* add rectangle
* fix .
* update gui
* image funcs move to imutils.py
* add imutils
* fix bounds bug, and read_image bug
* add conf SCREENSHOT_METHOD_AUTO
* fix ide, but still now working in mac
* connect remove args needed, add is_app_alive func and last_screenshot prop
* update watch method, remove useless files
* screenshot return value change to PIL.Image, remove useless code
* remove log from base.py
* update pypi badge
* add pypi badge
1.0.3
-----
* update watcher api
* remove useless code
* remove useless file
* finish rebuild
* update doc
1.0.2
-----
* prepare to release
* remove skip
* add wlan_ip and some other methods
* comment useless functions
* fix connect remote device
* remove useless code
* match method
* update badge
* add watch timeout
* add simple ide
* fix readme
1.0.1
-----
* fix ..
* use atx name for airtestx
* add watcher
* add sleep
* a simple ide was born
* add minicap screenshot method support
* trigger readthedocs to build
* make some docs
* update doc use sphinx
* update link
* add start and stop app support
* add shell command
* prepare to add a simple ide
* ide ^_^
* add a very simple ide
* remove useless code
* add simple ide
* add version
* auto convert md to rst
* support multi publish
* fix travis add distributions
* fix travis again
* remove aircv for now
* update test requirements
* fix again
* fix travis yml
* add travis
* update travis
* add pbr requirements
* update dep again
1.0.0
-----
* update readme again
* fix typo
* support touch_image
* add touch_image prepare code
* restructure code
* initial commit