Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
274 commits
Select commit Hold shift + click to select a range
b608089
fetch only the test case json
sazid May 20, 2022
b7918e1
Merge branch 'dev' of ssh://github.com/automationsolutionz/zeuz_pytho…
sazid May 21, 2022
5854acb
Change endpoint to use versioning
sazid May 21, 2022
3f1a7b8
Add deploy-v3 node side diagram
sazid May 22, 2022
8d83e63
Update DeployInfo protobuf
sazid May 23, 2022
e3d1f35
Register node as online every time node reconnects
sazid May 28, 2022
a6e6c04
add local device exception
sazid May 28, 2022
9072aa2
handle reconnection + take local run from remote config
sazid May 28, 2022
6fd173a
Update deploy info proto def
sazid Jun 1, 2022
a9af21f
adapt debug mode from debug info
sazid Jun 1, 2022
51ce0d2
refactor the payload data
sazid Jun 1, 2022
f0b7ad8
Convert action seq check to int from str
sazid Jun 1, 2022
c76c53d
Don't dump report.json file to Framework folder
sazid Jun 1, 2022
0096599
Connect to live log service when node goes online
sazid Jun 3, 2022
05b0de5
deploy: tc receive confirmation
sazid Jun 4, 2022
5172c69
deploy: send ack before running tc
sazid Jun 4, 2022
1dbd86b
blindly pick first local device for now
sazid Jun 4, 2022
dac1a02
Disable SSL cert verification for deploy
sazid Jun 5, 2022
100f7f0
Reset settings file
sazid Jun 5, 2022
10236a9
Merge branch 'dev' of https://github.com/automationSolutionz/zeuz_pyt…
sazid Jun 7, 2022
7247067
Add version + changelog
sazid Jun 7, 2022
59d1b9b
remove unnecessary file
sazid Jun 7, 2022
98587e8
[Add] initial codes for function eval in csv cells
Muntasib-creator Jun 7, 2022
ddaee2f
Adding functionality for profile
Oytizzo Jun 7, 2022
35d957e
Updating open_browser for profile integration
Oytizzo Jun 7, 2022
0e5327e
Merge pull request #184 from AutomationSolutionz/deploy-v3
sazid Jun 8, 2022
a7d2bb6
Add chrome_profile in Go_To_link
Oytizzo Jun 8, 2022
50c6541
Merge branch 'dev' into dev_profile
Oytizzo Jun 8, 2022
3df8707
Update CHANGELOG.md
Oytizzo Jun 8, 2022
25f0440
[remove] removed prints
Muntasib-creator Jun 11, 2022
0257fac
Update with execlog and Darwin
Oytizzo Jun 12, 2022
76a1470
Merge pull request #185 from AutomationSolutionz/dev_profile
Muntasib-creator Jun 12, 2022
e339181
Convert all timestamps timezone to UTC
sazid Jun 13, 2022
834c102
Add changelog entry
sazid Jun 13, 2022
ef24af4
Merge pull request #186 from AutomationSolutionz/fix-timezone-for-tim…
sazid Jun 13, 2022
9325da5
convert browser opts to string before sending to logger
sazid Jun 14, 2022
3c28c99
Fixed the Execlog with colored print
Oytizzo Jun 14, 2022
482c8cc
Remove duplicate code_generator file
Oytizzo Jun 14, 2022
b3674e6
Merge pull request #187 from AutomationSolutionz/dev_refactor
sazid Jun 16, 2022
b472aa0
[Fix] Fixed screenshot common action
Saqib-Haider Jun 16, 2022
7f27b76
Merge branch 'dev' into screenshot_fix
Saqib-Haider Jun 16, 2022
133355a
Merge pull request #189 from AutomationSolutionz/screenshot_fix
Muntasib-creator Jun 17, 2022
9385c93
[Fix] Windows pid issue on image-parent search solved
Muntasib-creator Jun 17, 2022
5f27bda
Allow raw data to be printed from exec log
sazid Jun 18, 2022
77e37ad
Do not print connection attempts unless (see more)
sazid Jun 19, 2022
37aa807
Update constructor param type
sazid Jun 19, 2022
19a5853
Merge pull request #190 from AutomationSolutionz/deploy-print
sazid Jun 19, 2022
a5c04a7
Merge branch 'dev' of github.com:AutomationSolutionz/Zeuz_Python_Node…
sazid Jun 19, 2022
a669b31
Set the encoding for all json files to utf-8
sazid Jun 21, 2022
23d221a
Allow multiple certificate usage
sazid Jun 21, 2022
5e101cb
Add changelog
sazid Jun 21, 2022
fd3fbe5
Remove redundant code
sazid Jun 21, 2022
07d083f
Optimize file download by 1mb chunk
sazid Jun 21, 2022
10839ee
gh token
Muntasir00 Jun 22, 2022
083f862
bug fixed as per arif vai suggestion
Muntasir00 Jun 22, 2022
e1b751c
bug fixed
Muntasir00 Jun 22, 2022
22e48d1
Merge pull request #191 from AutomationSolutionz/api-cert
sazid Jun 22, 2022
b5220a3
Merge pull request #193 from AutomationSolutionz/api-cert
sazid Jun 22, 2022
a240eb9
finalized message for fh token
Muntasir00 Jun 22, 2022
49b854c
Remove node_state.json
Muntasir00 Jun 22, 2022
50f36ac
Modify protobuf
sazid Jun 22, 2022
40425f8
Load attachments in new format
sazid Jun 22, 2022
cccb94e
Add code for attachment db and hash
sazid Jun 22, 2022
2c17237
Working attachment hash in node with db
sazid Jun 22, 2022
dc0d146
skip 0 hash
sazid Jun 22, 2022
f6d883a
Upload file to global attachment by replacing
Sunny1509006 Jun 22, 2022
bb13d0e
Delete settings.conf
Sunny1509006 Jun 23, 2022
d989689
Add files via upload
Sunny1509006 Jun 23, 2022
ce90409
Update common_functions.py
Sunny1509006 Jun 23, 2022
d60d3e8
auto module update
Sakib75 Jun 23, 2022
5d52dc7
removed extra print
Sakib75 Jun 23, 2022
7b939d1
Merge pull request #192 from AutomationSolutionz/gh_token
sazid Jun 23, 2022
5401ae5
Merge branch 'dev' of github.com:AutomationSolutionz/Zeuz_Python_Node…
sazid Jun 23, 2022
3fa7b86
Update settings.conf
Sunny1509006 Jun 23, 2022
04350c7
Update settings.conf
Sunny1509006 Jun 23, 2022
98b2611
Update settings.conf
Sunny1509006 Jun 23, 2022
a6603a9
Update settings.conf
Sunny1509006 Jun 23, 2022
73b067f
Add changelog
sazid Jun 23, 2022
6cf5454
Add gh_token debug config for vscode
sazid Jun 23, 2022
7d87ee5
Merge pull request #196 from AutomationSolutionz/attachment-hash
sazid Jun 23, 2022
45618a6
Update common_functions.py
Sunny1509006 Jun 23, 2022
ef9d7c4
use concrete boolean
sazid Jun 23, 2022
cb04493
Merge pull request #194 from AutomationSolutionz/upload-global-attach…
sazid Jun 23, 2022
a92b120
removed extra brackets
Sakib75 Jun 23, 2022
2533aba
Merge pull request #195 from AutomationSolutionz/auto_modules_update
sazid Jun 23, 2022
dbd2d7e
Changed the json location to Automationlog folder
Sakib75 Jun 23, 2022
78e0e21
Move to attachment db with unique file names
sazid Jun 24, 2022
c06499d
Redownload attachment on copy-failure + more reliable db entries
sazid Jun 24, 2022
49829af
Merge pull request #197 from AutomationSolutionz/attachment-db-improv…
sazid Jun 24, 2022
bd730cd
Temporarily disable attachment hashing
sazid Jun 24, 2022
53d885e
Merge pull request #198 from AutomationSolutionz/win_pid_issue
Muntasib-creator Jun 25, 2022
354660d
[Add] auth code generator action. windows only for now
Muntasib-creator Jun 25, 2022
71d9a52
Merge branch 'dev' of https://github.com/AutomationSolutionz/Zeuz_Pyt…
Muntasib-creator Jun 25, 2022
8956438
[Add] changelogs
Muntasib-creator Jun 25, 2022
3ed6a50
Merge pull request #199 from AutomationSolutionz/auth_action
sazid Jun 26, 2022
2c27df1
Merge pull request #200 from AutomationSolutionz/auto_modules_update
sazid Jun 26, 2022
a729599
Use filename from server's attachment path
sazid Jun 26, 2022
da1305d
Launch into integrated debug console
sazid Jun 26, 2022
67febe7
Use the hash as the file name for storing in attachment db
sazid Jun 26, 2022
f281939
Make sure attachments with same content works + refactor
sazid Jun 26, 2022
312a3d4
Merge pull request #201 from AutomationSolutionz/attachment-hash-same…
sazid Jun 26, 2022
2e0b4b2
Auto modules update (#202)
Muntasib-creator Jun 29, 2022
ad10142
remove unused custom driver attachment code (needs review)
sazid Jun 29, 2022
531f5db
Don't print raw by default
sazid Jun 29, 2022
62aa09e
.
sazid Jun 29, 2022
453b64e
Set browser console log encoding to utf-8 for international characters
sazid Jun 30, 2022
0bd0daf
add utf-8 encoding for windows logger
sazid Jun 30, 2022
2cf6861
SID and service name is needed for database type oracle only
Raisa2773 Jun 30, 2022
314800c
Converting db type to lowercase for handling case sensitivity
Raisa2773 Jul 3, 2022
5be68a4
browser options print fix
Muntasib-creator Jul 4, 2022
8f897df
Merge branch 'dev' of https://github.com/AutomationSolutionz/Zeuz_Pyt…
Muntasib-creator Jul 4, 2022
849ac0b
CHANGELOG.md changed.
Raisa2773 Jul 4, 2022
9c3be83
Merge remote-tracking branch 'origin/bug_fix' into bug_fix
Muntasib-creator Jul 4, 2022
3ba529b
Merge pull request #203 from AutomationSolutionz/bug_fix
Muntasib-creator Jul 4, 2022
100c7d9
Adding get current url of browser action
Arifshariar7 Jul 4, 2022
6e81bbe
Adding get oAuth2.0 access token url action
Arifshariar7 Jul 4, 2022
dd2383c
Adding rauth for oAuth2.0 operation
Arifshariar7 Jul 4, 2022
56927af
added remotewebdriver for chrome
Sakib75 Jul 6, 2022
ed2d830
docker compose file for running selenium grid
Sakib75 Jul 6, 2022
8bc1168
[Change] Disabling attachment hashing temporarily
Muntasib-creator Jul 6, 2022
12d0573
Merge pull request #204 from AutomationSolutionz/hash_disable
Muntasib-creator Jul 6, 2022
d795f4e
run_time_params
Sakib75 Jul 6, 2022
2cb9e61
remotewebdriver support for firefox and edge
Sakib75 Jul 6, 2022
6338530
added chrome version 102,103
Sakib75 Jul 7, 2022
50b967f
browser version options
Sakib75 Jul 7, 2022
5ec8f8c
checking remote server availability
Sakib75 Jul 8, 2022
17a2587
Merge pull request #206 from AutomationSolutionz/oauth2.0
Muntasib-creator Jul 11, 2022
b855ce6
Minor fixes (#207)
Muntasib-creator Jul 13, 2022
3aaf0b1
comment added
Sakib75 Jul 14, 2022
2ed93b1
datetime format for windows
Sakib75 Jul 14, 2022
8e37060
removed extra if
Sakib75 Jul 14, 2022
81833f9
Performance testing (#188)
Sakib75 Jul 17, 2022
3aa4939
added changelog for selenium_grid
Sakib75 Jul 17, 2022
40d6207
updated string replacing
Sakib75 Jul 17, 2022
18292b9
documentation added for oauth action
Raisa2773 Jul 17, 2022
668fbc7
documentation added for new selenium action that saves the current ur…
Raisa2773 Jul 17, 2022
f85d4b4
changelog updated
Raisa2773 Jul 17, 2022
f595abf
Download tc and step attachments into distinct folders + re-enable at…
sazid Jul 17, 2022
04b92aa
Frame parameter support is online and working as intended, I have che…
Jul 19, 2022
54be889
Reverted refactored selenium code
Jul 19, 2022
e4bae93
Merge pull request #209 from AutomationSolutionz/datetime_windows
Muntasib-creator Jul 20, 2022
bc60bde
Merge branch 'dev' into selenium_grid
Muntasib-creator Jul 20, 2022
dcd7746
Merge pull request #205 from AutomationSolutionz/selenium_grid
Muntasib-creator Jul 20, 2022
3343f98
Merge branch 'dev' of https://github.com/AutomationSolutionz/Zeuz_Pyt…
Muntasib-creator Jul 20, 2022
9af180e
Changelogs fix
Muntasib-creator Jul 20, 2022
eb4a9ae
Merge pull request #213 from AutomationSolutionz/frame-parameter-support
Muntasib-creator Jul 20, 2022
bafda41
Merge branch 'dev' into dev_branch
Muntasib-creator Jul 20, 2022
ae6809e
Merge pull request #211 from AutomationSolutionz/dev_branch
Muntasib-creator Jul 20, 2022
f73b61c
[Remove] Restriction removed of the offset to be between 0-100. somet…
Muntasib-creator Jul 22, 2022
c29e2f7
[Add] Added wait global support in go_to_link action
Muntasib-creator Jul 22, 2022
dcf3cd2
[Remove] Restriction removed of the offset to be between 0-100. somet…
Muntasib-creator Jul 22, 2022
26b7dc7
[Add] Added wait global support in go_to_link action
Muntasib-creator Jul 22, 2022
f074af9
Merge remote-tracking branch 'origin/minor_changes' into minor_changes
Muntasib-creator Jul 23, 2022
3db453e
[Change] Screenshot file name should contain the action title
Muntasib-creator Jul 23, 2022
686ba57
fix remote host
Sakib75 Jul 27, 2022
b858d1f
Merge pull request #216 from AutomationSolutionz/fix_remote_host
Muntasib-creator Jul 27, 2022
f88ef3d
Merge branch 'dev' of https://github.com/AutomationSolutionz/Zeuz_Pyt…
Muntasib-creator Jul 27, 2022
c833499
[Add] Windows desired Element tree is printed
Muntasib-creator Jul 27, 2022
9908a14
Merge pull request #214 from AutomationSolutionz/minor_changes
Muntasib-creator Jul 27, 2022
dcb3971
[Add] experimental raw codes for perf metrix
Muntasib-creator Jul 2, 2022
c774070
Global attachments (#212)
Sakib75 Jul 29, 2022
dbbadb4
fix auto module upgrade (#215)
Sakib75 Jul 29, 2022
20b2f73
[Add] Collect performance metrics for every driver_id in a testcase a…
Muntasib-creator Jul 29, 2022
cc32099
[Fix] Get_Current_URL action fix
Muntasib-creator Jul 29, 2022
6eb6ec2
Merge branch 'dev' of https://github.com/AutomationSolutionz/Zeuz_Pyt…
Muntasib-creator Jul 29, 2022
8e1b1a2
[Fix] enable performance only when browser starts
Muntasib-creator Jul 30, 2022
137f237
[Fix] Browser options added inside exception block
Muntasib-creator Jul 30, 2022
d6ff63d
UUID (#218)
Muntasib-creator Jul 30, 2022
d3b99bc
Merge branch 'dev' of https://github.com/AutomationSolutionz/Zeuz_Pyt…
Muntasib-creator Jul 30, 2022
53c1960
Merge pull request #217 from AutomationSolutionz/devtool
Muntasib-creator Aug 14, 2022
cfb0fd2
[Fix] spelling correction global_attachments
Muntasib-creator Aug 14, 2022
9ba0360
[Add] access zeuz shared variables directly from execute_python_code
Muntasib-creator Aug 14, 2022
ab98f12
[Add] new zeuz variable `zeuz_attachments_dir`
Muntasib-creator Aug 14, 2022
b377a78
[Add] import other python modules into execute_code
Muntasib-creator Aug 14, 2022
1cf8046
removed commit from select query
Sakib75 Aug 17, 2022
0943f3c
Merge pull request #219 from AutomationSolutionz/browser_metrics
Muntasib-creator Aug 17, 2022
ecfda9d
truncate extra strings from server address
Sakib75 Aug 18, 2022
a893c2d
db multi sessions
Sakib75 Aug 20, 2022
576c482
changelog added
Sakib75 Aug 20, 2022
41c227d
removed uses of global var
Sakib75 Aug 20, 2022
0fb41f5
[Add] browser_performance metrics
Muntasib-creator Aug 22, 2022
5ab25a6
Merge pull request #223 from AutomationSolutionz/db_session
Muntasib-creator Aug 27, 2022
4108b3d
Merge branch 'dev' of https://github.com/AutomationSolutionz/Zeuz_Pyt…
Muntasib-creator Aug 27, 2022
fb0f43c
Merge pull request #222 from AutomationSolutionz/parse_server_address
Muntasib-creator Aug 27, 2022
40b7a75
Merge pull request #221 from AutomationSolutionz/db_fix_remote_commit
Muntasib-creator Aug 27, 2022
66b4177
Merge branch 'dev' of https://github.com/AutomationSolutionz/Zeuz_Pyt…
Muntasib-creator Aug 27, 2022
8fc50c2
[Add] Step metrics, Action Metrics
Muntasib-creator Aug 27, 2022
41b4170
changelogs
Muntasib-creator Aug 27, 2022
98b5847
Pin websocket client library to 1.3.3
sazid Aug 28, 2022
1a475d1
[Fix] init browser_perf = {}
Muntasib-creator Aug 29, 2022
df4bbec
Merge pull request #225 from AutomationSolutionz/pyautogui_hotkey_plus
Muntasib-creator Aug 29, 2022
3aedfa3
[Add] Added `first-contentful-paint` value into browser_performance m…
Muntasib-creator Aug 29, 2022
269aa71
secondary random email factory
Sakib75 Aug 30, 2022
78ed46e
added exception
Sakib75 Aug 30, 2022
34048b6
bs4 to read text from html email
Sakib75 Aug 30, 2022
bef4141
delete mailbox
Sakib75 Aug 30, 2022
0951546
reverted order of factories
Sakib75 Aug 30, 2022
29e3010
added changelog
Sakib75 Aug 30, 2022
969e8d0
Merge pull request #224 from AutomationSolutionz/browser_metrics
Muntasib-creator Sep 5, 2022
e9465f7
[Fix] try-except added for first-contentful-paint metric
Muntasib-creator Sep 12, 2022
c639774
Merge branch 'dev' into second_random_email
Muntasib-creator Sep 14, 2022
9a4bf93
Merge pull request #226 from AutomationSolutionz/second_random_email
Muntasib-creator Sep 14, 2022
f83ec9e
Advanced activity extract handling and deprecation fix
Muntasib-creator Sep 13, 2022
803c209
Merge pull request #227 from AutomationSolutionz/Appium_fix_16
Muntasib-creator Sep 14, 2022
627b04a
Merge pull request #229 from AutomationSolutionz/metrics_fix
Muntasib-creator Sep 14, 2022
5498adb
[Fix] Deprecation fix of selenium
Muntasib-creator Sep 18, 2022
e20f5ee
[Add] 'safebrowsing.enabled': 'false'
Muntasib-creator Sep 19, 2022
25781e9
initial_download_folder is connected to dynamic debug runid
Muntasib-creator Sep 19, 2022
5b5a866
[Add] data-store actions
Muntasib-creator Sep 21, 2022
95d017e
[Fix] api-key fix in data-store
Muntasib-creator Sep 21, 2022
15e60f1
Merge pull request #232 from AutomationSolutionz/selenium_deprecation…
Muntasib-creator Sep 23, 2022
215719f
[Add] We handle click errors by default
Muntasib-creator Sep 23, 2022
6513137
[Add] limit prettifying characters with `zeuz_prettify_limit`
Muntasib-creator Sep 23, 2022
18ce380
stale element requires relocating of element
Muntasib-creator Sep 23, 2022
32c538e
[Add] Filepath handle in save_into_variable
Muntasib-creator Sep 28, 2022
5f8de81
[Add] prettify_limit = None
Muntasib-creator Oct 2, 2022
6e9340a
[Add] json.dumps(val,indent=2) in prettify_limit
Muntasib-creator Oct 2, 2022
0974bc1
Added line for zeuz failed -
Oct 3, 2022
b3ba0ff
Added -> if not(type(Element) == str and Element == "zeuz_failed"): …
Oct 3, 2022
e3ad53c
Add Largest Contentful Paint (LCP) metric for chromium browsers
sazid Oct 3, 2022
fabe980
Merge pull request #235 from AutomationSolutionz/selenium_deprecation…
Muntasib-creator Oct 6, 2022
235b577
[Temporary] Manual input when save attribute selenium fails
Muntasib-creator Oct 6, 2022
d4298a0
Merge remote-tracking branch 'origin/selenium_deprecation_fix' into s…
Muntasib-creator Oct 6, 2022
3afc004
Added line for image search
Oct 6, 2022
d244c04
if attribute_value = zeuz_failed: return
Muntasib-creator Oct 10, 2022
4f5369b
ws_ss_log var to turn off log_ss in debug
Muntasib-creator Oct 10, 2022
c258b4a
Fixed drag and drop zeuz failed issue
Oct 10, 2022
517929f
Fixed all value passing True issue for checkboxes and radio button on…
Oct 10, 2022
5696026
Fixed button enabled or disabled state for windows
Oct 10, 2022
d35adfa
- Fix scroll to element for windows
Oct 12, 2022
d04f161
Fixed action passing even if the element not found with scroll to ele…
Oct 12, 2022
d34ef12
Added
Oct 12, 2022
455081e
Added fix for check out
Oct 14, 2022
5b5eef7
Image comparison , create and edit screenshot actions are added. TaxC…
Oct 18, 2022
78560ce
Merge pull request #236 from AutomationSolutionz/fixed_zeuz_failed_wi…
Muntasib-creator Oct 18, 2022
cccac4e
[Add] `continue to next iteration` added in for loop action
Muntasib-creator Oct 19, 2022
8e9ff90
[Revert] taking input if save attribute fails
Muntasib-creator Oct 19, 2022
d857f63
[Fix] If click fails dont download
Muntasib-creator Oct 19, 2022
844d555
Merge branch 'dev' of https://github.com/AutomationSolutionz/Zeuz_Pyt…
Muntasib-creator Oct 19, 2022
2742ff4
[Fix] Remove execute_cdp_cmd for non-chromium browsers
Muntasib-creator Oct 19, 2022
1861fc0
[Fix] Deprecation fix
Muntasib-creator Oct 21, 2022
8b9567c
Merge pull request #237 from AutomationSolutionz/selenium_deprecation…
Muntasib-creator Oct 21, 2022
fc6dc25
date modify fix (#233)
Sakib75 Oct 24, 2022
f508381
Read step continue point from local step data
sazid Oct 25, 2022
3099a44
[Fix] Zoom annotation fix for inspecting windows element
Muntasib-creator Oct 25, 2022
f3d7b83
[Fix] cmd fix for binary windows app launch
Muntasib-creator Oct 25, 2022
d6face1
version = 16.1.0 date = Oct 25, 2022
Muntasib-creator Oct 25, 2022
aea1d31
Merge pull request #238 from AutomationSolutionz/selenium_deprecation…
Muntasib-creator Oct 25, 2022
54554f0
changelog
Muntasib-creator Oct 25, 2022
4172101
Merge pull request #239 from AutomationSolutionz/selenium_deprecation…
Muntasib-creator Oct 25, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ pid.txt
Framework/settings.conf
AutomationLog/
iosSimulator/*
node_state.json

# Nodejs gitignore
# Logs
Expand Down
26 changes: 16 additions & 10 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,37 +15,43 @@
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal"
"console": "internalConsole",
"internalConsoleOptions": "openOnSessionStart"
},
{
"name": "Python: node_cli",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/node_cli.py",
"console": "integratedTerminal"
"console": "internalConsole",
"internalConsoleOptions": "openOnSessionStart"
},
{
"name": "Python: node_cli custom log dir",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/node_cli.py",
"args": ["-d /home/szxo3/Desktop/test_node_dir"],
"console": "integratedTerminal"
"console": "internalConsole",
"internalConsoleOptions": "openOnSessionStart"
},
{
"name": "Python: node_gui",
"name": "Python: local_run",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/node_gui.py",
"console": "integratedTerminal"
"program": "${workspaceFolder}/node_cli.py",
"args": ["--local_run"],
"console": "internalConsole",
"internalConsoleOptions": "openOnSessionStart"
},
{
"name": "Python: local_run",
"name": "Python: node_cli with GH_TOKEN",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/node_cli.py",
"args": ["--local_run"],
"console": "integratedTerminal"
}
"args": ["--gh", "TOKEN_HERE"],
"console": "internalConsole",
"internalConsoleOptions": "openOnSessionStart"
},
]
}
Binary file added Apps/Authenticator/gauth
Binary file not shown.
Binary file added Apps/Authenticator/gauth.exe
Binary file not shown.
54 changes: 43 additions & 11 deletions Apps/Windows/ZeuZ_Windows_Inspector.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
from colorama import init as colorama_init
from colorama import Fore

#Importing rich library to print in an organized manner
from rich import print
from rich.text import Text
from rich.tree import Tree

# Initialize colorama for the current platform
colorama_init(autoreset=True)

Expand Down Expand Up @@ -165,7 +170,6 @@ def _child_search2(ParentElement):
if temp:
return path + temp
create_index(index_trace, each_child)

return path

except Exception:
Expand Down Expand Up @@ -531,10 +535,29 @@ def debugger_is_active() -> bool:
except:
No_of_level_to_skip = 0

def create_tag(elem):
s = "<"
for i in elem.attrib:
s = s + i + '="' + elem.attrib[i] + '" '
s = s[:-1] + ">"
return s


def printTree(root,tree):
for child in root:
if child.get('zeuz') == "aiplugin":
tree.add(f"[bold green]{create_tag(child)}", guide_style="red")
return
elif child.findall(".//*[@zeuz='aiplugin']"):
temp = tree.add(f"[yellow]{create_tag(child)}", guide_style="red")
printTree(child, temp)
else:
tree.add(f"[white]{create_tag(child)}", guide_style="red")


def main():
try:
global x, y, path_priority, element_plugin, auth, path, xml_str, findall_time, findall_count
global x, y, path_priority, element_plugin, auth, path, xml_str, findall_time, findall_count, list_path
auth_thread = Authenticate()
while True:
if debugger_is_active():
Expand All @@ -553,9 +576,14 @@ def main():
if windows.Count == 0:
return
for window in windows:
if window.Current.Name.strip() in ("Annotation - Zoom"): continue
if _found(window):
window_name = window.Current.Name
xml_str += '<body Window="%s">' % window_name
try:
pid = window.Current.ProcessId
except:
pid = ""
xml_str += '<body Window="%s" pid="%s">' % (window_name, pid)
path = create_path({}, window, True)
break
else:
Expand All @@ -566,8 +594,9 @@ def main():

xml_str = xml_str.encode('ascii', 'ignore').decode() # ignore characters which are not ascii presentable

print("************* Exact Path *************")
print("======== COPY Exact Path ========")
print(path)
print("============= COPY ==============")
# print("************* path_priority *************")
# print("Path priority =", path_priority, "\n\n")
with open("Element.xml", "w") as f:
Expand All @@ -578,6 +607,7 @@ def main():
except: pass
sibling = pyautogui.confirm('Do you want SIBLING?')
root = ET.fromstring(xml_str)
tree = Tree(f"[cyan]{create_tag(root)}", guide_style="red") # root of rich tree python
if sibling.strip().lower() == "ok":
print("Hover over the SIBLING and press control")
keyboard.wait("ctrl")
Expand All @@ -589,19 +619,21 @@ def main():
Remove_coordinate(root)
Remove_coordinate_time = round(time.perf_counter() - start, 3)
xml_str = ET.tostring(root).decode()
printTree(root, tree)
print(tree)
with open("Sibling.xml", "w") as f:
f.write(xml_str)

start = time.perf_counter()
Upload(auth_thread, window_name)
Upload_time = round(time.perf_counter()-start, 3)

print("\nElement searching time =", element_time, "sec")
print("Sibling searching time =", sibling_time, "sec")
print("Coordinate remove time =", Remove_coordinate_time, "sec")
print("Uploading to API time =", Upload_time, "sec")
print("start_findall time =", round(findall_time, 3), "sec", "Findall count =", findall_count)
print("each__findall_time (Each_Element_find_time, finall_time, child_count)")
# print("\nElement searching time =", element_time, "sec")
# print("Sibling searching time =", sibling_time, "sec")
# print("Coordinate remove time =", Remove_coordinate_time, "sec")
# print("Uploading to API time =", Upload_time, "sec")
# print("start_findall time =", round(findall_time, 3), "sec", "Findall count =", findall_count)
# print("each__findall_time (Each_Element_find_time, finall_time, child_count)")
from operator import itemgetter
global each_findall_time
each_findall_time = sorted(each_findall_time, key=itemgetter(0), reverse=True)
Expand All @@ -617,4 +649,4 @@ def main():


if __name__ == "__main__":
main()
main()
74 changes: 72 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,78 @@
# Changelog

# Version 15

# Version 16

### [Current changes]
- _
-
### [16.1.0][Oct 25, 2022]
- **[Add]** Continue to next iter feature is implemented in For Loop Action
- **[Fix]** datatype fix and checkbox/toggle item fix for windows
- **[Fix]** browser performance matrices is confined to chrome and edge browsers only
- **[Add]** Largest Contentful Paint is added in browser performance matrices
- **[Improve]** Stale element error is handled in click and check action
- **[Add]** `zeuz_prettify_limit` variable can limit prettify characters
- **[Add]** Added secondary random mailbox
- **[Add]** Added Browser Performance metrics, Step metrics, Action metrics
- **[Add]** Import files in Execute Python Code action
- **[Add]** Added a reserved variable `zeuz_attachments_dir`
- **[Add]** Enabling connection for two of more database simultaneously
- **[Add]** 'uuid' module is inserted into variable parsing
- **[Add]** 'frame parameter' support is added into Switch_Iframe action
- **[Add]** Action for get access token url (oauth 2.0) with documentation
- **[Add]** Browser action for get current url from address bar with documentation
- **[Add]** Basic performance testing functions for rest calls
- **[Add]** Added selenium grid functionality. Usage:
```shell
cd .../Framework/Built_In_Automation/Web/Selenium
docker-compose -f docker-compose-v3.yml up
```
- **[Fix]** Compare data *ignore_list_order* bug fix
- **[Fix]** Zeuz_auto_teardown variable bug fix
- **[Fix]** Mobile browser update bug fix
- **[Fix]** zeuz_pid_finder bug fix for chrome
- **[Add]** Authenticator code generator action is added for windows
- **[Improve]** Function handle capability inside csv cells is implemented
- **[Fix]** Windows_pid issue solved for image searching
- **[Add]** Don't download the same attachments multiple times. This is achieved
by keeping track of hashes of the attachment files sent from the server.

Technical note: protobuf definitions updated.

- **[Add]** Add support for multiple certificates in API actions. Use them like
so:

- cert | optional parameter | filename.pem
- cert | optional parameter | filename.cert, filename.key

Certificates are best used by pairing with the `session` optional parameter.

- **[Fix]** Fixed return for common screenshot action
### [16.0.0]
- **[Change]** Change the deploy system. This change replaces the old deploy
system code with a new one that is compatible with the v3 engine on the server
side. This works by connecting with a persistent websocket connection that is
forcefully disconnected every 30 seconds from the server side. This makes sure
that we don't have long persistent but unstable connections. There are also
other mechanisms in place to make sure we always receive test cases in proper
order. If for some reason, node's connection breaks when test cases are
in-flight (being sent from server to node), they'll be automatically restored
back to the run id so that node can run the same test case even though the
connection got disrupted. Run cancellations work properly. In deploy API you
can also specify preferred nodes so that some test cases are always run in
those preferred nodes.
- **[Fix]** Convert all timestamps into UTC timezone to match server timezone.
This fixes all runid related time issues like showing a negative date and time
difference.
- **[Fix]** SID and service name is required for Oracle database only.
Previously error was showing when user didn't input SID and service name for
other database(for example MySQL etc.). Now this has been fixed.

# Version 15
### [15.2.0][Jun 07, 2022]
- **[Add]** Add profile functionality for Chrome
- **[Add]** Add extension functionality for Chrome
- **[Improve]** Chrome browser options and arguments

### [15.1.1][Jun 07, 2022]
- **[Add]** Upload window is automated with pyautogui for MAC
Expand All @@ -13,6 +82,7 @@
- **[Add]** Added swipe by uiautomator action for android
- **[Add]** Added uiautomatorviewer.bat inside App directory


### [15.0.4][May 11, 2022]
- **[Improve]** Added plus button support in keystroke action

Expand Down
Loading