testability-driver-qt-sut-plugin 1.3.1 → 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. data/installer/extconf.rb +1 -1
  2. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/action.rb +4 -4
  3. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/application.rb +5 -2
  4. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/attribute.rb +130 -91
  5. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/configure_behaviour.rb +3 -3
  6. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/events.rb +5 -0
  7. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/file_transfer.rb +40 -26
  8. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/find.rb +1 -1
  9. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/fps.rb +88 -71
  10. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/gesture.rb +10 -10
  11. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/infologger.rb +5 -5
  12. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/key_press.rb +3 -3
  13. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/method.rb +2 -2
  14. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/multitouch.rb +2 -2
  15. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/os.rb +4 -4
  16. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/qt_api_method.rb +5 -5
  17. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/record.rb +3 -3
  18. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/screen_capture.rb +11 -11
  19. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/settings.rb +8 -8
  20. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/sut.rb +12 -12
  21. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/synchronization.rb +7 -7
  22. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/treewidgetitemcolumn.rb +1 -1
  23. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/type_text.rb +1 -1
  24. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/view_item.rb +1 -1
  25. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/webkit.rb +126 -126
  26. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/behaviours/widget.rb +49 -29
  27. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/group.rb +17 -21
  28. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/qt.rb +4 -3
  29. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/widget.rb +59 -86
  30. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/application.rb +19 -17
  31. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/group.rb +13 -10
  32. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/widget.rb +38 -25
  33. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/plugin.rb +6 -7
  34. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/util/fixture_parameter.rb +1 -1
  35. data/lib/testability-driver-plugins/testability-driver-qt-sut-plugin/util/widget.rb +1 -4
  36. data/xml/template/qt.xml +1 -0
  37. metadata +28 -9
@@ -66,7 +66,7 @@ module MobyBehaviour
66
66
  rescue Exception => e
67
67
  ##$logger.behaviour "FAIL;Failed to find test object.;#{id.to_s};sut;{};find;" << (find_hash.kind_of?(Hash) ? find_hash.inspect : find_hash.class.to_s)
68
68
  ## Rescue from center and flick
69
- Kernel::raise e
69
+ raise e
70
70
  end
71
71
  $logger.behaviour "PASS;Test object found and centered.;#{id.to_s};sut;{};application;" << find_hash.inspect
72
72
  search_result
@@ -41,23 +41,22 @@ module MobyBehaviour
41
41
  # == objects
42
42
  # *
43
43
  #
44
- module Fps
45
-
46
- include MobyBehaviour::QT::Behaviour
44
+ module Fps
47
45
 
46
+ include MobyBehaviour::QT::Behaviour
48
47
 
49
48
  # == description
50
49
  # Start collecting frames per second data for the object.
51
- # Testability driver qttas package provides a fixture for measuring fps of a component.
52
- # This behaviour is a wrapper for the fixture.
53
- # The fixture intercepts paint events send to the target of the fps measurement and simply
54
- # counts how many occur during each second. The way this is done differs a bit depending
55
- # on the target object. For normal QWidgets the fps values are measured to the target
56
- # object direclty. QGraphicsItem based objects this is not the case. For QGrapchisItem
57
- # based objects the system determines the QGraphicsView the item is in and starts to
58
- # listen to paint evets send to the viewport of the QGraphicsView. If you measure the
59
- # QGraphicsView object directly the measurement is also done for the viewport.
60
- #
50
+ # Testability driver qttas package provides a fixture for measuring fps of a component.
51
+ # This behaviour is a wrapper for the fixture.
52
+ # The fixture intercepts paint events send to the target of the fps measurement and simply
53
+ # counts how many occur during each second. The way this is done differs a bit depending
54
+ # on the target object. For normal QWidgets the fps values are measured to the target
55
+ # object direclty. QGraphicsItem based objects this is not the case. For QGrapchisItem
56
+ # based objects the system determines the QGraphicsView the item is in and starts to
57
+ # listen to paint evets send to the viewport of the QGraphicsView. If you measure the
58
+ # QGraphicsView object directly the measurement is also done for the viewport.
59
+ #
61
60
  # == returns
