Class: Taf::TestSteps::Handlers::CheckScreendata
- Defined in:
- lib/taf/test_steps/handlers/base/check_screendata.rb
Overview
Check Screendata text function.
Instance Method Summary collapse
Methods inherited from Base
#initialize, #login_check, #login_process, perform, #portal_mem_word, register, #url_check
Constructor Details
This class inherits a constructor from Taf::TestSteps::Handlers::Base
Instance Method Details
#perform ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/taf/test_steps/handlers/base/check_screendata.rb', line 10 def perform Taf::Browser.b.wait_until do Taf::Browser.b.element.text.include? @value end Taf::MyLog.log.info("Text found: #{@value}") true rescue StandardError Taf::MyLog.log.warn("Text not found: #{@value}") false end |