Method: MobyCommand::WidgetCommand#set_object_id
- Defined in:
- lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/widget.rb
#set_object_id(id) ⇒ Object
Object id of the target object
params
- id
-
Id of the Object
returns
raises
- ArgumentError
-
When the supplied id is not of type String
124 125 126 127 128 129 130 |
# File 'lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/widget.rb', line 124 def set_object_id( id ) id.check_type [ NilClass, String ], 'wrong argument type $1 for object id (expected $2)' @_object_id = id end |