62
61
  # NilClass
63
62
  # description: -
@@ -67,106 +66,124 @@ module MobyBehaviour
67
66
  # ArgumentError
68
67
  # description: In case the given parameters are not valid.
69
68
  #
70
- def start_fps_measurement
69
+ def start_fps_measurement
70
+
71
+ begin
72
+
73
+ fixture('fps', 'startFps')
71
74
 
72
- begin
73
- self.fixture('fps', 'startFps')
74
- rescue Exception => e
75
+ rescue Exception
75
76
 
76
- $logger.behaviour "FAIL;Failed start_fps_measurement.;#{ identity };start_fps_measurement;"
77
- Kernel::raise e
77
+ $logger.behaviour "FAIL;Failed start_fps_measurement.;#{ identity };start_fps_measurement;"
78
+ raise
78
79
 
79
- end
80
+ end
80
81
 
81
- $logger.behaviour "PASS;Operation start_fps_measurement executed successfully.;#{ identity };start_fps_measurement;"
82
+ $logger.behaviour "PASS;Operation start_fps_measurement executed successfully.;#{ identity };start_fps_measurement;"
82
83
 
83
- nil
84
- end
84
+ nil
85
+
86
+ end
85
87
 
86
88
  # == description
87
89
  # Stop collecting frames per second data for the object.
88
- #
90
+ #
89
91
  # == returns
90
92
  # Array
91
- # description: An Array of fps entries. Each entry is a hash table that contains the
92
- # value and time stamp {value => 12, time_stamp => 06:49:42.259}
93
- # example: [{value => 12, time_stamp => 06:49:42.259}, {value => 11, time_stamp => 06:49:43.259}]
93
+ # description: An Array of fps entries. Each entry is a hash table that contains the value and time stamp {value => 12, time_stamp => 06:49:42.259}
94
+ # example: [{value => 12, time_stamp => 06:49:42.259}, {value => 11, time_stamp => 06:49:43.259}]
94
95
  #
95
96
  # == exceptions
96
97
  # ArgumentError
97
98
  # description: In case the given parameters are not valid.
98
99
  #
99
- def stop_fps_measurement
100
+ def stop_fps_measurement
100
101
 
101
- begin
102
- results = parse_results( self.fixture('fps', 'stopFps') )
103
- rescue Exception => e
102
+ begin
104
103
 
105
- $logger.behaviour "FAIL;Failed stop_fps_measurement.;#{ identity };stop_fps_measurement;"
106
- Kernel::raise e
104
+ results = parse_results( fixture('fps', 'stopFps') )
107
105
 
108
- end
106
+ rescue Exception
109
107
 
110
- $logger.behaviour "PASS;Operation stop_fps_measurement executed successfully.;#{ identity };stop_fps_measurement;"
108
+ $logger.behaviour "FAIL;Failed stop_fps_measurement.;#{ identity };stop_fps_measurement;"
111
109
 
112
- results
113
- end
110
+ raise
114
111
 
112
+ end
113
+
114
+ $logger.behaviour "PASS;Operation stop_fps_measurement executed successfully.;#{ identity };stop_fps_measurement;"
115
+
116
+ results
117
+
118
+ end
115
119
 
116
120
  # == description
117
121
  # Collect the stored fps results from the target. This will not stop the measurement but it will restart it
118
- # so the results returned will not be included in the next data request. Measuring fps will have a small impact
119
- # on the software performance and memory consumption so it is recommended that the collection is stopped if no longer
120
- # needed.
121
- #
122
+ # so the results returned will not be included in the next data request. Measuring fps will have a small impact
123
+ # on the software performance and memory consumption so it is recommended that the collection is stopped if no longer
124
+ # needed.
125
+ #
122
126
  # == returns
