Module: MobyController::QT::Group

Includes:
Abstraction
Defined in:
lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/group.rb

Instance Method Summary collapse

Instance Method Details

#executeObject

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.set_message_builder( builder )

  @block.call

  @sut_adapter.send_grouped_request

end