Class: Taf::TestSteps::Handlers::Ipause
- Defined in:
- lib/taf/test_steps/handlers/base/ipause.rb
Overview
Pause the test function.
Instance Method Summary collapse
Methods inherited from Base
#initialize, #login_check, #login_process, perform, 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 |
# File 'lib/taf/test_steps/handlers/base/ipause.rb', line 10 def perform sleep(@value.to_i) Taf::MyLog.log.info('Wait completed for seconds: ' + @value.to_s) true rescue StandardError Taf::MyLog.log.warn('Wait failed for seconds: ' + @value.to_s) false end |