123
127
  # Array
124
128
  # description: An Array of fps entries. Each entry is a hash table that contains the
125
- # value and time stamp {value => 12, time_stamp => 06:49:42.259}
129
+ # value and time stamp {value => 12, time_stamp => 06:49:42.259}
126
130
  # example: [{value => 12, time_stamp => 06:49:42.259}, {value => 11, time_stamp => 06:49:43.259}]
127
131
  #
128
132
  # == exceptions
129
133
  # ArgumentError
130
134
  # description: In case the given parameters are not valid.
131
135
  #
132
- def collect_fps_data
136
+ def collect_fps_data
137
+
138
+ begin
139
+
140
+ results = parse_results( fixture('fps', 'collectData') )
141
+
142
+ rescue Exception
143
+
144
+ $logger.behaviour "FAIL;Failed collect_fps_data.;#{ identity };collect_fps_data;"
145
+
146
+ raise
147
+
148
+ end
149
+
150
+ $logger.behaviour "PASS;Operation collect_fps_data executed successfully.;#{ identity };collect_fps_data;"
151
+
152
+ results
153
+
154
+ end
155
+
156
+ private
157
+
158
+ def parse_results( results_xml )
159
+
160
+ state_object = @sut.state_object( results_xml )
161
+
162
+ results = []
133
163
 
134
- begin
135
- results = parse_results( self.fixture('fps', 'collectData') )
136
- rescue Exception => e
164
+ count = state_object.results.attribute('count').to_i
137
165
 
138
- $logger.behaviour "FAIL;Failed collect_fps_data.;#{ identity };collect_fps_data;"
139
- Kernel::raise e
166
+ for i in 0...count
167
+
168
+ value = state_object.fps(:id => i.to_s).attribute('frameCount').to_i
140
169
 
141
- end
170
+ time_stamp = state_object.fps(:id => i.to_s).attribute('timeStamp')
142
171
 
143
- $logger.behaviour "PASS;Operation collect_fps_data executed successfully.;#{ identity };collect_fps_data;"
172
+ entry = {:value => value, :time_stamp => time_stamp}
144
173
 
145
- results
146
- end
174
+ results.push(entry)
147
175
 
148
- private
149
-
150
- def parse_results(results_xml)
151
- xml_as_object = @sut.state_object( results_xml )
152
- results = []
153
- count = xml_as_object.results.attribute('count').to_i
154
- for i in 0...count
155
- value = xml_as_object.fps(:id => i.to_s).attribute('frameCount').to_i
156
- time_stamp = xml_as_object.fps(:id => i.to_s).attribute('timeStamp')
157
- entry = {:value => value, :time_stamp => time_stamp}
158
- results.push(entry)
159
- end
160
- results
161
- end
162
-
176
+ end
163
177
 
164
- # enable hooking for performance measurement & debug logging
165
- TDriver::Hooking.hook_methods( self ) if defined?( TDriver::Hooking )
178
+ results
166
179
 
180
+ end
181
+
182
+ # enable hooking for performance measurement & debug logging
183
+ TDriver::Hooking.hook_methods( self ) if defined?( TDriver::Hooking )
167
184
 
168
- end # Fps
185
+ end # Fps
169
186
 
170
- end
187
+ end # QT
171
188
 
172
189
  end # MobyBase
@@ -106,7 +106,7 @@ module MobyBehaviour
106
106
  rescue Exception => e
107
107
 
108
108
  $logger.behaviour "FAIL;Failed flick with direction \"#{direction}\", button \"#{button.to_s}\".;#{identity};flick;"
109
- Kernel::raise e
109
+ raise e
110
110
  end
111
111
 
112
112
  $logger.behaviour "PASS;Operation flick executed successfully with direction \"#{direction}\", button \"#{button.to_s}\".;#{identity};flick;"
@@ -182,7 +182,7 @@ module MobyBehaviour
182
182
  rescue Exception => e
