Class: Sapphire::WebAbstractions::RadioButton

Inherits:
Control
  • Object
show all
Defined in:
lib/sapphire/WebAbstractions/Controls/RadioButton.rb

Instance Method Summary collapse

Methods inherited from Control

#Click, #Equals, #Find, #FindAll, #FindAllBy, #FindBy, #FindParent, #FindWithoutWait, #FindWithoutWaitBy, #MouseOver, #initialize

Constructor Details

This class inherits a constructor from Sapphire::WebAbstractions::Control

Instance Method Details

#Check(value) ⇒ Object



9
10
11
12
13
14
# File 'lib/sapphire/WebAbstractions/Controls/RadioButton.rb', line 9

def Check (value)

  radio = self.Find
  radio.click

end

#TextObject



5
6
7
# File 'lib/sapphire/WebAbstractions/Controls/RadioButton.rb', line 5

def Text
  self.Find().text
end