I have multiple tests that all pass successfully when run on Tests and Test Lists tabs within the test studio application, but when set to run at a specific time on the scheduler, they fail at some point in the middle of the test.
Conditions are otherwise the same (I have a windows process set up to make sure that they're even connected to the same router).
Here's an example log from one of the failed tests. These same failed steps pass when I run the test myself without the scheduler. I'm stumped. Anyone run into this or have suggestions on fixing it?
Lance
Overall Result: Fail------------------------------------------------------------
'9/19/2016 8:10:20 AM' - Executing test: 'Submit Contact Form', path: 'Web\Forms\Contact Form\Submit Contact Form.tstest.'
'9/19/2016 8:10:20 AM' - Using .Net Runtime version: '4.0.30319.42000' for test execution. Build version is '2015.2.723.0'.
'9/19/2016 8:10:20 AM' - Starting execution....
'9/19/2016 8:10:21 AM' - Detected custom code in test. Locating test assembly: Spire Web.dll.
'9/19/2016 8:10:21 AM' - Assembly Found: C:\Users\Asus\Documents\spiredigital-telerik\SpireDigital\bin\Spire Web.dll
'9/19/2016 8:10:21 AM' - Loading code class: 'Spire_Web.Submit_Contact_Form'.
------------------------------------------------------------
------------------------------------------------------------
'9/19/2016 8:10:21 AM' - Using 'InternetExplorer' version '11.0' as default browser.
'9/19/2016 8:10:21 AM' - Using 'http://spiredigital.com' as base url.
'9/19/2016 8:10:21 AM' - 'Pass' : 1. 'Maximize' the browser.
'9/19/2016 8:10:23 AM' - 'Pass' : 2. Clear Browser Cache
'9/19/2016 8:10:24 AM' - 'Pass' : 3. Navigate to : '/'
'9/19/2016 8:10:25 AM' - 'Pass' : 4. Wait for '500' msec.
'9/19/2016 8:10:25 AM' - 'Pass' : 5. Enter text 'Automated Test Email' in 'NameText'
'9/19/2016 8:10:25 AM' - 'Pass' : 6. Wait for '250' msec.
'9/19/2016 8:10:26 AM' - 'Pass' : 7. [Contact_Form_Submission_CodedStep] : Enter text '' in 'EmailEmail'
'9/19/2016 8:10:26 AM' - 'Pass' : 8. Wait for '250' msec.
'9/19/2016 8:10:26 AM' - 'Pass' : 9. Enter text '3031234567' in 'PhoneText'
'9/19/2016 8:10:27 AM' - 'Pass' : 10. Wait for '250' msec.
'9/19/2016 8:10:27 AM' - 'Pass' : 11. Enter text 'Automated test, please disregard.' in 'MessageTextArea'
'9/19/2016 8:10:27 AM' - 'Pass' : 12. Wait for '500' msec.
'9/19/2016 8:10:27 AM' - 'Pass' : 13. Desktop command: LeftClick on SubmitButtonTag
'9/19/2016 8:10:28 AM' - 'Pass' : 14. Wait for '500' msec.
'9/19/2016 8:10:59 AM' - 'Fail' : 15. Wait for element 'ThankYouH2Tag' 'is' visible.
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Element is visible verification failed! Expected: True, actual: False.
------------------------------------------------------------
'9/19/2016 8:10:59 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'9/19/2016 8:10:59 AM' - Overall Result: Fail
'9/19/2016 8:10:59 AM' - Duration: [0 min: 37 sec: 97 msec]
------------------------------------------------------------
'9/19/2016 8:10:59 AM' - Test completed!