Module: MobyController::QT::Group
- Includes:
- Abstraction
- Defined in:
- lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/group.rb
Instance Method Summary collapse
-
#execute ⇒ Object
Execute the command).
Instance Method Details
#execute ⇒ Object
Execute the command). Sends the message to the device using the @sut_adapter (see base class)
params
returns
raises
NotImplementedError: raised if unsupported command type
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/group.rb', line 34 def execute builder = Nokogiri::XML::Builder.new{ TasCommands( :id=> application.id.to_s, :transitions => 'true', :service => 'uiCommand', :interval => interval.to_s, :multitouch => multitouch.to_s ) } @sut_adapter.( builder ) @block.call @sut_adapter.send_grouped_request end |