183
183
 
184
184
  $logger.behaviour "FAIL;Failed flick_to with x \"#{x}\", y \"#{y}\", button \"#{button.to_s}\".;#{identity};drag;"
185
- Kernel::raise e
185
+ raise e
186
186
 
187
187
  end
188
188
 
@@ -275,7 +275,7 @@ module MobyBehaviour
275
275
  rescue Exception => e
276
276
 
277
277
  $logger.behaviour "FAIL;Failed gesture with direction \"#{direction}\", speed \"#{speed.to_s}\", distance \"#{distance.to_s}\".;#{identity};gesture;"
278
- Kernel::raise e
278
+ raise e
279
279
  end
280
280
 
281
281
  $logger.behaviour "PASS;Operation gesture executed successfully with direction \"#{direction}\", speed \"#{speed.to_s}\", distance \"#{distance.to_s}\".;#{identity};gesture;"
@@ -351,7 +351,7 @@ module MobyBehaviour
351
351
  rescue Exception => e
352
352
 
353
353
  $logger.behaviour "FAIL;Failed gesture_to with x \"#{x}\", y \"#{y}\", speed \"#{speed.to_s}\", button \".;#{identity};gesture;"
354
- Kernel::raise e
354
+ raise e
355
355
  end
356
356
 
357
357
  $logger.behaviour "PASS;Operation gesture_to executed successfully with x \"#{x}\", y \"#{y}\", speed \"#{speed.to_s}\".;#{identity};gesture;"
@@ -424,7 +424,7 @@ module MobyBehaviour
424
424
 
425
425
  rescue Exception => e
426
426
  $logger.behaviour "FAIL;Failed gesture_from with x \"#{x}\", y \"#{y}\", speed \"#{speed.to_s}\", distance \"#{distance.to_s}\", button \".;#{identity};gesture;"
427
- Kernel::raise e
427
+ raise e
428
428
  end
429
429
  $logger.behaviour "PASS;Operation gesture_from executed successfully with x \"#{x}\", y \"#{y}\", speed \"#{speed.to_s}\", distance \"#{distance.to_s}\".;#{identity};gesture;"
430
430
  self
@@ -496,7 +496,7 @@ module MobyBehaviour
496
496
  rescue Exception => e
497
497
 
498
498
  $logger.behaviour "FAIL;Failed gesture_to_object with button.;#{identity};drag;"
499
- Kernel::raise e
499
+ raise e
500
500
 
501
501
  end
502
502
 
@@ -684,7 +684,7 @@ module MobyBehaviour
684
684
  rescue Exception => e
685
685
 
686
686
  $logger.behaviour "FAIL;Failed drag with direction \"#{direction}\", distance \"#{distance}\", button \"#{button.to_s}\".;#{identity};drag;"
687
- Kernel::raise e
687
+ raise e
688
688
 
689
689
  end
690
690
 
@@ -738,7 +738,7 @@ module MobyBehaviour
738
738
 
739
739
  rescue Exception => e
740
740
  $logger.behaviour "FAIL;Failed drag_to with x \"#{x}\", y \"#{y}\", button \"#{button.to_s}\".;#{identity};drag;"
741
- Kernel::raise e
741
+ raise e
742
742
  end
743
743
 
744
744
  $logger.behaviour "PASS;Operation drag_to executed successfully with x \"#{x}\", y \"#{y}\", button \"#{button.to_s}\".;#{identity};drag;"
@@ -804,7 +804,7 @@ module MobyBehaviour
804
804
  rescue Exception => e
805
805
 
806
806
  $logger.behaviour "FAIL;Failed drag_to_object with button \"#{button.to_s}\".;#{identity};drag;"
807
- Kernel::raise e
807
+ raise e
808
808
 
809
809
  end
810
810
 
@@ -874,7 +874,7 @@ module MobyBehaviour
874
874
  rescue Exception => e
875
875
 
