Module: MobyController::QT::Tap
- Includes:
- Abstraction
- Defined in:
- lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/tap.rb
Instance Method Summary collapse
-
#make_message ⇒ Object
Creates service command message which will be sent to @sut_adapter by execute method == params == returns == raises.
Instance Method Details
#make_message ⇒ Object
Creates service command message which will be sent to @sut_adapter by execute method
params
returns
raises
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/tap.rb', line 32 def Comms::MessageGenerator.generate( Nokogiri::XML::Builder.new{ TasCommands( :service => "uiCommand" ) { Target( :TasId => 1, :type => "Application" ) { Command( :name => "TapScreen", :x => get_x, :y => get_y, :button => 1, :count => 1, :mouseMove => true, :useCoordinates => true, :time_to_hold => get_hold ) } } }.to_xml ) end |