class Gametel::Views::ListItem

Public Instance Methods

has_image?() click to toggle source
# File lib/gametel/views/list_item.rb, line 17
def has_image?
  platform.list_item_has_image(locator)
end
has_text?(text) click to toggle source
# File lib/gametel/views/list_item.rb, line 9
def has_text?(text)
  the_text = ''
  self.text.each do |txt|
    the_text += txt + ' '
  end
  return the_text.include? text
end
text() click to toggle source
# File lib/gametel/views/list_item.rb, line 5
def text
  platform.text_from_list_item(locator)
end

Protected Instance Methods

build_property_methods() click to toggle source
# File lib/gametel/views/list_item.rb, line 23
def build_property_methods
  # do nothing
end