summaryrefslogtreecommitdiff
path: root/uitest/ui_logger_dsl/General_commands.tx
diff options
context:
space:
mode:
authorAhmed ElShreif <aelshreif7@gmail.com>2019-07-28 23:07:25 -0500
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2019-08-19 22:56:38 +0800
commit00323f94615ac987123be8f83990028147656457 (patch)
treea7a9cea1a5b1aefff6e5bd5e9459d33889e501e8 /uitest/ui_logger_dsl/General_commands.tx
parent9545e8ac286d0e18d9526df95cbc6e7da4aca738 (diff)
uitest: update UI logger grammar
1) Make small changes in the UI logger Grammar 2) Add Comments to be more documented Change-Id: I5e68c33375870cf4a1f2537ee1a7eb997145f24f
Diffstat (limited to 'uitest/ui_logger_dsl/General_commands.tx')
-rw-r--r--uitest/ui_logger_dsl/General_commands.tx16
1 files changed, 13 insertions, 3 deletions
diff --git a/uitest/ui_logger_dsl/General_commands.tx b/uitest/ui_logger_dsl/General_commands.tx
index 1eb15f17733d..aa3645112569 100644
--- a/uitest/ui_logger_dsl/General_commands.tx
+++ b/uitest/ui_logger_dsl/General_commands.tx
@@ -1,12 +1,15 @@
/*
This file for the log statments that is general for all application
we can use it as general commands then relate it to its application
- as we have starter command
+ as we have in the starter command
//====================================
also I make set zoom to be general as it will be better
-*/
+*/
+
+import type_options
+
GeneralCommand:
- SideBar | setZoom_command | Select_command
+ SideBar | setZoom_command | Select_command | General_type_command_on_UI_Object
;
SideBar:
'From SIDEBAR ' 'Choose ' '{"PANEL":' name=STRING '}'
@@ -17,3 +20,10 @@ setZoom_command:
Select_command:
'Select ' '{"OBJECT":' name=STRING '}'
;
+
+//==================================================
+//This Part if you want to type text in any of these UI elements This will be handled with this Grammar
+
+General_type_command_on_UI_Object:
+ 'Type on' UI_Obj=STRING what_to_type=Type_options 'from' parent_id=ID
+; \ No newline at end of file