Hi Telerik Team,
In one of my test, I want to wait till the button gets disabled. So I am using the step as:
‘Wait for ‘btnSave’ is disabed’ and I have set the Wait timeout for the step to ‘120000’.
But surprisingly the step is failing without waiting for 2 minutes. Below is log extract for the failure.
I am expecting that if the button is enabled, the “Wait for 'btnSave' is disabled” step will wait till button gets disabled or till max Wait timeout which I have set to 2 minutes. Please let me know if I am using it correctly or do I need to modify the code.
Note: I have attached a screenshot for the step properties.
Thanks.
Log Extract:
'6/7/2012 2:26:22 PM' - 'Pass' : 24. Wait for ExistsNot 'Table'
‘6/7/2012 2:28:23 PM' - 'Fail' : 25. Wait for 'btnSave' is disabled
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Element enabled state didn't match expected value. Expected: False Actual: True
------------------------------------------------------------
'6/7/2012 2:28:23 PM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'6/7/2012 2:28:23 PM' - Overall Result: Fail
'6/7/2012 2:28:23 PM' - Duration: [2 min: 40 sec: 343 msec]
------------------------------------------------------------
------------------------------------------------------------
'6/7/2012 2:28:23 PM' - Overall Result: Fail
'6/7/2012 2:28:23 PM' - Duration: [2 min: 40 sec: 343 msec]