cutedriver-qt-sut-plugin 2.0.0.20210120165900

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. checksums.yaml +7 -0
  2. data/env.rb +24 -0
  3. data/installer/extconf.rb +62 -0
  4. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin.rb +23 -0
  5. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/action.rb +157 -0
  6. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/application.rb +312 -0
  7. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/attribute.rb +300 -0
  8. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/behaviour.rb +214 -0
  9. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/configure_behaviour.rb +317 -0
  10. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/cute_cpu.rb +145 -0
  11. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/cute_gpu.rb +147 -0
  12. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/cute_mem.rb +142 -0
  13. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/cute_pwr.rb +146 -0
  14. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/events.rb +192 -0
  15. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/file_transfer.rb +375 -0
  16. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/find.rb +82 -0
  17. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/fixture.rb +214 -0
  18. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/fps.rb +189 -0
  19. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/gesture.rb +1039 -0
  20. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/infologger.rb +767 -0
  21. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/key_press.rb +166 -0
  22. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/locale_db.rb +157 -0
  23. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/method.rb +112 -0
  24. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/multitouch.rb +474 -0
  25. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/os.rb +100 -0
  26. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/qt_api_method.rb +148 -0
  27. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/record.rb +134 -0
  28. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/screen_capture.rb +279 -0
  29. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/settings.rb +302 -0
  30. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/sut.rb +840 -0
  31. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/synchronization.rb +257 -0
  32. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/treewidgetitemcolumn.rb +117 -0
  33. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/type_text.rb +97 -0
  34. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/view_item.rb +97 -0
  35. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/webkit.rb +272 -0
  36. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/widget.rb +877 -0
  37. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/action.rb +30 -0
  38. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/configure_command.rb +38 -0
  39. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/drag.rb +44 -0
  40. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/find_object.rb +67 -0
  41. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/group.rb +44 -0
  42. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/infologger_command.rb +38 -0
  43. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/qt.rb +171 -0
  44. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/tap.rb +54 -0
  45. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/version.rb +34 -0
  46. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/widget.rb +199 -0
  47. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/agent.rb +54 -0
  48. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/application.rb +192 -0
  49. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/configure_command.rb +53 -0
  50. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/find_object.rb +48 -0
  51. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/fixture.rb +65 -0
  52. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/group.rb +57 -0
  53. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/infologger_command.rb +53 -0
  54. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/key_sequence.rb +93 -0
  55. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/screen_capture.rb +53 -0
  56. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/tap.rb +62 -0
  57. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/version.rb +46 -0
  58. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/widget.rb +98 -0
  59. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/plugin.rb +200 -0
  60. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/sut/adapter.rb +466 -0
  61. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/sut/communication.rb +185 -0
  62. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/sut/controller.rb +69 -0
  63. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/util/find_object_generator.rb +287 -0
  64. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/util/fixture_parameter.rb +77 -0
  65. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/util/message_composer.rb +370 -0
  66. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/util/widget.rb +79 -0
  67. data/lib/testability-driver-qt-sut-plugin.rb +24 -0
  68. data/xml/behaviour/qt.xml +845 -0
  69. data/xml/defaults/sut_qt.xml +9 -0
  70. data/xml/keymap/qt.xml +321 -0
  71. data/xml/keymap/win.xml +174 -0
  72. data/xml/template/qt.xml +141 -0
  73. metadata +127 -0
