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

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



2082
2083
2084
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2082

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


2075
2076
2077
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2075

def resource_name
  @resource_name
end

#screen_idString

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

Returns:

  • (String)


2080
2081
2082
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2080

def screen_id
  @screen_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2087
2088
2089
2090
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2087

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