Class: TestSteps::Handlers::Ipause
- Defined in:
- lib/functions/handlers/ipause.rb
Overview
Pause the test function.
Instance Method Summary collapse
Methods inherited from Base
#initialize, #login_check, #login_process, #mem_word_check, #open_url_process, perform, #portal_mem_word, register
Constructor Details
This class inherits a constructor from TestSteps::Handlers::Base
Instance Method Details
#perform ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/functions/handlers/ipause.rb', line 11 def perform sleep(@value.to_i) MyLog.log.info('Wait completed for seconds: ' + @value.to_s) true rescue StandardError MyLog.log.warn('Wait failed for seconds: ' + @value.to_s) false end |