Class: Google::Apis::ToolresultsV1beta3::OverlappingUiElements

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/toolresults_v1beta3/classes.rb,
generated/google/apis/toolresults_v1beta3/representations.rb,
generated/google/apis/toolresults_v1beta3/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

Constructor Details

#initialize(**args) ⇒ OverlappingUiElements

Returns a new instance of OverlappingUiElements.



2042
2043
2044
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2042

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>)


2035
2036
2037
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2035

def resource_name
  @resource_name
end

#screen_idString

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

Returns:

  • (String)


2040
2041
2042
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2040

def screen_id
  @screen_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2047
2048
2049
2050
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2047

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