class RAutomation::Adapter::MsUia::TabControl::TabItem
Attributes
index[R]
text[R]
Public Class Methods
new(tab_control, text, index)
click to toggle source
# File lib/rautomation/adapter/ms_uia/tab_control.rb, line 9 def initialize(tab_control, text, index) @tab_control, @text, @index = tab_control, text, index end
Public Instance Methods
select()
click to toggle source
# File lib/rautomation/adapter/ms_uia/tab_control.rb, line 13 def select UiaDll::select_tab(@tab_control.search_information, index) end
selected?()
click to toggle source
# File lib/rautomation/adapter/ms_uia/tab_control.rb, line 17 def selected? @index == UiaDll::tab_control_selected_index(@tab_control.search_information) end