Class: Google::Apis::ToolresultsV1::OverlappingUiElements

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/toolresults_v1/classes.rb,
generated/google/apis/toolresults_v1/representations.rb,
generated/google/apis/toolresults_v1/representations.rb

Overview

A warning that Robo encountered a screen that has overlapping clickable elements; this may indicate a potential UI issue.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ OverlappingUiElements

Returns a new instance of OverlappingUiElements.



433
434
435
# File 'generated/google/apis/toolresults_v1/classes.rb', line 433

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#resource_nameArray<String>

Resource names of the overlapping screen elements Corresponds to the JSON property resourceName

Returns:

  • (Array<String>)


426
427
428
# File 'generated/google/apis/toolresults_v1/classes.rb', line 426

def resource_name
  @resource_name
end

#screen_idString

The screen id of the elements Corresponds to the JSON property screenId

Returns:

  • (String)


431
432
433
# File 'generated/google/apis/toolresults_v1/classes.rb', line 431

def screen_id
  @screen_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



438
439
440
441
# File 'generated/google/apis/toolresults_v1/classes.rb', line 438

def update!(**args)
  @resource_name = args[:resource_name] if args.key?(:resource_name)
  @screen_id = args[:screen_id] if args.key?(:screen_id)
end