Commit Graph
100 Commits
Author SHA1 Message Date
debugtalk e6ce45b821 Merge pull request #1629 from httprunner/ios-pcap
- feat: log step elapsed in seconds
- feat: log uixt action elapsed in seconds
- change: log elapsed seconds for shell execution
- refactor: raise adb error
2023-06-28 21:02:13 +08:00
debugtalk 383263b44d Merge pull request #1608 from httprunner/fix-android-ui
v4.3.4 refactor android UI

- feat: add video crawler for feed and live
- feat: cache screenshot ocr texts
- feat: set testcase and request timeout in seconds
- feat: catch interrupt signal
- feat: add new exit code MobileUILaunchAppError/InterruptError/TimeoutError/MobileUIActivityNotMatchError/MobileUIPopupError
- feat: find text with regex
- feat: add UI ocr tags to summary
- feat: check android device offline when running shell failed
- refactor: replace OCR APIs with image APIs
- refactor: FindText(s) returns OCRText(s)
- refactor: merge ActionOption with DataOption
- change: exit with AndroidShellExecError code for adb shell failure
- change: request vedem ocr with uploading image
2023-05-31 20:56:56 +08:00
debugtalk 8864bce096 Merge pull request #1602 from test-instructor/fix_hooks
fix: dump request headers and params in hooks
2023-04-24 21:20:08 +08:00
debugtalk 357ac7f575 Merge pull request #1596 from ywanbing/feature-runner-ws
feat: inherit WS connections for referenced testcases
2023-04-19 15:59:43 +08:00
debugtalk 418321219b Merge pull request #1548 from test-instructor/fix_hooks
fix: setup hooks compatible with v3
2023-04-19 14:56:13 +08:00
debugtalk a19ba49de8 Merge pull request #1590 from ywanbing/fix_1547
fix: ref testcase, generate report failed (#1547)
2023-04-19 14:18:08 +08:00
debugtalk 53e1c4644e Merge pull request #1592 from ywanbing/fix_1468
fix: report html display the value of the url instead of variables
2023-04-18 20:39:17 +08:00
debugtalk 20fc465cf9 Merge pull request #1591 from ywanbing/fix_ws_close
fix: fast fail , not closing the websocket connection
2023-04-18 20:34:48 +08:00
debugtalk 72eae3a521 Merge pull request #1587 from httprunner/fix-android-ui
feat: add validator AssertAppInForeground and AssertAppNotInForeground
feat: save screenshots of all steps including ocr and cv recognition process data
2023-04-18 20:33:12 +08:00
debugtalk 04621c600f Merge pull request #1530 from httprunner/dependabot/pip/certifi-2022.12.7
build(deps): bump certifi from 2021.10.8 to 2022.12.7
2023-04-15 00:22:50 +08:00
debugtalk 87c35100d5 Merge pull request #1561 from httprunner/dependabot/go_modules/golang.org/x/text-0.3.8
build(deps): bump golang.org/x/text from 0.3.7 to 0.3.8
2023-04-15 00:21:49 +08:00
debugtalk 6bf5a87c20 Merge branch 'master' into dependabot/go_modules/golang.org/x/text-0.3.8 2023-04-15 00:21:17 +08:00
debugtalk 52016e1606 Merge pull request #1562 from httprunner/dependabot/go_modules/golang.org/x/net-0.7.0
build(deps): bump golang.org/x/net from 0.0.0-20220919232410-f2f64ebce3c1 to 0.7.0
2023-04-15 00:17:57 +08:00
debugtalk d28a624368 Merge pull request #1585 from httprunner/fix-android-screencap
refactor android screencap

- feat: add adb `screencap` sub command
- feat: add `IsAppInForeground` to check if the given package is in foreground
- feat: check if app is in foreground when step failed
- fix: take screenshot after each step
- fix: screencap compatibility for shell v1 and v2
2023-04-15 00:12:51 +08:00
debugtalk abdafa7dc4 Merge pull request #1584 from httprunner/gadb
replace gadb with optimized version authoried by @appl3s
2023-04-14 19:10:29 +08:00
debugtalk d552a14101 Merge pull request #1582 from httprunner/random_swipe
feat: random swipe with weight for multiple time ranges
2023-04-12 10:25:07 +08:00
debugtalk c4144caf50 Merge pull request #1559 from httprunner/random
sleep in random seconds
2023-02-13 22:36:54 +08:00
debugtalk 8f45cc2708 change: add test for sleep random 2023-02-13 22:35:34 +08:00
debugtalk dfa586abbd feat: add random builtin functions 2023-02-13 22:26:49 +08:00
debugtalk 8065703fa7 feat: sleep random seconds 2023-02-13 22:22:49 +08:00
debugtalk cca4bd7ae3 change: update logcat args 2023-02-13 21:47:53 +08:00
debugtalk 515623ea8b Merge pull request #1552 from bbx-winner/fix-adb
fix: err wrap and TapFloat

- 修复测试用例跑不通过 failfast 时,shell 退出码始终为 1 的问题
- 修复 adb 驱动,TapFloat 方法 options 未使用的问题
2023-01-30 10:54:12 +08:00
debugtalk 223537b4f3 Merge pull request #1541 from httprunner/gadb
feat: run Android UI automation with adb by default, add `uixt.WithUIA2(true)` option to use uiautomator2
2022-12-26 23:43:08 +08:00
debugtalk 50f2e7b672 feat: input text with adb 2022-12-26 22:15:40 +08:00
debugtalk daa90755b0 feat: run Android UI automation with adb by default, add uixt.WithUIA2(true) option to use uiautomator2 2022-12-26 21:57:47 +08:00
debugtalk 3dd09e5539 fix: specify uia2 ip and port 2022-12-26 20:22:59 +08:00
debugtalk a7180a2b8c fix: ignore failure when create UIAutomator session 2022-12-26 18:49:36 +08:00
debugtalk 651cbfa17e feat: run UI automation with adb for Android 2022-12-26 18:07:15 +08:00
debugtalk 9b081bff8b change: replace gadb log 2022-12-26 16:49:43 +08:00
debugtalk 869a1b59c3 Merge pull request #1540 from httprunner/convert
simplify
2022-12-26 11:32:44 +08:00
debugtalk 57afeadc26 fix: unittest 2022-12-26 11:20:32 +08:00
debugtalk 9ff44d0bad change: remove unused UI APIs 2022-12-26 00:15:43 +08:00
debugtalk a8101ca95a change: remove traceroute 2022-12-24 12:40:32 +08:00
debugtalk 5a37edaca1 change: remove curl 2022-12-23 18:58:06 +08:00
debugtalk 6d7cef6cac change: update README 2022-12-23 18:50:17 +08:00
debugtalk e4b251b552 feat: load from curl text files 2022-12-23 18:24:45 +08:00
debugtalk f3cb83910e fix: ensure HTTP request method in uppper case 2022-12-23 16:46:39 +08:00
debugtalk 79dc78218d fix: convert postman body in json 2022-12-23 14:03:53 +08:00
debugtalk ea014c0734 refactor: convert postman case 2022-12-23 12:28:29 +08:00
debugtalk 22a300d9b3 feat: capture pcap file with PID/ProcName/bundleID 2022-12-22 00:37:02 +08:00
debugtalk 2c1f98b1ef feat: add performance monitor for iOS, including CLI hrp ios perf 2022-12-16 16:08:50 +08:00
debugtalk 1aa342eff1 feat: capture pcap file for iOS, including CLI hrp ios pcap 2022-12-16 10:45:21 +08:00
debugtalk 0e0a4152cb refactor: results dir 2022-12-16 00:24:35 +08:00
debugtalk 088974ddee refactor: get current dir 2022-12-15 23:42:39 +08:00
debugtalk 961cc3489c refactor: ios perfd 2022-12-15 23:15:58 +08:00
debugtalk f4af2d131a feat: capture pcap file for iOS 2022-12-15 19:09:59 +08:00
debugtalk 1c8c3e0e80 Merge pull request #1531 from httprunner/wcl
release v4.3.1

- feat: add option WithScreenShot
- feat: run xctest before start ios automation
- feat: run step with specified loop times
- feat: add options for FindTexts
- refactor: move all UI APIs to uixt pkg
- docs: add examples for UI APIs
2022-12-14 14:54:58 +08:00
debugtalk 4ae9fd40c6 bump version to v4.3.1 2022-12-14 00:30:00 +08:00
debugtalk 94b17a97c9 refactor: move uixt API 2022-12-13 23:43:39 +08:00
debugtalk 1332e71258 change: add logs for loop index 2022-12-13 22:44:27 +08:00
debugtalk 839f94082a refactor: run step with specified times 2022-12-13 21:30:05 +08:00
debugtalk 3618db1e7d docs: update wcl, select match time 2022-12-03 00:18:45 +08:00
debugtalk 18cc7eb0c1 feat: run xctest before start ios automation 2022-12-01 22:36:44 +08:00
debugtalk e0fbab64fd docs: update wcl version 2022-11-30 23:42:28 +08:00
debugtalk 99fab3ae59 feat: catch kill signals 2022-11-29 23:34:56 +08:00
debugtalk 11baeb415f fix: set perf monitor interval for Sysmontap 2022-11-29 22:11:20 +08:00
debugtalk 32fa471f2c docs: add auto for wcl 2022-11-28 21:32:35 +08:00
debugtalk bf794e3955 refactor: enter live 2022-11-27 22:40:31 +08:00
debugtalk 548109ec72 change: perf monitor not set cpu/mem as default 2022-11-27 20:32:20 +08:00
debugtalk 7312d50a33 docs: enter WC live 2022-11-27 00:19:15 +08:00
debugtalk a64151361d change: rename DeviceLogcat to AdbLogcat 2022-11-26 22:21:17 +08:00
debugtalk a5e0ea2f11 docs: add perf monitor in example 2022-11-25 23:08:37 +08:00
debugtalk 0e8ce507c4 docs: add examples for API 2022-11-25 21:38:58 +08:00
debugtalk e745f4fdea feat: add option WithScreenShot 2022-11-24 20:23:09 +08:00
debugtalk e998d387c8 change: add options for FindTexts 2022-11-23 23:48:55 +08:00
debugtalk b9633638fa refactor: NewDataOptions and NewData 2022-11-23 23:36:52 +08:00
debugtalk 08fc2fbdd2 feat: get all ocr texts 2022-11-23 22:11:19 +08:00
debugtalk 992b1a29ce change: add image version 2022-11-23 20:33:30 +08:00
debugtalk da1dd26f3b change: filter non-usb ios devices 2022-11-23 18:19:53 +08:00
debugtalk 5e97351005 Merge pull request #1522 from httprunner/bugfix
fix: failed to catch logcat
fix: failed to find text in scope
fix: failed to set duration option of swipe action
change: add back action of mobile ui automation
fix: failed to set steps option of android swipe action
2022-11-10 13:19:38 +08:00
debugtalk deaf6a685e fix: ios mount 2022-10-27 23:12:32 +08:00
debugtalk 7088eb070e change: update tests 2022-10-27 22:03:16 +08:00
debugtalk aa966123bc fix: android by selector 2022-10-25 17:40:00 +08:00
debugtalk 7f4c3ae248 fix: set tcp keep alive 2022-10-25 15:13:02 +08:00
debugtalk efea3ba8a8 Merge pull request #1506 from httprunner/add-offset-to-tap
feat: support offset for tap point
2022-10-25 15:04:40 +08:00
debugtalk 5e1064f248 Merge pull request #1504 from httprunner/dev-v4.3
refactor: integrate with gidevice and gadb
2022-10-24 17:28:07 +08:00
debugtalk c8878c34b5 fix: parse error exit code 2022-10-24 17:03:47 +08:00
debugtalk d518def919 change: replace uuid lib 2022-10-24 10:52:57 +08:00
debugtalk b288a1945a refactor: merge opencv-helper 2022-10-23 23:19:54 +08:00
debugtalk 91626bcdd4 refactor: move gidevice to hrp pkg 2022-10-23 22:59:34 +08:00
debugtalk 896f39c3f2 refactor: move gadb to hrp pkg 2022-10-23 22:04:42 +08:00
debugtalk 6e1348dc1e Merge pull request #1503 from httprunner/bugfix
feat: support specify WDA_LOCAL_PORT and WDA_LOCAL_MJPEG_PORT in environment variables
2022-10-23 21:17:16 +08:00
debugtalk 1c80783c03 Merge pull request #1502 from httprunner/bugfix
fix: failed to record the android ui step type in the step result
2022-10-23 17:37:35 +08:00
debugtalk be8d8b5c5d fix: logs 2022-10-23 16:41:23 +08:00
debugtalk 3848c486be Merge pull request #1499 from httprunner/dev-v4.3
release v4.3, new support for iOS/Android UI automation test

- feat: support iOS UI automation with [WebDriverAgent]
- feat support Android UI automation with [uiautomator2]
- feat: integrage ios device management with [gidevice]
- feat: add specified exit code for different exceptions
- refactor: make boomer/uixt/httpstat as sub package
2022-10-21 22:29:13 +08:00
debugtalk a51c21b492 release v4.3.0 2022-10-21 22:22:00 +08:00
debugtalk c200ef6900 change: add exit code 2022-10-21 21:39:18 +08:00
debugtalk 4a8fcd4fd9 change: print hrp exit code 2022-10-21 16:00:25 +08:00
debugtalk 2656676386 change: update exit code 2022-10-21 15:17:29 +08:00
debugtalk 8947c0ad5a feat: add status code for mobile UI 2022-10-19 11:54:35 +08:00
debugtalk ec9b81ca2e refactor: CaseRunner and SessionRunner 2022-10-19 10:56:02 +08:00
debugtalk 59dd2c39d4 refactor: merge step variables with session variables 2022-10-18 20:56:46 +08:00
debugtalk 23abc56a82 refactor: update summary in controller 2022-10-18 16:07:21 +08:00
debugtalk c5f81f2593 fix: exit with code 2022-10-17 21:44:41 +08:00
debugtalk ceb4fa2ca9 feat: swipeToTapApp 2022-10-17 20:42:51 +08:00
debugtalk 30b153a43c fix merge 2022-10-17 17:10:53 +08:00
debugtalk 13076dda60 Merge branch 'dev-v4.3' of https://github.com/httprunner/httprunner into dev-v4.3 2022-10-17 16:46:42 +08:00
debugtalk 1adc529b18 Merge pull request #1498 from httprunner/dev-v4.3-bugfix
feat: get ocr position by given recognition area
2022-10-17 16:42:25 +08:00
debugtalk c033c8423a feat: add retry when requesting ocr service 2022-10-17 13:00:27 +08:00
debugtalk a413197ae6 fix: avoid data race for httpstat 2022-10-16 22:36:49 +08:00