Kea2-python 0.3.3__tar.gz → 0.3.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of Kea2-python might be problematic. Click here for more details.
- {kea2_python-0.3.3 → kea2_python-0.3.4}/Kea2_python.egg-info/PKG-INFO +15 -5
- {kea2_python-0.3.3 → kea2_python-0.3.4}/PKG-INFO +15 -5
- {kea2_python-0.3.3 → kea2_python-0.3.4}/README.md +14 -4
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/assets/quicktest.py +1 -1
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/u2Driver.py +11 -3
- {kea2_python-0.3.3 → kea2_python-0.3.4}/pyproject.toml +1 -1
- {kea2_python-0.3.3 → kea2_python-0.3.4}/Kea2_python.egg-info/SOURCES.txt +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/Kea2_python.egg-info/dependency_links.txt +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/Kea2_python.egg-info/entry_points.txt +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/Kea2_python.egg-info/requires.txt +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/Kea2_python.egg-info/top_level.txt +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/LICENSE +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/__init__.py +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/absDriver.py +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/adbUtils.py +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/assets/fastbot-thirdpart.jar +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/assets/fastbot_configs/abl.strings +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/assets/fastbot_configs/awl.strings +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/assets/fastbot_configs/max.config +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/assets/fastbot_configs/max.fuzzing.strings +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/assets/fastbot_configs/max.schema.strings +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/assets/fastbot_configs/max.strings +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/assets/fastbot_configs/max.tree.pruning +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/assets/fastbot_configs/widget.block.py +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/assets/fastbot_libs/arm64-v8a/libfastbot_native.so +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/assets/fastbot_libs/armeabi-v7a/libfastbot_native.so +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/assets/fastbot_libs/x86/libfastbot_native.so +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/assets/fastbot_libs/x86_64/libfastbot_native.so +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/assets/framework.jar +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/assets/kea2-thirdpart.jar +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/assets/monkeyq.jar +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/bug_report_generator.py +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/cli.py +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/fastbotManager.py +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/keaUtils.py +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/kea_launcher.py +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/logWatcher.py +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/report_merger.py +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/resultSyncer.py +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/templates/bug_report_template.html +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/templates/merged_bug_report_template.html +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/utils.py +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/setup.cfg +0 -0
- {kea2_python-0.3.3 → kea2_python-0.3.4}/tests/test_u2Selector.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: Kea2-python
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.4
|
|
4
4
|
Summary: A python library for supporting and customizing automated UI testing for mobile apps
|
|
5
5
|
Author-email: Xixian Liang <xixian@stu.ecnu.edu.cn>
|
|
6
6
|
Requires-Python: >=3.8
|
|
@@ -39,6 +39,7 @@ The group has reached its capacity. Please contact Xixian Liang at [xixian@stu.e
|
|
|
39
39
|
<div align="center">
|
|
40
40
|
<a href="https://en.wikipedia.org/wiki/Kea">Kea2's logo: A large parrot skilled in finding "bugs"</a>
|
|
41
41
|
</div>
|
|
42
|
+
</br>
|
|
42
43
|
|
|
43
44
|
Kea2 is an easy-to-use tool for fuzzing mobile apps. Its key *novelty* is able to fuse automated UI testing with scripts (usually written by human), thus empowering automated UI testing with human intelligence for effectively finding *crashing bugs* as well as *non-crashing functional (logic) bugs*.
|
|
44
45
|
|
|
@@ -110,9 +111,10 @@ Find Kea2's options by running
|
|
|
110
111
|
kea2 -h
|
|
111
112
|
```
|
|
112
113
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
Upgrade Kea2 to its latest version if you already installed Kea2 before:
|
|
115
|
+
```bash
|
|
116
|
+
python3 -m pip install -U kea2-python
|
|
117
|
+
```
|
|
116
118
|
|
|
117
119
|
## Quick Test
|
|
118
120
|
|
|
@@ -239,7 +241,15 @@ For the preceding always-holding property, we can write the following script to
|
|
|
239
241
|
```
|
|
240
242
|
> We use [hypothesis](https://github.com/HypothesisWorks/hypothesis) to generate random texts.
|
|
241
243
|
|
|
242
|
-
You can run this example by using the similar command line in Feature 2.
|
|
244
|
+
You can run this example by using the similar command line in Feature 2.
|
|
245
|
+
|
|
246
|
+
## Test Reports(测试报告)
|
|
247
|
+
|
|
248
|
+
Kea2 automatically generates comprehensive HTML test reports after each testing session.
|
|
249
|
+
|
|
250
|
+
The reports support both single test runs and merged analysis of multiple test sessions, making it easy to track testing progress and identify issues.
|
|
251
|
+
|
|
252
|
+
- [View detailed test report documentation](docs/test_report_introduction.md)
|
|
243
253
|
|
|
244
254
|
## Documentations(更多文档)
|
|
245
255
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: Kea2-python
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.4
|
|
4
4
|
Summary: A python library for supporting and customizing automated UI testing for mobile apps
|
|
5
5
|
Author-email: Xixian Liang <xixian@stu.ecnu.edu.cn>
|
|
6
6
|
Requires-Python: >=3.8
|
|
@@ -39,6 +39,7 @@ The group has reached its capacity. Please contact Xixian Liang at [xixian@stu.e
|
|
|
39
39
|
<div align="center">
|
|
40
40
|
<a href="https://en.wikipedia.org/wiki/Kea">Kea2's logo: A large parrot skilled in finding "bugs"</a>
|
|
41
41
|
</div>
|
|
42
|
+
</br>
|
|
42
43
|
|
|
43
44
|
Kea2 is an easy-to-use tool for fuzzing mobile apps. Its key *novelty* is able to fuse automated UI testing with scripts (usually written by human), thus empowering automated UI testing with human intelligence for effectively finding *crashing bugs* as well as *non-crashing functional (logic) bugs*.
|
|
44
45
|
|
|
@@ -110,9 +111,10 @@ Find Kea2's options by running
|
|
|
110
111
|
kea2 -h
|
|
111
112
|
```
|
|
112
113
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
Upgrade Kea2 to its latest version if you already installed Kea2 before:
|
|
115
|
+
```bash
|
|
116
|
+
python3 -m pip install -U kea2-python
|
|
117
|
+
```
|
|
116
118
|
|
|
117
119
|
## Quick Test
|
|
118
120
|
|
|
@@ -239,7 +241,15 @@ For the preceding always-holding property, we can write the following script to
|
|
|
239
241
|
```
|
|
240
242
|
> We use [hypothesis](https://github.com/HypothesisWorks/hypothesis) to generate random texts.
|
|
241
243
|
|
|
242
|
-
You can run this example by using the similar command line in Feature 2.
|
|
244
|
+
You can run this example by using the similar command line in Feature 2.
|
|
245
|
+
|
|
246
|
+
## Test Reports(测试报告)
|
|
247
|
+
|
|
248
|
+
Kea2 automatically generates comprehensive HTML test reports after each testing session.
|
|
249
|
+
|
|
250
|
+
The reports support both single test runs and merged analysis of multiple test sessions, making it easy to track testing progress and identify issues.
|
|
251
|
+
|
|
252
|
+
- [View detailed test report documentation](docs/test_report_introduction.md)
|
|
243
253
|
|
|
244
254
|
## Documentations(更多文档)
|
|
245
255
|
|
|
@@ -24,6 +24,7 @@ The group has reached its capacity. Please contact Xixian Liang at [xixian@stu.e
|
|
|
24
24
|
<div align="center">
|
|
25
25
|
<a href="https://en.wikipedia.org/wiki/Kea">Kea2's logo: A large parrot skilled in finding "bugs"</a>
|
|
26
26
|
</div>
|
|
27
|
+
</br>
|
|
27
28
|
|
|
28
29
|
Kea2 is an easy-to-use tool for fuzzing mobile apps. Its key *novelty* is able to fuse automated UI testing with scripts (usually written by human), thus empowering automated UI testing with human intelligence for effectively finding *crashing bugs* as well as *non-crashing functional (logic) bugs*.
|
|
29
30
|
|
|
@@ -95,9 +96,10 @@ Find Kea2's options by running
|
|
|
95
96
|
kea2 -h
|
|
96
97
|
```
|
|
97
98
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
Upgrade Kea2 to its latest version if you already installed Kea2 before:
|
|
100
|
+
```bash
|
|
101
|
+
python3 -m pip install -U kea2-python
|
|
102
|
+
```
|
|
101
103
|
|
|
102
104
|
## Quick Test
|
|
103
105
|
|
|
@@ -224,7 +226,15 @@ For the preceding always-holding property, we can write the following script to
|
|
|
224
226
|
```
|
|
225
227
|
> We use [hypothesis](https://github.com/HypothesisWorks/hypothesis) to generate random texts.
|
|
226
228
|
|
|
227
|
-
You can run this example by using the similar command line in Feature 2.
|
|
229
|
+
You can run this example by using the similar command line in Feature 2.
|
|
230
|
+
|
|
231
|
+
## Test Reports(测试报告)
|
|
232
|
+
|
|
233
|
+
Kea2 automatically generates comprehensive HTML test reports after each testing session.
|
|
234
|
+
|
|
235
|
+
The reports support both single test runs and merged analysis of multiple test sessions, making it easy to track testing progress and identify issues.
|
|
236
|
+
|
|
237
|
+
- [View detailed test report documentation](docs/test_report_introduction.md)
|
|
228
238
|
|
|
229
239
|
## Documentations(更多文档)
|
|
230
240
|
|
|
@@ -52,7 +52,7 @@ class Omni_Notes_Sample(unittest.TestCase):
|
|
|
52
52
|
assert self.d(resourceId="it.feio.android.omninotes.alpha:id/search_src_text").exists()
|
|
53
53
|
|
|
54
54
|
|
|
55
|
-
URL = "https://
|
|
55
|
+
URL = "https://github.com/federicoiosue/Omni-Notes/releases/download/6.2.0_alpha/OmniNotes-alphaRelease-6.2.0.apk"
|
|
56
56
|
PACKAGE_NAME = "it.feio.android.omninotes.alpha"
|
|
57
57
|
FILE_NAME = "omninotes.apk"
|
|
58
58
|
|
|
@@ -220,7 +220,7 @@ class StaticXpathUiObject(u2.xpath.XPathSelector):
|
|
|
220
220
|
source = self.session.get_page_source()
|
|
221
221
|
return len(self.selector.all(source)) > 0
|
|
222
222
|
|
|
223
|
-
def __and__(self, value) -> '
|
|
223
|
+
def __and__(self, value) -> 'StaticXpathUiObject':
|
|
224
224
|
s = u2.xpath.XPathSelector(self.selector)
|
|
225
225
|
s._next_xpath = u2.xpath.XPathSelector.create(value.selector)
|
|
226
226
|
s._operator = u2.xpath.Operator.AND
|
|
@@ -288,7 +288,7 @@ class StaticXpathUiObject(u2.xpath.XPathSelector):
|
|
|
288
288
|
self.selector = new
|
|
289
289
|
return self
|
|
290
290
|
|
|
291
|
-
def get(self, timeout=None) -> "XMLElement":
|
|
291
|
+
def get(self, timeout=None) -> "u2.xpath.XMLElement":
|
|
292
292
|
"""
|
|
293
293
|
Get first matched element
|
|
294
294
|
|
|
@@ -343,7 +343,15 @@ class _HindenWidgetFilter:
|
|
|
343
343
|
self._nodes = []
|
|
344
344
|
|
|
345
345
|
self.idx = rtree.index.Index()
|
|
346
|
-
|
|
346
|
+
try:
|
|
347
|
+
self.set_covered_attr(root)
|
|
348
|
+
except Exception as e:
|
|
349
|
+
import traceback, uuid
|
|
350
|
+
traceback.print_exc()
|
|
351
|
+
logger.error(f"Error in setting covered widgets")
|
|
352
|
+
with open(f"kea2_error_tree_{uuid.uuid4().hex}.xml", "wb") as f:
|
|
353
|
+
xml_bytes = etree.tostring(root, pretty_print=True, encoding="utf-8", xml_declaration=True)
|
|
354
|
+
f.write(xml_bytes)
|
|
347
355
|
|
|
348
356
|
# xml_bytes = etree.tostring(root, pretty_print=True, encoding="utf-8", xml_declaration=True)
|
|
349
357
|
# with open("filtered_tree.xml", "wb") as f:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/assets/fastbot_libs/arm64-v8a/libfastbot_native.so
RENAMED
|
File without changes
|
{kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/assets/fastbot_libs/armeabi-v7a/libfastbot_native.so
RENAMED
|
File without changes
|
|
File without changes
|
{kea2_python-0.3.3 → kea2_python-0.3.4}/kea2/assets/fastbot_libs/x86_64/libfastbot_native.so
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|