Class: ATT::ConfirmPopup

Inherits:
Popup
  • Object
show all
Defined in:
lib/popup/confirm_popup.rb

Constant Summary

Constants inherited from Popup

Popup::VERSION

Instance Attribute Summary

Attributes inherited from Popup

#window

Instance Method Summary collapse

Methods inherited from Popup

#assert_exist?, #close, collect_windows, find, find_all, find_when, #initialize, record

Constructor Details

This class inherits a constructor from ATT::Popup

Instance Method Details

#cancelObject Also known as: clear



10
11
12
# File 'lib/popup/confirm_popup.rb', line 10

def cancel
  cancel_button.click
end

#cancel_buttonObject



22
23
24
# File 'lib/popup/confirm_popup.rb', line 22

def cancel_button
  @window.button(:instance=>2)
end

#clickObject Also known as: set

Click



4
5
6
# File 'lib/popup/confirm_popup.rb', line 4

def click
  confirm_button.click
end

#confirm_buttonObject



17
18
19
# File 'lib/popup/confirm_popup.rb', line 17

def confirm_button
  @window.button(:instance=>1)
end