876
876
  $logger.behaviour "FAIL;Failed move with direction \"#{direction}\", distance \"#{distance}\",.;#{identity};move;"
877
- Kernel::raise e
877
+ raise e
878
878
 
879
879
  end
880
880
 
@@ -611,7 +611,7 @@ module MobyBehaviour
611
611
  # params
612
612
  # Hash
613
613
  # description: Optional params hash. If :clearLog => true given will clear the log when loading by default log will not be cleared.
614
- # example: {:clearLog = true}
614
+ # example: {:clearLog => true}
615
615
  #
616
616
  #
617
617
  # == returns
@@ -639,7 +639,7 @@ module MobyBehaviour
639
639
  # params
640
640
  # Hash
641
641
  # description: Optional params hash. If :clearLog => true given will clear the log when loading by default log will not be cleared.
642
- # example: {:clearLog = true}
642
+ # example: {:clearLog => true}
643
643
  #
644
644
  #
645
645
  # == returns
@@ -667,7 +667,7 @@ module MobyBehaviour
667
667
  # params
668
668
  # Hash
669
669
  # description: Optional params hash. If :clearLog => true given will clear the log when loading by default log will not be cleared.
670
- # example: {:clearLog = true}
670
+ # example: {:clearLog => true}
671
671
  #
672
672
  #
673
673
  # == returns
@@ -697,7 +697,7 @@ module MobyBehaviour
697
697
  # params
698
698
  # Hash
699
699
  # description: Optional params hash. If :clearLog => true given will clear the log when loading by default log will not be cleared.
700
- # example: {:clearLog = true}
700
+ # example: {:clearLog => true}
701
701
  #
702
702
  #
703
703
  # == returns
@@ -741,7 +741,7 @@ module MobyBehaviour
741
741
 
742
742
  rescue Exception => e
743
743
  $logger.behaviour "FAIL;Failed infologger \"#{params.to_s}\".;#{service};"
744
- Kernel::raise e
744
+ raise e
745
745
  end
746
746
  $logger.behaviour "PASS;Operation infologger succeeded with params \"#{params.to_s}\".;#{service};"
747
747
  ret
@@ -85,7 +85,7 @@ module MobyBehaviour
85
85
 
86
86
  command.set_require_response( true )
87
87
 
88
- #Kernel::raise ArgumentError.new( "Wrong argument type %s for key (Expected: %s)" % [ key.class, "Symbol/Fixnum/KeySequence" ] ) unless [ Fixnum, Symbol, MobyCommand::KeySequence ].include?( key.class )
88
+ #raise ArgumentError.new( "Wrong argument type %s for key (Expected: %s)" % [ key.class, "Symbol/Fixnum/KeySequence" ] ) unless [ Fixnum, Symbol, MobyCommand::KeySequence ].include?( key.class )
89
89
 
90
90
  # raise exception if value type other than Fixnum or Symbol
91
91
  key.check_type [ Fixnum, Symbol, MobyCommand::KeySequence ], 'wrong argument type $1 for key (expected $2)'
@@ -131,7 +131,7 @@ module MobyBehaviour
131
131
  scancode = key.to_i
132
132
 
133
133
  # raise exception if value is other than fixnum
134
- Kernel::raise ArgumentError.new( "Scan code for :%s not defined in keymap" % key ) unless scancode.kind_of?( Fixnum )
134
+ raise ArgumentError.new( "Scan code for :%s not defined in keymap" % key ) unless scancode.kind_of?( Fixnum )
135
135
 
136
136
  # add scancode for keypress event
137
137
  command.command_value( scancode.to_s )
@@ -141,7 +141,7 @@ module MobyBehaviour
141
141
  # execute command & verify that execution passed ("OK" expected as response)
142
142
  @sut.execute_command(command)
143
143
 
