Class: Kobot::Selector
- Inherits:
-
Object
- Object
- Kobot::Selector
- Defined in:
- lib/kobot/selector.rb
Overview
The texts used in selectors to identify the elements on KOT UI.
Instance Attribute Summary collapse
-
#kot_date_saturday ⇒ Object
Returns the value of attribute kot_date_saturday.
-
#kot_date_sunday ⇒ Object
Returns the value of attribute kot_date_sunday.
-
#kot_workday_time_off_text ⇒ Object
Returns the value of attribute kot_workday_time_off_text.
-
#location_area_notification_text ⇒ Object
Returns the value of attribute location_area_notification_text.
-
#login_success_notification_text ⇒ Object
Returns the value of attribute login_success_notification_text.
-
#logout_menu_link_text ⇒ Object
Returns the value of attribute logout_menu_link_text.
-
#time_card_menu_link_text ⇒ Object
Returns the value of attribute time_card_menu_link_text.
Class Method Summary collapse
Instance Attribute Details
#kot_date_saturday ⇒ Object
Returns the value of attribute kot_date_saturday.
6 7 8 |
# File 'lib/kobot/selector.rb', line 6 def kot_date_saturday @kot_date_saturday end |
#kot_date_sunday ⇒ Object
Returns the value of attribute kot_date_sunday.
6 7 8 |
# File 'lib/kobot/selector.rb', line 6 def kot_date_sunday @kot_date_sunday end |
#kot_workday_time_off_text ⇒ Object
Returns the value of attribute kot_workday_time_off_text.
6 7 8 |
# File 'lib/kobot/selector.rb', line 6 def kot_workday_time_off_text @kot_workday_time_off_text end |
#location_area_notification_text ⇒ Object
Returns the value of attribute location_area_notification_text.
6 7 8 |
# File 'lib/kobot/selector.rb', line 6 def location_area_notification_text @location_area_notification_text end |
#login_success_notification_text ⇒ Object
Returns the value of attribute login_success_notification_text.
6 7 8 |
# File 'lib/kobot/selector.rb', line 6 def login_success_notification_text @login_success_notification_text end |
#logout_menu_link_text ⇒ Object
Returns the value of attribute logout_menu_link_text.
6 7 8 |
# File 'lib/kobot/selector.rb', line 6 def @logout_menu_link_text end |
#time_card_menu_link_text ⇒ Object
Returns the value of attribute time_card_menu_link_text.
6 7 8 |
# File 'lib/kobot/selector.rb', line 6 def @time_card_menu_link_text end |
Class Method Details
.en ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/kobot/selector.rb', line 15 def en selector = Selector.new selector.login_success_notification_text = 'Data has been obtained' selector.location_area_notification_text = 'Obtained location' selector. = 'Time Card' selector.kot_date_saturday = 'Sat' selector.kot_date_sunday = 'Sun' selector.kot_workday_time_off_text = 'time-off' selector. = 'Sign out' selector end |
.ja ⇒ Object
27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/kobot/selector.rb', line 27 def ja selector = Selector.new selector.login_success_notification_text = 'データを取得しました' selector.location_area_notification_text = '位置情報取得済み' selector. = 'タイムカード' selector.kot_date_saturday = '土' selector.kot_date_sunday = '日' selector.kot_workday_time_off_text = '休日' selector. = 'ログアウト' selector end |