class UIAuto::Listeners::BaseListener
Public Instance Methods
UI Automation's logElementTree was called. element_tree
contains the entire tree.
# File lib/uiauto/listeners/base_listener.rb, line 57 def element_tree(element_tree) end
After an element tree is finished.
# File lib/uiauto/listeners/base_listener.rb, line 69 def element_tree_finish end
A line from an element tree.
# File lib/uiauto/listeners/base_listener.rb, line 65 def element_tree_line(line) end
Before an element tree starts.
# File lib/uiauto/listeners/base_listener.rb, line 61 def element_tree_start end
Raw instruments output.
# File lib/uiauto/listeners/base_listener.rb, line 85 def instruments_line(line) end
Called if a script contains a comment header to load simulator data.
# File lib/uiauto/listeners/base_listener.rb, line 13 def load_simulator_data(path) end
Message printed by UI Automation's logDebug. Also prints actions such as tap, typeString, etc…
# File lib/uiauto/listeners/base_listener.rb, line 33 def log_debug(message) end
Message printed by UI Automation's logMessage.
# File lib/uiauto/listeners/base_listener.rb, line 41 def log_default(message) end
Message printed by UI Automation's logError.
# File lib/uiauto/listeners/base_listener.rb, line 37 def log_error(message) end
Message printed by UI Automation's logFail.
# File lib/uiauto/listeners/base_listener.rb, line 25 def log_fail(message) end
Message printed by UI Automation's logIssue.
# File lib/uiauto/listeners/base_listener.rb, line 29 def log_issue(message) end
An uncategorized log type. Typically uncaught javascript errors.
# File lib/uiauto/listeners/base_listener.rb, line 49 def log_none(message) end
Message printed by UI Automation's logPass.
# File lib/uiauto/listeners/base_listener.rb, line 21 def log_pass(message) end
Message printed by UI Automation's logStart.
# File lib/uiauto/listeners/base_listener.rb, line 17 def log_start(message) end
Typically reports a script was stopped by user, but is caused by a failed import
# File lib/uiauto/listeners/base_listener.rb, line 53 def log_stopped(message) end
Message printed by UI Automation's logWarning.
# File lib/uiauto/listeners/base_listener.rb, line 45 def log_warning(message) end
After a run finished.
# File lib/uiauto/listeners/base_listener.rb, line 89 def run_finish end
Before a run is started. A run contains one or more scripts.
# File lib/uiauto/listeners/base_listener.rb, line 5 def run_start end
After a script is finished.
# File lib/uiauto/listeners/base_listener.rb, line 77 def script_finish(script) end
Before a script is started.
# File lib/uiauto/listeners/base_listener.rb, line 9 def script_start(script) end
After a script is finished. Duration and trace location as reported by instruments.
# File lib/uiauto/listeners/base_listener.rb, line 73 def script_summary(duration, trace_location) end
Misc lines from instruments that are not called in above methods.
# File lib/uiauto/listeners/base_listener.rb, line 81 def unknown(line) end