144
- #Kernel::raise RuntimeError.new("Error occured during keypress (Response: %s)" % @response ) unless ( @response = @sut.execute_command(command) ) == "OK"
144
+ #raise RuntimeError.new("Error occured during keypress (Response: %s)" % @response ) unless ( @response = @sut.execute_command(command) ) == "OK"
145
145
 
146
146
  rescue #Exception
147
147
 
@@ -75,7 +75,7 @@ module MobyBehaviour
75
75
  # description: invoking the method failed
76
76
  def call_method( method_name, *params )
77
77
 
78
- Kernel::raise ArgumentError.new( "Method name was empty" ) if method_name.empty?
78
+ raise ArgumentError.new( "Method name was empty" ) if method_name.empty?
79
79
  command = command_params #in qt_behaviour
80
80
  command.transitions_off
81
81
  command.command_name( 'CallMethod' )
@@ -94,7 +94,7 @@ module MobyBehaviour
94
94
  when TrueClass,FalseClass
95
95
  key = "B"
96
96
  else
97
- Kernel::raise ArgumentError.new( "Method parameter #{i}: Only String,Fixunum,Float and Boolean types are supported" )
97
+ raise ArgumentError.new( "Method parameter #{i}: Only String,Fixunum,Float and Boolean types are supported" )
98
98
  end
99
99
  pars["method_param#{i}"] = key+param.to_s
100
100
  }
@@ -214,7 +214,7 @@ module MobyBehaviour
214
214
 
215
215
  rescue Exception => e
216
216
  $logger.behaviour "FAIL;Failed pinch_zoom with params \"#{ params.inspect }\".;#{ identity };pinch_zoom;"
217
- Kernel::raise e
217
+ raise e
218
218
  end
219
219
 
220
220
  $logger.behaviour "PASS;Operation pinch_zoom succeeded with params \"#{ params.inspect }\".;#{ identity };pinch_zoom;"
@@ -415,7 +415,7 @@ module MobyBehaviour
415
415
  do_sleep( time )
416
416
  rescue Exception => e
417
417
  $logger.behaviour "FAIL;Failed rotate with params \"#{ params.inspect }\".;#{ identity };rotate;"
418
- Kernel::raise e
418
+ raise e
419
419
  end
420
420
 
421
421
  $logger.behaviour "PASS;Operation rotate succeeded with params \"#{ params.inspect }\".;#{ identity };rotate;"
@@ -60,10 +60,10 @@ module MobyBehaviour
60
60
  ##open file is done without ui state update so wait for the dialog to open
61
61
  # sleep 0.2
62
62
  # @sut.execute_command(command)
63
- # self.force_refresh
63
+ # force_refresh
64
64
  # rescue Exception => e
65
65
  # $logger.behaviour "FAIL;Failed open_file with path \"#{path}\", dialog_name \"#{dialog_name}\", button \"#{button.to_s}\".;#{identity};open_file;"
66
- # Kernel::raise e
66
+ # raise e
67
67
  # end
68
68
  # $logger.behaviour "PASS;Operation file executed successfully with path \"#{path}\", dialog_name \"#{dialog_name}\", button \"#{button.to_s}\".;#{identity};open_file;"
69
69
  # nil
@@ -83,10 +83,10 @@ module MobyBehaviour
83
83
  interval = (interval*1000).to_i
84
84
  params = {:interval => interval}
85
85
  end
86
- self.execute_command( MobyCommand::WidgetCommand.new( nil, nil, nil, 'PressEnter', params, nil, 'uiCommand') )
86
+ execute_command( MobyCommand::WidgetCommand.new( nil, nil, nil, 'PressEnter', params, nil, 'uiCommand') )
87
87
  rescue Exception => e
88
88
  $logger.behaviour "FAIL;Failed to send an Enter keystroke request to the qttas server;press_enter;"
89
- Kernel::raise e
89
+ raise e
90
90
  end
91
91
  $logger.behaviour "PASS;Successfuly sent an Enter keystroke request to the qttas server;press_enter;"
92
92
  nil