@@ -0,0 +1,53 @@
1
+ ############################################################################
2
+ ##
3
+ ## Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4
+ ## All rights reserved.
5
+ ## Contact: Nokia Corporation (testabilitydriver@nokia.com)
6
+ ##
7
+ ## This file is part of TDriver.
8
+ ##
9
+ ## If you have questions regarding the use of this file, please contact
10
+ ## Nokia at testabilitydriver@nokia.com .
11
+ ##
12
+ ## This library is free software; you can redistribute it and/or
13
+ ## modify it under the terms of the GNU Lesser General Public
14
+ ## License version 2.1 as published by the Free Software Foundation
15
+ ## and appearing in the file LICENSE.LGPL included in the packaging
16
+ ## of this file.
17
+ ##
18
+ ############################################################################
19
+
20
+ module MobyController
21
+
22
+ module QT
23
+
24
+ module ConfigureCommand
25
+
26
+ include MobyController::Abstraction
27
+
28
+ # Creates service command message which will be sent to @sut_adapter by execute method
29
+ # == params
30
+ # == returns
31
+ # == raises
32
+ def make_message
33
+
34
+ Comms::MessageGenerator.generate(
35
+ Nokogiri::XML::Builder.new{
36
+ TasCommands( :service => "confService", :id=> application_id ) {
37
+ Target( :TasId => "Application" ){
38
+ Command( value || "", ( params || {} ).merge( :name => name ) )
39
+ }
40
+ }
41
+ }.to_xml
42
+ )
43
+
44
+ end
45
+
46
+ # enable hooking for performance measurement & debug logging
47
+ TDriver::Hooking.hook_methods( self ) if defined?( TDriver::Hooking )
48
+
49
+ end # ConfigureCommand
50
+
51
+ end # QT
52
+
53
+ end # MobyController
@@ -0,0 +1,48 @@
1
+ ############################################################################
2
+ ##
3
+ ## Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4
+ ## All rights reserved.
5
+ ## Contact: Nokia Corporation (testabilitydriver@nokia.com)
6
+ ##
7
+ ## This file is part of TDriver.
8
+ ##
9
+ ## If you have questions regarding the use of this file, please contact
10
+ ## Nokia at testabilitydriver@nokia.com .
11
+ ##
12
+ ## This library is free software; you can redistribute it and/or
13
+ ## modify it under the terms of the GNU Lesser General Public
14
+ ## License version 2.1 as published by the Free Software Foundation
15
+ ## and appearing in the file LICENSE.LGPL included in the packaging
16
+ ## of this file.
17
+ ##
18
+ ############################################################################
19
+
20
+ module MobyController
21
+
22
+ module QT
23
+
24
+ module FindObjectCommand
25
+
26
+ include MobyUtil::FindObjectGenerator
27
+
28
+ include MobyController::Abstraction
29
+
30
+ # Creates service command message which will be sent to @sut_adapter by execute method
31
+ # == params
32
+ # == returns
33
+ # == raises
34
+ def make_message
35
+
36
+ # *[ message, return_crc ]
37
+ [ Comms::MessageGenerator.generate( generate_message ), true ]
38
+
39
+ end
40
+
41
+ # enable hooking for performance measurement & debug logging
42
+ TDriver::Hooking.hook_methods( self ) if defined?( TDriver::Hooking )
43
+
44
+ end # FindObjectCommand
45
+
46
+ end # QT
47
+
48
+ end # MobyController
@@ -0,0 +1,65 @@
1
+ ############################################################################
2
+ ##
3
+ ## Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4
+ ## All rights reserved.
5
+ ## Contact: Nokia Corporation (testabilitydriver@nokia.com)
6
+ ##
7
+ ## This file is part of TDriver.
8
+ ##
9
+ ## If you have questions regarding the use of this file, please contact
10
+ ## Nokia at testabilitydriver@nokia.com .
11
+ ##
12
+ ## This library is free software; you can redistribute it and/or
13
+ ## modify it under the terms of the GNU Lesser General Public
14
+ ## License version 2.1 as published by the Free Software Foundation
15
+ ## and appearing in the file LICENSE.LGPL included in the packaging
16
+ ## of this file.
17
+ ##
18
+ ############################################################################
19
+
20
+ module MobyController
21
+
22
+ module QT
23
+
24
+ module Fixture
25
+
26
+ include MobyUtil::MessageComposer
27
+
28
+ include MobyController::Abstraction
29
+
30
+ # Creates service command message which will be sent to @sut_adapter by execute method
31
+ # == params
32
+ # == returns
33
+ # == raises
34
+ def make_message
35
+
36
+ # use local variable for less AST lookups
37
+ sut_id = @sut_adapter.sut_id.to_sym
38
+
39
+ plugin_name = @params[ :name ].to_s
40
+
41
+ # retrieve plugin details from fixtures configuration
42
+ plugin_params = $parameters[ sut_id ][ :fixtures ][ plugin_name.to_sym, nil ]
43
+
44
+ # verify that plugin is configured
45
+ plugin_params.not_nil "Fixture #{ plugin_name.inspect } not found for #{ sut_id.inspect }"
46
+
47
+ # retrieve plugin name
48
+ fixture_plugin = plugin_params.kind_of?( String ) ? plugin_params : plugin_params[ :plugin ]
49
+
50
+ Comms::MessageGenerator.generate(
51
+ make_fixture_message(
52
+ fixture_plugin, @params
53
+ )
54
+ )
55
+
56
+ end
57
+
58
+ # enable hooking for performance measurement & debug logging
59
+ TDriver::Hooking.hook_methods( self ) if defined?( TDriver::Hooking )
60
+
61
+ end # Fixture
62
+
63
+ end # QT
64
+
65
+ end # MobyController
@@ -0,0 +1,57 @@
1
+ ############################################################################
2
+ ##
3
+ ## Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4
+ ## All rights reserved.
5
+ ## Contact: Nokia Corporation (testabilitydriver@nokia.com)
6
+ ##
7
+ ## This file is part of TDriver.
8
+ ##
9
+ ## If you have questions regarding the use of this file, please contact
10
+ ## Nokia at testabilitydriver@nokia.com .
11
+ ##
12
+ ## This library is free software; you can redistribute it and/or
13
+ ## modify it under the terms of the GNU Lesser General Public
14
+ ## License version 2.1 as published by the Free Software Foundation
15
+ ## and appearing in the file LICENSE.LGPL included in the packaging
16
+ ## of this file.
17
+ ##
18
+ ############################################################################
19
+
20
+ module MobyController
21
+
22
+ module QT
23
+
24
+ module Group
25
+
26
+ include MobyController::Abstraction
27
+
28
+ # Execute the command).
29
+ # Sends the message to the device using the @sut_adapter (see base class)
30
+ # == params
31
+ # == returns
32
+ # == raises
33
+ # NotImplementedError: raised if unsupported command type
34
+ def execute
35
+
36
+ builder = Nokogiri::XML::Builder.new{
37
+
38
+ TasCommands( :id=> application.id.to_s, :transitions => 'true', :service => 'uiCommand', :interval => interval.to_s, :multitouch => multitouch.to_s )
39
+
40
+ }
41
+
42
+ @sut_adapter.set_message_builder( builder )
43
+
44
+ @block.call
45
+
46
+ @sut_adapter.send_grouped_request
47
+
48
+ end
49
+
50
+ # enable hooking for performance measurement & debug logging
51
+ TDriver::Hooking.hook_methods( self ) if defined?( TDriver::Hooking )
52
+
53
+ end # Group
54
+
55
+ end # QT
56
+
57
+ end # MobyController
@@ -0,0 +1,53 @@
1
+ ############################################################################
2
+ ##
3
+ ## Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4
+ ## All rights reserved.
5
+ ## Contact: Nokia Corporation (testabilitydriver@nokia.com)
6
+ ##
7
+ ## This file is part of TDriver.
8
+ ##
9
+ ## If you have questions regarding the use of this file, please contact
10
+ ## Nokia at testabilitydriver@nokia.com .
11
+ ##
12
+ ## This library is free software; you can redistribute it and/or
13
+ ## modify it under the terms of the GNU Lesser General Public
14
+ ## License version 2.1 as published by the Free Software Foundation
15
+ ## and appearing in the file LICENSE.LGPL included in the packaging
16
+ ## of this file.
17
+ ##
18
+ ############################################################################
19
+
20
+ module MobyController
21
+
22
+ module QT
23
+
24
+ module InfoLoggerCommand
25
+
26
+ include MobyController::Abstraction
27
+
28
+ # Creates service command message which will be sent to @sut_adapter by execute method
29
+ # == params
30
+ # == returns
31
+ # == raises
32
+ def make_message
33
+
34
+ Comms::MessageGenerator.generate(
35
+ Nokogiri::XML::Builder.new{
36
+ TasCommands( :service => "infoService", :id=> application_id, :interval => params[:interval] ) {
37
+ Target( :TasId => "Application" ){
38
+ Command( value || "", ( params || {} ).merge( :name => name ) )
39
+ }
40
+ }
41
+ }.to_xml
42
+ )
43
+
44
+ end
45
+
46
+ # enable hooking for performance measurement & debug logging
47
+ TDriver::Hooking.hook_methods( self ) if defined?( TDriver::Hooking )
48
+
49
+ end # InfoLoggerCommand
50
+
51
+ end # QT
52
+
53
+ end # MobyController
@@ -0,0 +1,93 @@
1
+ ############################################################################
2
+ ##
3
+ ## Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4
+ ## All rights reserved.
5
+ ## Contact: Nokia Corporation (testabilitydriver@nokia.com)
6
+ ##
7
+ ## This file is part of TDriver.
8
+ ##
9
+ ## If you have questions regarding the use of this file, please contact
10
+ ## Nokia at testabilitydriver@nokia.com .
11
+ ##
12
+ ## This library is free software; you can redistribute it and/or
13
+ ## modify it under the terms of the GNU Lesser General Public
14
+ ## License version 2.1 as published by the Free Software Foundation
15
+ ## and appearing in the file LICENSE.LGPL included in the packaging
16
+ ## of this file.
17
+ ##
18
+ ############################################################################
19
+
20
+ module MobyController
21
+
22
+ module QT
23
+
24
+ module KeySequence
25
+
26
+ include MobyController::Abstraction
27
+
28
+ # Creates service command message which will be sent to @sut_adapter by execute method
29
+ # == params
30
+ # == returns
31
+ # == raises
32
+ def make_message
33
+
34
+ press_types = { :KeyDown => 'KeyPress', :KeyUp => 'KeyRelease' }
35
+
36
+ sut = @_sut
37
+
38
+ keymap = $parameters[ sut.id ][ :keymap ]
39
+
40
+ sequence = @sequence
41
+
42
+ message = Nokogiri::XML::Builder.new{
43
+
44
+ TasCommands( :id => sut.application.id, :transitions => 'true', :service => 'uiCommand' ){
45
+
46
+ Target( :TasId => 'FOCUSWIDGET', :type => 'Standard' ){
47
+
48
+ sequence.each{ | key_press |
49
+
50
+ key_press[ :value ].tap{ | key |
51
+
52
+ # raise exception if value type other than Fixnum or Symbol
53
+ raise ArgumentError, "Wrong argument type #{ key.class } for key (expected: Symbol or Fixnum)" unless [ Fixnum, Symbol ].include?( key.class )
54
+
55
+ # verify that keymap is defined for sut if symbol used.
56
+ raise ArgumentError, "Symbol #{ key.inspect } cannot be used due to no keymap defined for #{ sut.id } in TDriver configuration file." if key.kind_of?( Symbol ) && keymap.nil?
57
+
58
+ # fetch keycode from keymap
59
+ key = TDriver::KeymapUtilities.fetch_keycode( key, keymap )
60
+
61
+ # retrieve corresponding scan code (type of string, convert to fixnum) for symbol from keymap if available
62
+ key = key.hex if key.kind_of?( String )
63
+
64
+ # raise exception if value is other than fixnum
65
+ raise ArgumentError, "Scan code for #{ key.inspect } not defined in keymap" unless key.kind_of?( Fixnum )
66
+
67
+ # determine keypress type
68
+ press_type = press_types.fetch( key_press[ :type ], 'KeyClick' )
69
+
70
+ Command( key.to_s, "name" => press_type.to_s, "modifiers" => "0", "delay" => "0")
71
+
72
+ }
73
+
74
+ }
75
+
76
+ }
77
+
78
+ }
79
+
80
+ }.to_xml
81
+
82
+ Comms::MessageGenerator.generate( message )
83
+
84
+ end
85
+
86
+ # enable hooking for performance measurement & debug logging
87
+ TDriver::Hooking.hook_methods( self ) if defined?( TDriver::Hooking )
88
+
89
+ end # KeySequence
90
+
91
+ end # QT
92
+
93
+ end # MobyController
@@ -0,0 +1,53 @@
1
+ ############################################################################
2
+ ##
3
+ ## Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4
+ ## All rights reserved.
5
+ ## Contact: Nokia Corporation (testabilitydriver@nokia.com)
6
+ ##
7
+ ## This file is part of TDriver.
8
+ ##
9
+ ## If you have questions regarding the use of this file, please contact
10
+ ## Nokia at testabilitydriver@nokia.com .
11
+ ##
12
+ ## This library is free software; you can redistribute it and/or
13
+ ## modify it under the terms of the GNU Lesser General Public
14
+ ## License version 2.1 as published by the Free Software Foundation
15
+ ## and appearing in the file LICENSE.LGPL included in the packaging
16
+ ## of this file.
17
+ ##
18
+ ############################################################################
19
+
20
+ module MobyController
21
+
22
+ module QT
23
+
24
+ module ScreenCapture
25
+
26
+ include MobyController::Abstraction
27
+
28
+ # Creates service command message which will be sent to @sut_adapter by execute method
29
+ # == params
30
+ # == returns
31
+ # == raises
32
+ def make_message
33
+
34
+ Comms::MessageGenerator.generate(
35
+ Nokogiri::XML::Builder.new{
36
+ TasCommands( :id=> 1, :service => "screenShot" ) {
37
+ Target( :TasId => 1, :type => "Application" ) {
38
+ Command( :name => "Screenshot", :format => @context.image_mime_type, :draw => @context.redraw.to_s )
39
+ }
40
+ }
41
+ }.to_xml
42
+ )
43
+
44
+ end
45
+
46
+ # enable hooking for performance measurement & debug logging
47
+ TDriver::Hooking.hook_methods( self ) if defined?( TDriver::Hooking )
48
+
49
+ end # ScreenCapture
50
+
51
+ end # QT
52
+
53
+ end # MobyController
@@ -0,0 +1,62 @@
1
+ ############################################################################
2
+ ##
3
+ ## Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4
+ ## All rights reserved.
5
+ ## Contact: Nokia Corporation (testabilitydriver@nokia.com)
6
+ ##
7
+ ## This file is part of TDriver.
8
+ ##
9
+ ## If you have questions regarding the use of this file, please contact
10
+ ## Nokia at testabilitydriver@nokia.com .
11
+ ##
12
+ ## This library is free software; you can redistribute it and/or
13
+ ## modify it under the terms of the GNU Lesser General Public
14
+ ## License version 2.1 as published by the Free Software Foundation
15
+ ## and appearing in the file LICENSE.LGPL included in the packaging
16
+ ## of this file.
17
+ ##
18
+ ############################################################################
19
+
20
+ module MobyController
21
+
22
+ module QT
23
+
24
+ module Tap
25
+
26
+ include MobyController::Abstraction
27
+
28
+ # Creates service command message which will be sent to @sut_adapter by execute method
29
+ # == params
30
+ # == returns
31
+ # == raises
32
+ def make_message
33
+
34
+ Comms::MessageGenerator.generate(
35
+ Nokogiri::XML::Builder.new{
36
+ TasCommands( :service => "uiCommand" ) {
37
+ Target( :TasId => 1, :type => "Application" ) {
38
+ Command(
39
+ :name => "TapScreen",
40
+ :x => get_x,
41
+ :y => get_y,
42
+ :button => 1,
43
+ :count => 1,
44
+ :mouseMove => true,
45
+ :useCoordinates => true,
46
+ :time_to_hold => get_hold
47
+ )
48
+ }
49
+ }
50
+ }.to_xml
51
+ )
52
+
53
+ end
54
+
55
+ # enable hooking for performance measurement & debug logging
56
+ TDriver::Hooking.hook_methods( self ) if defined?( TDriver::Hooking )
57
+
58
+ end # Tap
59
+
60
+ end # QT
61
+
62
+ end # MobyController