robo_appian 0.0.27__py3-none-any.whl → 0.0.34__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.
- robo_appian/__init__.py +4 -2
- robo_appian/components/ButtonUtils.py +127 -54
- robo_appian/components/DateUtils.py +54 -20
- robo_appian/components/DropdownUtils.py +61 -61
- robo_appian/components/InputUtils.py +51 -19
- robo_appian/components/LabelUtils.py +82 -26
- robo_appian/components/LinkUtils.py +58 -23
- robo_appian/components/SearchDropdownUtils.py +101 -47
- robo_appian/components/SearchInputUtils.py +89 -43
- robo_appian/components/TabUtils.py +71 -24
- robo_appian/components/TableUtils.py +68 -44
- robo_appian/controllers/ComponentDriver.py +65 -16
- robo_appian/exceptions/MyCustomError.py +13 -1
- robo_appian/utils/BrowserUtils.py +55 -16
- robo_appian/utils/ComponentUtils.py +102 -56
- robo_appian/utils/RoboUtils.py +64 -0
- {robo_appian-0.0.27.dist-info → robo_appian-0.0.34.dist-info}/METADATA +4 -2
- robo_appian-0.0.34.dist-info/RECORD +20 -0
- robo_appian-0.0.34.dist-info/licenses/LICENSE +201 -0
- robo_appian/components/__init__.py +0 -22
- robo_appian/controllers/__init__.py +0 -0
- robo_appian/exceptions/__init__.py +0 -0
- robo_appian/utils/__init__.py +0 -0
- robo_appian-0.0.27.dist-info/RECORD +0 -23
- robo_appian-0.0.27.dist-info/licenses/LICENSE +0 -21
- {robo_appian-0.0.27.dist-info → robo_appian-0.0.34.dist-info}/WHEEL +0 -0
|
@@ -2,16 +2,39 @@ from selenium.webdriver.support.ui import WebDriverWait
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
class BrowserUtils:
|
|
5
|
+
"""
|
|
6
|
+
Manage browser windows and tabs: switch between tabs, open new windows, and close tabs.
|
|
7
|
+
|
|
8
|
+
Use these utilities when your Appian automation spans multiple browser tabs or windows.
|
|
9
|
+
All methods follow the wait-first pattern: pass WebDriverWait as the first argument.
|
|
10
|
+
|
|
11
|
+
Examples:
|
|
12
|
+
>>> from robo_appian import BrowserUtils
|
|
13
|
+
>>> BrowserUtils.switch_to_Tab(wait, 1) # Switch to second tab
|
|
14
|
+
>>> BrowserUtils.switch_to_next_tab(wait) # Move to next tab
|
|
15
|
+
>>> BrowserUtils.close_current_tab_and_switch_back(wait) # Close and return
|
|
16
|
+
"""
|
|
17
|
+
|
|
5
18
|
@staticmethod
|
|
6
19
|
def switch_to_Tab(wait: WebDriverWait, tab_number):
|
|
7
20
|
"""
|
|
8
|
-
|
|
21
|
+
Switch to a specific browser tab by index.
|
|
22
|
+
|
|
23
|
+
Finds the tab by its position in window_handles and switches the driver context to it.
|
|
24
|
+
|
|
25
|
+
Args:
|
|
26
|
+
wait: WebDriverWait instance.
|
|
27
|
+
tab_number: Zero-based index of the tab to switch to (0 = first tab, 1 = second, etc.).
|
|
28
|
+
|
|
29
|
+
Returns:
|
|
30
|
+
None
|
|
31
|
+
|
|
32
|
+
Raises:
|
|
33
|
+
IndexError: If tab_number is out of range for available tabs.
|
|
9
34
|
|
|
10
|
-
:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
Example usage:
|
|
14
|
-
BrowserUtils.switch_to_Tab(wait, 1)
|
|
35
|
+
Examples:
|
|
36
|
+
>>> BrowserUtils.switch_to_Tab(wait, 0) # First tab
|
|
37
|
+
>>> BrowserUtils.switch_to_Tab(wait, 1) # Second tab
|
|
15
38
|
"""
|
|
16
39
|
|
|
17
40
|
# Switch to the specified browser tab
|
|
@@ -21,12 +44,19 @@ class BrowserUtils:
|
|
|
21
44
|
@staticmethod
|
|
22
45
|
def switch_to_next_tab(wait: WebDriverWait):
|
|
23
46
|
"""
|
|
24
|
-
|
|
47
|
+
Switch to the next browser tab in sequence.
|
|
25
48
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
49
|
+
Moves to the next tab after the current one. If already on the last tab,
|
|
50
|
+
wraps around to the first tab.
|
|
51
|
+
|
|
52
|
+
Args:
|
|
53
|
+
wait: WebDriverWait instance.
|
|
54
|
+
|
|
55
|
+
Returns:
|
|
56
|
+
None
|
|
57
|
+
|
|
58
|
+
Examples:
|
|
59
|
+
>>> BrowserUtils.switch_to_next_tab(wait) # Cycles through available tabs
|
|
30
60
|
"""
|
|
31
61
|
current_tab_index = wait._driver.window_handles.index(
|
|
32
62
|
wait._driver.current_window_handle
|
|
@@ -37,12 +67,21 @@ class BrowserUtils:
|
|
|
37
67
|
@staticmethod
|
|
38
68
|
def close_current_tab_and_switch_back(wait: WebDriverWait):
|
|
39
69
|
"""
|
|
40
|
-
|
|
70
|
+
Close the current browser tab and return to the previous tab.
|
|
71
|
+
|
|
72
|
+
Useful when Appian navigation opens a link in a new tab and you need to
|
|
73
|
+
close it after completing an action. Automatically switches back to the
|
|
74
|
+
previous tab index.
|
|
75
|
+
|
|
76
|
+
Args:
|
|
77
|
+
wait: WebDriverWait instance.
|
|
78
|
+
|
|
79
|
+
Returns:
|
|
80
|
+
None
|
|
41
81
|
|
|
42
|
-
:
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
BrowserUtils.close_current_tab_and_switch_back(wait)
|
|
82
|
+
Examples:
|
|
83
|
+
>>> # Open a new tab, perform actions, then close it
|
|
84
|
+
>>> BrowserUtils.close_current_tab_and_switch_back(wait)
|
|
46
85
|
"""
|
|
47
86
|
current_tab_index = wait._driver.window_handles.index(
|
|
48
87
|
wait._driver.current_window_handle
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
1
|
import tomllib
|
|
3
2
|
from pathlib import Path
|
|
4
3
|
from selenium.common.exceptions import NoSuchElementException
|
|
5
|
-
from selenium.webdriver import ActionChains
|
|
4
|
+
from selenium.webdriver.common.action_chains import ActionChains
|
|
6
5
|
from selenium.webdriver.common.by import By
|
|
7
6
|
from selenium.webdriver.common.keys import Keys
|
|
8
7
|
from selenium.webdriver.support import expected_conditions as EC
|
|
@@ -12,17 +11,19 @@ from selenium.webdriver.support.ui import WebDriverWait
|
|
|
12
11
|
|
|
13
12
|
|
|
14
13
|
class ComponentUtils:
|
|
15
|
-
|
|
14
|
+
|
|
16
15
|
@staticmethod
|
|
17
16
|
def get_version():
|
|
18
17
|
try:
|
|
19
|
-
|
|
18
|
+
# pyproject.toml lives at the repo root (two levels above package dir)
|
|
19
|
+
toml_path = Path(__file__).parents[2] / "pyproject.toml"
|
|
20
20
|
with open(toml_path, "rb") as f:
|
|
21
21
|
data = tomllib.load(f)
|
|
22
|
-
|
|
22
|
+
# Poetry-managed projects store version under [tool.poetry]
|
|
23
|
+
return data.get("tool", {}).get("poetry", {}).get("version", "0.0.0")
|
|
23
24
|
except Exception:
|
|
24
25
|
return "0.0.0"
|
|
25
|
-
|
|
26
|
+
|
|
26
27
|
@staticmethod
|
|
27
28
|
def today():
|
|
28
29
|
"""
|
|
@@ -67,30 +68,68 @@ class ComponentUtils:
|
|
|
67
68
|
xpath = ".//button[@class='child']"
|
|
68
69
|
child_component = ComponentUtils.findChildComponentByXpath(wait, parent_component, xpath)
|
|
69
70
|
"""
|
|
70
|
-
|
|
71
|
-
component = wait.until(lambda comp: component.find_element(By.XPATH, xpath))
|
|
72
|
-
except Exception:
|
|
73
|
-
raise Exception(
|
|
74
|
-
f"Child component with XPath '{xpath}' not found within the given parent component."
|
|
75
|
-
)
|
|
71
|
+
component = wait.until(lambda comp: component.find_element(By.XPATH, xpath))
|
|
76
72
|
return component
|
|
77
73
|
|
|
78
74
|
@staticmethod
|
|
79
75
|
def findComponentById(wait: WebDriverWait, id: str):
|
|
80
|
-
|
|
81
|
-
component = wait.until(EC.presence_of_element_located((By.ID, id)))
|
|
82
|
-
except Exception:
|
|
83
|
-
raise Exception(f"Component with ID '{id}' not found.")
|
|
76
|
+
component = wait.until(EC.presence_of_element_located((By.ID, id)))
|
|
84
77
|
return component
|
|
85
78
|
|
|
86
79
|
@staticmethod
|
|
87
80
|
def waitForComponentToBeVisibleByXpath(wait: WebDriverWait, xpath: str):
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
81
|
+
"""
|
|
82
|
+
Wait for an element to be visible and return it.
|
|
83
|
+
|
|
84
|
+
Used internally by all utilities to locate elements. Waits up to the WebDriverWait
|
|
85
|
+
timeout for an element matching the XPath to be both present in DOM and visible.
|
|
86
|
+
|
|
87
|
+
Args:
|
|
88
|
+
wait: WebDriverWait instance.
|
|
89
|
+
xpath: XPath expression to find the element.
|
|
90
|
+
|
|
91
|
+
Returns:
|
|
92
|
+
WebElement: The element once it becomes visible.
|
|
93
|
+
|
|
94
|
+
Raises:
|
|
95
|
+
TimeoutException: If element not visible within timeout.
|
|
96
|
+
|
|
97
|
+
Examples:
|
|
98
|
+
>>> elem = ComponentUtils.waitForComponentToBeVisibleByXpath(
|
|
99
|
+
... wait, "//span[text()='Loading']")
|
|
100
|
+
"""
|
|
101
|
+
component = wait.until(EC.visibility_of_element_located((By.XPATH, xpath)))
|
|
92
102
|
return component
|
|
93
103
|
|
|
104
|
+
@staticmethod
|
|
105
|
+
def waitForComponentToBeInVisible(wait: WebDriverWait, component: WebElement):
|
|
106
|
+
wait.until(EC.staleness_of(component))
|
|
107
|
+
|
|
108
|
+
@staticmethod
|
|
109
|
+
def waitForComponentNotToBeVisibleByXpath(wait: WebDriverWait, xpath: str):
|
|
110
|
+
"""
|
|
111
|
+
Wait until the element identified by the given XPath is no longer visible.
|
|
112
|
+
This function uses the provided WebDriverWait instance to poll for the
|
|
113
|
+
invisibility (or absence) of the element located by the given XPath.
|
|
114
|
+
The behavior (timeout and polling interval) is determined by the
|
|
115
|
+
configuration of the supplied WebDriverWait.
|
|
116
|
+
Parameters
|
|
117
|
+
----------
|
|
118
|
+
wait : selenium.webdriver.support.wait.WebDriverWait
|
|
119
|
+
A WebDriverWait instance configured with the desired timeout and polling settings.
|
|
120
|
+
xpath : str
|
|
121
|
+
The XPath expression used to locate the target element.
|
|
122
|
+
Returns
|
|
123
|
+
-------
|
|
124
|
+
bool
|
|
125
|
+
True if the element became invisible or was removed from the DOM before the wait timed out.
|
|
126
|
+
Raises
|
|
127
|
+
------
|
|
128
|
+
Exception
|
|
129
|
+
If the element does not become invisible within the wait timeout or another error occurs while waiting.
|
|
130
|
+
"""
|
|
131
|
+
return wait.until(EC.invisibility_of_element_located((By.XPATH, xpath)))
|
|
132
|
+
|
|
94
133
|
# @staticmethod
|
|
95
134
|
# def waitForComponentToBeVisibleByXpath(wait: WebDriverWait, xpath: str):
|
|
96
135
|
# """
|
|
@@ -113,14 +152,13 @@ class ComponentUtils:
|
|
|
113
152
|
@staticmethod
|
|
114
153
|
def checkComponentExistsByXpath(wait: WebDriverWait, xpath: str):
|
|
115
154
|
"""Checks if a component with the given XPath exists in the current WebDriver instance."""
|
|
116
|
-
status = False
|
|
117
155
|
try:
|
|
118
156
|
ComponentUtils.waitForComponentToBeVisibleByXpath(wait, xpath)
|
|
119
|
-
|
|
157
|
+
return True
|
|
120
158
|
except NoSuchElementException:
|
|
121
159
|
pass
|
|
122
160
|
|
|
123
|
-
return
|
|
161
|
+
return False
|
|
124
162
|
|
|
125
163
|
@staticmethod
|
|
126
164
|
def checkComponentExistsById(driver: WebDriver, id: str):
|
|
@@ -133,14 +171,13 @@ class ComponentUtils:
|
|
|
133
171
|
exists = ComponentUtils.checkComponentExistsById(driver, "submit-button")
|
|
134
172
|
print(f"Component exists: {exists}")
|
|
135
173
|
"""
|
|
136
|
-
status = False
|
|
137
174
|
try:
|
|
138
175
|
driver.find_element(By.ID, id)
|
|
139
|
-
|
|
176
|
+
return True
|
|
140
177
|
except NoSuchElementException:
|
|
141
178
|
pass
|
|
142
179
|
|
|
143
|
-
return
|
|
180
|
+
return False
|
|
144
181
|
|
|
145
182
|
@staticmethod
|
|
146
183
|
def findCount(wait: WebDriverWait, xpath: str):
|
|
@@ -181,16 +218,12 @@ class ComponentUtils:
|
|
|
181
218
|
|
|
182
219
|
@staticmethod
|
|
183
220
|
def findComponentsByXPath(wait: WebDriverWait, xpath: str):
|
|
184
|
-
"""
|
|
185
|
-
|
|
221
|
+
"""
|
|
222
|
+
Finds all components matching the given XPath in the current WebDriver instance.
|
|
186
223
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
Example usage:
|
|
191
|
-
components = ComponentUtils.findComponentsByXPath(wait, "//button[@class='submit']")
|
|
192
|
-
for component in components:
|
|
193
|
-
component.click()
|
|
224
|
+
:param wait: WebDriverWait instance to wait for elements
|
|
225
|
+
:param xpath: XPath string to locate the components
|
|
226
|
+
:return: List of WebElements matching the XPath
|
|
194
227
|
"""
|
|
195
228
|
# Wait for the presence of elements matching the XPath
|
|
196
229
|
wait.until(EC.presence_of_element_located((By.XPATH, xpath)))
|
|
@@ -215,8 +248,11 @@ class ComponentUtils:
|
|
|
215
248
|
|
|
216
249
|
@staticmethod
|
|
217
250
|
def findComponentByXPath(wait: WebDriverWait, xpath: str):
|
|
218
|
-
|
|
219
|
-
|
|
251
|
+
|
|
252
|
+
try:
|
|
253
|
+
component = wait._driver.find_element(By.XPATH, xpath)
|
|
254
|
+
except NoSuchElementException as e:
|
|
255
|
+
raise
|
|
220
256
|
return component
|
|
221
257
|
|
|
222
258
|
@staticmethod
|
|
@@ -242,36 +278,40 @@ class ComponentUtils:
|
|
|
242
278
|
@staticmethod
|
|
243
279
|
def click(wait: WebDriverWait, component: WebElement):
|
|
244
280
|
"""
|
|
245
|
-
|
|
281
|
+
Reliably click an element using ActionChains and wait for clickability.
|
|
246
282
|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
283
|
+
Preferred over direct element.click() because it handles animations, overlays,
|
|
284
|
+
and other DOM interactions that can cause click failures. Waits for the element
|
|
285
|
+
to be clickable, moves the mouse to it, and clicks using ActionChains.
|
|
286
|
+
|
|
287
|
+
Args:
|
|
288
|
+
wait: WebDriverWait instance.
|
|
289
|
+
component: WebElement to click.
|
|
290
|
+
|
|
291
|
+
Raises:
|
|
292
|
+
TimeoutException: If element not clickable within timeout.
|
|
293
|
+
|
|
294
|
+
Examples:
|
|
295
|
+
>>> from robo_appian.utils.ComponentUtils import ComponentUtils
|
|
296
|
+
>>> button = driver.find_element(By.ID, "save_btn")
|
|
297
|
+
>>> ComponentUtils.click(wait, button) # Reliable click
|
|
298
|
+
|
|
299
|
+
Note:
|
|
300
|
+
This is used internally by all robo_appian click methods (ButtonUtils, etc).
|
|
252
301
|
"""
|
|
253
302
|
wait.until(EC.element_to_be_clickable(component))
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
@staticmethod
|
|
257
|
-
def waitForComponentToBeInVisible(wait: WebDriverWait, component: WebElement):
|
|
258
|
-
try:
|
|
259
|
-
wait.until(EC.staleness_of(component))
|
|
260
|
-
except Exception:
|
|
261
|
-
raise Exception(
|
|
262
|
-
"Component did not become invisible (stale) within the timeout period."
|
|
263
|
-
)
|
|
303
|
+
actions = ActionChains(wait._driver)
|
|
304
|
+
actions.move_to_element(component).click().perform()
|
|
264
305
|
|
|
265
306
|
@staticmethod
|
|
266
307
|
def isComponentPresentByXpath(wait: WebDriverWait, xpath: str):
|
|
267
|
-
status = False
|
|
268
308
|
try:
|
|
269
309
|
wait.until(EC.presence_of_element_located((By.XPATH, xpath)))
|
|
270
|
-
|
|
310
|
+
return True
|
|
271
311
|
except NoSuchElementException:
|
|
272
312
|
pass
|
|
273
313
|
|
|
274
|
-
return
|
|
314
|
+
return False
|
|
275
315
|
|
|
276
316
|
@staticmethod
|
|
277
317
|
def waitForElementToBeVisibleById(wait: WebDriverWait, id: str):
|
|
@@ -290,3 +330,9 @@ class ComponentUtils:
|
|
|
290
330
|
def waitForElementNotToBeVisibleByText(wait: WebDriverWait, text: str):
|
|
291
331
|
xpath = f'//*[normalize-space(translate(., "\u00a0", " "))="{text}" and not(*[normalize-space(translate(., "\u00a0", " "))="{text}"]) and not(ancestor-or-self::*[contains(@class, "---hidden")])]'
|
|
292
332
|
return wait.until(EC.invisibility_of_element_located((By.XPATH, xpath)))
|
|
333
|
+
|
|
334
|
+
@staticmethod
|
|
335
|
+
def waitForComponentToBeClickableByXpath(
|
|
336
|
+
wait: WebDriverWait, component: WebElement
|
|
337
|
+
):
|
|
338
|
+
return wait.until(EC.element_to_be_clickable(component))
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import time
|
|
2
|
+
import logging
|
|
3
|
+
import os
|
|
4
|
+
from datetime import datetime
|
|
5
|
+
from selenium.common.exceptions import TimeoutException
|
|
6
|
+
|
|
7
|
+
logger = logging.getLogger(__name__)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class RoboUtils:
|
|
11
|
+
|
|
12
|
+
@staticmethod
|
|
13
|
+
def retry_on_timeout(operation, max_retries=3, operation_name="operation"):
|
|
14
|
+
"""
|
|
15
|
+
Retries an operation that may fail due to timeout exceptions.
|
|
16
|
+
|
|
17
|
+
This utility method automatically retries a given operation if it encounters a
|
|
18
|
+
TimeoutException, which is common in web automation when elements take longer
|
|
19
|
+
to load than expected. It will retry up to the specified number of attempts
|
|
20
|
+
before giving up. Any non-timeout exceptions are immediately re-raised without
|
|
21
|
+
retry attempts.
|
|
22
|
+
|
|
23
|
+
Args:
|
|
24
|
+
operation (callable): A callable (function or lambda) that performs the
|
|
25
|
+
desired operation. The callable should take no arguments and return
|
|
26
|
+
a value. Example: lambda: driver.find_element(By.ID, "submit-button")
|
|
27
|
+
max_retries (int, optional): The maximum number of total attempts (initial + retries).
|
|
28
|
+
Defaults to 3 (meaning 1 initial attempt + up to 2 retries).
|
|
29
|
+
operation_name (str, optional): A descriptive name for the operation
|
|
30
|
+
being performed, used in error messages and logging. Defaults to
|
|
31
|
+
"operation".
|
|
32
|
+
|
|
33
|
+
Returns:
|
|
34
|
+
The return value from the successful execution of the operation callable.
|
|
35
|
+
|
|
36
|
+
Raises:
|
|
37
|
+
TimeoutException: If the operation fails with TimeoutException for all
|
|
38
|
+
retry attempts (including the initial attempt).
|
|
39
|
+
Exception: Any non-timeout exceptions are immediately re-raised without
|
|
40
|
+
retry attempts.
|
|
41
|
+
|
|
42
|
+
Note:
|
|
43
|
+
The method logs errors when all retry attempts are exhausted. Make sure
|
|
44
|
+
logging is properly configured to capture these messages.
|
|
45
|
+
"""
|
|
46
|
+
retry_count = 0
|
|
47
|
+
|
|
48
|
+
while retry_count < max_retries:
|
|
49
|
+
try:
|
|
50
|
+
return operation()
|
|
51
|
+
except TimeoutException as e:
|
|
52
|
+
retry_count += 1
|
|
53
|
+
if retry_count >= max_retries:
|
|
54
|
+
msg = f"Failed to execute {operation_name} after {max_retries} attempts."
|
|
55
|
+
logger.error(msg)
|
|
56
|
+
raise TimeoutException(msg) from e
|
|
57
|
+
else:
|
|
58
|
+
logger.warning(
|
|
59
|
+
f"Timeout during {operation_name}, retrying ({retry_count}/{max_retries})..."
|
|
60
|
+
)
|
|
61
|
+
except Exception as e:
|
|
62
|
+
msg = f"Error during {operation_name}: {e}"
|
|
63
|
+
logger.error(msg)
|
|
64
|
+
raise
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: robo_appian
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.34
|
|
4
4
|
Summary: Automate your Appian code testing with Python. Boost quality, save time.
|
|
5
|
+
License: Apache-2.0
|
|
5
6
|
License-File: LICENSE
|
|
6
7
|
Author: Dinil Mithra
|
|
7
|
-
Author-email: dinilmithra
|
|
8
|
+
Author-email: dinilmithra.mailme@gmail.com
|
|
8
9
|
Requires-Python: >=3.12,<4.0
|
|
10
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
9
11
|
Classifier: Operating System :: OS Independent
|
|
10
12
|
Classifier: Programming Language :: Python :: 3
|
|
11
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
robo_appian/__init__.py,sha256=V59ym3syJ6ytLw0mk-Se4ipocGSRP1d28_wXxCkFP4o,1079
|
|
2
|
+
robo_appian/components/ButtonUtils.py,sha256=OMqxfV_bu5v_10fbVkKzpKhK5NKiBSZ8Ih7jWqPnuA8,7514
|
|
3
|
+
robo_appian/components/DateUtils.py,sha256=aTPAYrd796Dsko4LLs-pPXgC2Gcl7WijBLKsbqc1w84,3977
|
|
4
|
+
robo_appian/components/DropdownUtils.py,sha256=bheWCyXEnMyhHxiTQwATeQ2YG1amAgX9ole7r0LrbZk,16601
|
|
5
|
+
robo_appian/components/InputUtils.py,sha256=ItiUnMy1JuqthGcdcby4lnm6LGMps16KwF7-ruGVlSc,7720
|
|
6
|
+
robo_appian/components/LabelUtils.py,sha256=FL_fAZR2TcaljLwH4VPBqHQqdbFiA88_mtCiC8D6fwQ,4393
|
|
7
|
+
robo_appian/components/LinkUtils.py,sha256=bpr64fn5whsdHDqzYydVv3QBHGzybb88uNOIdaa2Roo,2885
|
|
8
|
+
robo_appian/components/SearchDropdownUtils.py,sha256=btEdL0_FXaZ82I4sDW1RFDvzclfaBfiDMo7VHZYaooE,5850
|
|
9
|
+
robo_appian/components/SearchInputUtils.py,sha256=dE9DVvr6DtMmE2_VnRAehwqjWk88Ev1Yek9C4f7zNOQ,4309
|
|
10
|
+
robo_appian/components/TabUtils.py,sha256=H-oQucxzinQvxJULgSIwz8mw1N3pz_ySoBXeWdfo4Ck,3963
|
|
11
|
+
robo_appian/components/TableUtils.py,sha256=Q7Dt6mMLU84viFBKQ62K9TTl4TxCj-EwFTVqMz1zB5Y,7242
|
|
12
|
+
robo_appian/controllers/ComponentDriver.py,sha256=-5DOvJHdqLi_7nvdtRi_NFYWpcZevERXIh0yvVilq6U,6934
|
|
13
|
+
robo_appian/exceptions/MyCustomError.py,sha256=VDTeG-IgEetodxxP0plG159efvBjPnmC0c0IBOi3JfE,639
|
|
14
|
+
robo_appian/utils/BrowserUtils.py,sha256=pu4dnycjeZbVa2DE0yVyHN9IYtyKUtzfW4sXBkR1o8c,3123
|
|
15
|
+
robo_appian/utils/ComponentUtils.py,sha256=40-N1JB5CPnRuAyLqK79KUu0Ed84QkPUDjX4b8RVw_Y,12839
|
|
16
|
+
robo_appian/utils/RoboUtils.py,sha256=vQi5vDTvr9u6fU_8ym4W4VE-Tti1CYIDng3Ja7ClyT8,2694
|
|
17
|
+
robo_appian-0.0.34.dist-info/METADATA,sha256=dMicI3_EXKBTS9jcUmvbTTGgvujB0PMRkTpoRzMy4fM,2417
|
|
18
|
+
robo_appian-0.0.34.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
19
|
+
robo_appian-0.0.34.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
20
|
+
robo_appian-0.0.34.dist-info/RECORD,,
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|