Sha256: 426d406a4c90a3bf1e5c7920e082fb2ec0ea39e290acbc18307cb818cf0b2dca

Contents?: true

Size: 459 Bytes

Versions: 18

Compression:

Stored size: 459 Bytes

Contents

module RAutomation
  module Adapter
    module MsUia
      class ListItem < Control
        include WaitHelper
        include Locators

        def exist?
          super && matches_type?(Constants::UIA_LIST_ITEM_CONTROL_TYPE)
        end

        def selected?
          UiaDll::is_selected(search_information)
        end

        alias_method :exists?, :exist?
        alias_method :value, :control_name

      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
rautomation-2.0.1-x86-mingw32 lib/rautomation/adapter/ms_uia/list_item.rb
rautomation-2.0.1-x64-mingw32 lib/rautomation/adapter/ms_uia/list_item.rb
rautomation-1.1.0 lib/rautomation/adapter/ms_uia/list_item.rb
rautomation-1.0.0 lib/rautomation/adapter/ms_uia/list_item.rb
rautomation-0.17.0 lib/rautomation/adapter/ms_uia/list_item.rb
rautomation-0.16.0 lib/rautomation/adapter/ms_uia/list_item.rb
rautomation-0.15.0 lib/rautomation/adapter/ms_uia/list_item.rb
rautomation-0.14.1 lib/rautomation/adapter/ms_uia/list_item.rb
rautomation-0.14.0 lib/rautomation/adapter/ms_uia/list_item.rb
rautomation-0.13.0 lib/rautomation/adapter/ms_uia/list_item.rb
rautomation-0.12.0 lib/rautomation/adapter/ms_uia/list_item.rb
rautomation-0.11.0 lib/rautomation/adapter/ms_uia/list_item.rb
rautomation-0.10.0 lib/rautomation/adapter/ms_uia/list_item.rb
rautomation-0.9.4 lib/rautomation/adapter/ms_uia/list_item.rb
rautomation-0.9.3 lib/rautomation/adapter/ms_uia/list_item.rb
rautomation-0.9.2 lib/rautomation/adapter/ms_uia/list_item.rb
rautomation-0.9.1 lib/rautomation/adapter/ms_uia/list_item.rb
rautomation-0.9.0 lib/rautomation/adapter/ms_uia/list_item.rb