lib/scoutui/commands/utils.rb in scoutui-2.0.3.33.pre vs lib/scoutui/commands/utils.rb in scoutui-2.0.3.34.pre

- old
+ new

@@ -22,10 +22,11 @@ 'frame', 'highlight', 'submitform', 'type', 'click', + 'loaddata', 'loadrequirements', 'mouseover', 'navigate', 'select', 'select_window', @@ -254,10 +255,15 @@ def isFillForm?(_action) !_action.match(/fillform\(/i).nil? end + def isLoadData?(_action) + !_action.match(/^\s*loaddata\s*$/i).nil? + end + + def isLoadRequirements?(_action) !_action.match(/^\s*loadrequirements\s*$/i).nil? end def isMouseOver?(_action) @@ -322,9 +328,11 @@ @totalCommands['type']+=1 elsif isClick?(cmd) @totalCommands['click']+=1 elsif isMouseOver?(cmd) @totalCommands['mouseover']+=1 + elsif isLoadData?(cmd) + @totalCommands['loaddata']+=1 elsif isLoadRequirements?(cmd) @totalCommands['loadrequirements']+=1 elsif isSelect?(cmd) @totalCommands['select']+=1 elsif isNavigate?(cmd)