Class: ATT::AlertPopup

Inherits:
Popup
  • Object
show all
Defined in:
lib/popup/alert_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

#clickObject Also known as: set

Click



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

def click
  confirm_button.click
end

#confirm_buttonObject



9
10
11
# File 'lib/popup/alert_popup.rb', line 9

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