robo_appian 0.0.2__py3-none-any.whl
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 robo_appian might be problematic. Click here for more details.
- robo_appian/__init__.py +11 -0
- robo_appian/utils/__init__.py +0 -0
- robo_appian/utils/components/ButtonUtils.py +72 -0
- robo_appian/utils/components/ComponentUtils.py +289 -0
- robo_appian/utils/components/DateUtils.py +130 -0
- robo_appian/utils/components/DropdownUtils.py +141 -0
- robo_appian/utils/components/InputUtils.py +189 -0
- robo_appian/utils/components/LabelUtils.py +40 -0
- robo_appian/utils/components/LinkUtils.py +41 -0
- robo_appian/utils/components/TabUtils.py +58 -0
- robo_appian/utils/components/TableUtils.py +187 -0
- robo_appian/utils/components/__init__.py +0 -0
- robo_appian/utils/controllers/ComponentDriver.py +91 -0
- robo_appian/utils/controllers/__init__.py +0 -0
- robo_appian/utils/exceptions/MyCustomError.py +6 -0
- robo_appian/utils/exceptions/__init__.py +0 -0
- robo_appian-0.0.2.dist-info/LICENSE +21 -0
- robo_appian-0.0.2.dist-info/METADATA +91 -0
- robo_appian-0.0.2.dist-info/RECORD +20 -0
- robo_appian-0.0.2.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: robo_appian
|
|
3
|
+
Version: 0.0.2
|
|
4
|
+
Summary: Automate your Appian code testing with Python. Boost quality, save time.
|
|
5
|
+
Author: Dinil Mithra
|
|
6
|
+
Author-email: dinilmithra@mailme@gmail.com
|
|
7
|
+
Requires-Python: >=3.12,<4.0
|
|
8
|
+
Classifier: Operating System :: OS Independent
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
12
|
+
Requires-Dist: numpy
|
|
13
|
+
Requires-Dist: requests (>=2.25.1,<3.0.0)
|
|
14
|
+
Requires-Dist: selenium (>=4.34.0)
|
|
15
|
+
Project-URL: Homepage, https://github.com/dinilmithra/robo_appian
|
|
16
|
+
Project-URL: Repository, https://github.com/dinilmithra/robo_appian.git
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
|
|
19
|
+
# Robo Appian
|
|
20
|
+
|
|
21
|
+
Python library for automating Appian web UI test cases!
|
|
22
|
+
|
|
23
|
+
# Modules
|
|
24
|
+
## Components
|
|
25
|
+
|
|
26
|
+
ButtonUtils: Find and click buttons.
|
|
27
|
+
DateUtils: Interact with date fields.
|
|
28
|
+
DropdownUtils: Interact with dropdowns.
|
|
29
|
+
InputUtils: Interact with input fields.
|
|
30
|
+
LabelUtils: Find labels.
|
|
31
|
+
LinkUtils: Click links.
|
|
32
|
+
TableUtils: Interact with tables.
|
|
33
|
+
TabUtils: Interact with tabs.
|
|
34
|
+
ComponentUtils: General utilities for components (input, dropdown, tab, etc).
|
|
35
|
+
|
|
36
|
+
## Controllers
|
|
37
|
+
|
|
38
|
+
ComponentDriver: High-level interface to execute actions on components.
|
|
39
|
+
|
|
40
|
+
## Exceptions
|
|
41
|
+
|
|
42
|
+
MyCustomError: Custom exception for specific error conditions.
|
|
43
|
+
|
|
44
|
+
# Usage
|
|
45
|
+
|
|
46
|
+
Import the utilities in your test scripts:
|
|
47
|
+
|
|
48
|
+
from robo_appian import (
|
|
49
|
+
ButtonUtils, ComponentUtils, DateUtils, DropdownUtils, InputUtils,
|
|
50
|
+
LabelUtils, LinkUtils, TableUtils, TabUtils
|
|
51
|
+
)
|
|
52
|
+
|
|
53
|
+
# Example: Set a Date Value
|
|
54
|
+
DateUtils.set_date_value("date_field_id", "2023-10-01")
|
|
55
|
+
|
|
56
|
+
# Example: Click a Button
|
|
57
|
+
ButtonUtils.click_button("submit_button_id")
|
|
58
|
+
|
|
59
|
+
# Example: Select a Dropdown Value
|
|
60
|
+
DropdownUtils.select_value("dropdown_id", "Option 1")
|
|
61
|
+
|
|
62
|
+
# Example: Enter Text in an Input Field
|
|
63
|
+
InputUtils.enter_text("input_field_id", "Sample Text")
|
|
64
|
+
|
|
65
|
+
# Example: Click a Link
|
|
66
|
+
LinkUtils.click_link("link_id")
|
|
67
|
+
|
|
68
|
+
# Example: Click a Tab
|
|
69
|
+
TabUtils.click_tab("tab_id")
|
|
70
|
+
|
|
71
|
+
# Example: Get a Table Cell Value
|
|
72
|
+
TableUtils.get_cell_value("table_id", 1, 2) # Row 1, Column 2
|
|
73
|
+
|
|
74
|
+
# Example: Get a Label Value
|
|
75
|
+
LabelUtils.get_label_value("label_id")
|
|
76
|
+
|
|
77
|
+
# Example: Get a Component Value
|
|
78
|
+
ComponentUtils.get_component_value("component_id")
|
|
79
|
+
|
|
80
|
+
# Example: Use the Component Driver
|
|
81
|
+
from robo_appian.utils.controllers.ComponentDriver import ComponentDriver
|
|
82
|
+
ComponentDriver.execute(wait, "Button", "Click", "Submit", None)
|
|
83
|
+
|
|
84
|
+
## Dependencies
|
|
85
|
+
|
|
86
|
+
Python >= 3.8
|
|
87
|
+
Uses selenium
|
|
88
|
+
|
|
89
|
+
## License
|
|
90
|
+
|
|
91
|
+
MIT License. See LICENSE.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
robo_appian/__init__.py,sha256=4pSYFFKgpWa9288-AzvWeATnCKkRy7zwFUjl9z-5FlY,598
|
|
2
|
+
robo_appian/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
robo_appian/utils/components/ButtonUtils.py,sha256=Go_F2yJbGHho06notteHU3kXAdpA9EvXw1zm4zp260s,2204
|
|
4
|
+
robo_appian/utils/components/ComponentUtils.py,sha256=-6CSRa2mBCPt9BrKXXO1cP6IsZ6Tle1X3rlfoJZlpjc,11779
|
|
5
|
+
robo_appian/utils/components/DateUtils.py,sha256=r-4XnuGwA_cSHjWQub7-qoQQ29eBsG14uumXZkXpcDI,4615
|
|
6
|
+
robo_appian/utils/components/DropdownUtils.py,sha256=GbH5iHvjunENhm5K4WUXEQhmsEtSBn54Z04Ow1QDEwE,6216
|
|
7
|
+
robo_appian/utils/components/InputUtils.py,sha256=AlVbSNMXgbGa1eoTWSGJlOoaQxZxgsSKkhsA__FHRVA,7032
|
|
8
|
+
robo_appian/utils/components/LabelUtils.py,sha256=5ovTy9OY-QtLS8UoBXeqi4MQDvlPqVWDnp7SIcXWkJw,1230
|
|
9
|
+
robo_appian/utils/components/LinkUtils.py,sha256=T7dJ5xSXp436VXhczWrQHC13L5wXTXxxgAvBdyKuYM4,1420
|
|
10
|
+
robo_appian/utils/components/TabUtils.py,sha256=_KsImdeVITxmotphaqVARwhOhAvs4CLWHlx9wr-qZTk,2070
|
|
11
|
+
robo_appian/utils/components/TableUtils.py,sha256=W-5fpjRStCmSLlryeHvBiOH83qCXNHgeVukMS3iAs6o,8276
|
|
12
|
+
robo_appian/utils/components/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
|
+
robo_appian/utils/controllers/ComponentDriver.py,sha256=Lzhlf7W85FjZn_0j9eybrgC8wSCzUEvsAbgbGNvTMLY,4128
|
|
14
|
+
robo_appian/utils/controllers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
|
+
robo_appian/utils/exceptions/MyCustomError.py,sha256=DVAkytXNNQNjqyTyCjk6FFd6fr3AsBe57Y19erDSqVs,222
|
|
16
|
+
robo_appian/utils/exceptions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
|
+
robo_appian-0.0.2.dist-info/LICENSE,sha256=g-xR4dRa9_4iFkMoJmED-wE-J5hoxbk3105Knhfpjm0,1068
|
|
18
|
+
robo_appian-0.0.2.dist-info/METADATA,sha256=fWsaoCIEmT_akMZtWC_Xdohimova8ynoQEIIcqr1PmI,2586
|
|
19
|
+
robo_appian-0.0.2.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
20
|
+
robo_appian-0.0.2.dist-info/RECORD,,
|