Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ def _child_search_by_path(
if found:
if switch_window:
CommonUtil.ExecLog(sModuleInfo, "Switching to window: %s" % NameE, 1)
if Shared_Resources.Get_Shared_Variables("zeuz_window_auto_switch").strip().lower() in CommonUtil.Affirmative_words:
if Shared_Resources.Get_Shared_Variables("zeuz_window_auto_switch").strip().lower() in CommonUtil.affirmative_words:
autoit.win_activate(NameE)
all_elements.append(each_child)
if 0 <= element_index == len(all_elements) - 1: break
Expand Down Expand Up @@ -1653,7 +1653,7 @@ def _get_main_window(WindowName):
if MainWindowElement.Current.ProcessId in current_pid_list:
CommonUtil.ExecLog(sModuleInfo, "Switching to window: %s" % NameS, 1)
CommonUtil.ExecLog(sModuleInfo, f"pid matched: {MainWindowElement.Current.ProcessId}", 5)
if Shared_Resources.Get_Shared_Variables("zeuz_window_auto_switch").strip().lower() in CommonUtil.Affirmative_words:
if Shared_Resources.Get_Shared_Variables("zeuz_window_auto_switch").strip().lower() in CommonUtil.affirmative_words:
autoit.win_activate(NameS)
return MainWindowElement
else:
Expand All @@ -1662,7 +1662,7 @@ def _get_main_window(WindowName):
pass
if len(found_windows) > 0:
CommonUtil.ExecLog(sModuleInfo, "Switching to window: %s" % found_windows[0].Current.Name, 1)
if Shared_Resources.Get_Shared_Variables("zeuz_window_auto_switch").strip().lower() in CommonUtil.Affirmative_words:
if Shared_Resources.Get_Shared_Variables("zeuz_window_auto_switch").strip().lower() in CommonUtil.affirmative_words:
autoit.win_activate(found_windows[0].Current.Name)
return found_windows[0]
return None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@
"attribute constrain",
"optional option",
"graphql",
"shared capability",
"chrome option", "chrome options", "chrome experimental option", "chrome experimental options",
"shared capability", "chrome option", "edge option", "chromium option", "firefox option", "safari option",
"pre sleep", "post sleep", "pre post sleep", "post pre sleep",
"zoom parameter", "optional zoom parameter", "pan parameter", "optional pan parameter",
"profile option", "profile options",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{ "name": "deselect by value", "function": "Select_Deselect", "screenshot": "web" },
{ "name": "select by index", "function": "Select_Deselect", "screenshot": "web" },
{ "name": "deselect by index", "function": "Select_Deselect", "screenshot": "web" },
{ "name": "open browser", "function": "Open_Empty_Browser", "screenshot": "web" },
{ "name": "open browser", "function": "Go_To_Link", "screenshot": "web" },
{ "name": "open electron app", "function": "Open_Electron_App", "screenshot": "web" },
{ "name": "go to link", "function": "Go_To_Link", "screenshot": "web" },
{ "name": "go to link v2", "function": "Go_To_Link_V2", "screenshot": "web" },
Expand All @@ -27,7 +27,6 @@
{ "name": "navigate", "function": "Navigate", "screenshot": "web" },
{ "name": "validate table", "function": "validate_table", "screenshot": "web" },
{ "name": "handle alert", "function": "Handle_Browser_Alert", "screenshot": "desktop"},
{ "name": "browser", "function": "Open_Browser_Wrapper", "screenshot": "web" },
{ "name": "teardown", "function": "Tear_Down_Selenium", "screenshot": "none"},
{ "name": "open new tab", "function": "open_new_tab", "screenshot": "web" },
{ "name": "close tab", "function": "close_tab", "screenshot": "web" },
Expand Down Expand Up @@ -56,7 +55,6 @@
{ "name": "check uncheck", "function": "check_uncheck", "screenshot": "web" },
{ "name": "multiple check uncheck", "function": "multiple_check_uncheck", "screenshot": "web" },
{ "name": "slider bar", "function": "slider_bar", "screenshot": "web" },
{ "name": "get performance metrics", "function": "get_performance_metrics", "screenshot": "web" },
{ "name": "resize window", "function": "resize_window", "screenshot": "web" },
{ "name": "change attribute value", "function": "Change_Attribute_Value", "screenshot": "web" },
{ "name": "capture network log", "function": "capture_network_log", "screenshot": "web" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ def Run_Sequential_Actions(
else:
data_set_list.append(i)

if len(data_set_list) == 0 and CommonUtil.debug_status and not sr.Test_Shared_Variables("selenium_driver") and ConfigModule.get_config_value("Inspector", "ai_plugin").strip().lower() in CommonUtil.Affirmative_words:
if len(data_set_list) == 0 and CommonUtil.debug_status and not sr.Test_Shared_Variables("selenium_driver") and ConfigModule.get_config_value("Inspector", "ai_plugin").strip().lower() in CommonUtil.affirmative_words:
return Action_Handler([["browser", "selenium action", "browser"]], ["browser", "selenium action", "browser"]), []

for dataset_cnt in data_set_list: # For each data set within step data
Expand Down
Loading