summaryrefslogtreecommitdiffstats
path: root/uitest/ui_logger_dsl/dialog_commands.tx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--uitest/ui_logger_dsl/dialog_commands.tx24
1 files changed, 24 insertions, 0 deletions
diff --git a/uitest/ui_logger_dsl/dialog_commands.tx b/uitest/ui_logger_dsl/dialog_commands.tx
new file mode 100644
index 000000000..b1837f7ef
--- /dev/null
+++ b/uitest/ui_logger_dsl/dialog_commands.tx
@@ -0,0 +1,24 @@
+/*
+ this file for the Dialog commands
+ It handle all types of Dialog the Modeless and the Modal
+ Also It handle the Close Dialog Commands
+*/
+DialogCommand:
+ OpenDialog | CloseDialog
+;
+
+OpenDialog:
+ OpenModalDialog | OpenModelessDialog
+;
+OpenModalDialog :
+ 'Open Modal ' dialog_name=ID
+;
+OpenModelessDialog :
+ 'Open Modeless ' dialog_name=ID
+;
+
+CloseDialog:
+ //the additional_note=STRING? if you need to add name in the future
+ //Also it's used to make instance of the command of type CloseDialog
+ 'Close Dialog' additional_note=STRING?
+;