Hi
I m using telerik test studio 2013.2.When I recorded a page in my project there was dropdown which when clicked navigated to a login page.while recording everything works fine it was able to login to the new page but when executed the test fails when it comes to the login page
the log message is :
Overall Result: Fail
------------------------------------------------------------
'6/10/2014 2:30:02 AM' - Using .Net Runtime version: '4.0.30319.18052' for test execution. Build version is '2013.2.1327.0'.
'6/10/2014 2:30:02 AM' - Starting execution....
'6/10/2014 2:30:02 AM' - Detected a Silverlight Test. Setting EnableSilverlight=True
------------------------------------------------------------
------------------------------------------------------------
'6/10/2014 2:30:05 AM' - Enabling Html Popup Tracker. Test expecting Popups.
'6/10/2014 2:30:05 AM' - Using 'InternetExplorer' version '9.0' as default browser.
'6/10/2014 2:30:31 AM' - 'Pass' : 1. Execute test 'Login in fuelnet with pmartin'
>>> Test-as-Step 'Fuelnet()\Login in fuelnet with pmartin.tstest' log starts:
Overall Result: Pass
------------------------------------------------------------
'6/10/2014 2:30:06 AM' - Enabling Html Popup Tracker. Test expecting Popups.
'6/10/2014 2:30:06 AM' - Using 'InternetExplorer' version '9.0' as default browser.
'6/10/2014 2:30:07 AM' - 'Pass' : 1. Navigate to : 'https://fuelnetsp.stg.mansfieldoil.com'
'6/10/2014 2:30:08 AM' - 'Pass' : 2. Enter text 'pmartin' in 'UserNameText'
'6/10/2014 2:30:09 AM' - 'Pass' : 3. Keyboard (KeyPress) - Capital (1 times) on 'PasswordPassword'
'6/10/2014 2:30:09 AM' - 'Pass' : 4. Enter text 'FSSA' in 'PasswordPassword'
'6/10/2014 2:30:09 AM' - 'Pass' : 5. Keyboard (KeyPress) - Capital (1 times) on 'PasswordPassword'
'6/10/2014 2:30:09 AM' - 'Pass' : 6. Enter text 'FSSAdmin' in 'PasswordPassword'
'6/10/2014 2:30:31 AM' - 'Pass' : 7. Click 'BtnLoginSubmit'
'6/10/2014 2:30:31 AM' - 'NotRun' : 8. Verify image of 'MansfieldImage'. Allow 1% error tolerance.
------------------------------------------------------------
'6/10/2014 2:30:31 AM' - Overall Result: Pass
'6/10/2014 2:30:31 AM' - Duration: [0 min: 24 sec: 764 msec]
------------------------------------------------------------
<<< Test-as-Step 'Fuelnet()\Login in fuelnet with pmartin.tstest' log ends.
'6/10/2014 2:30:35 AM' - 'Pass' : 2. Click 'SiteConsoleSpan'
'6/10/2014 2:30:55 AM' - 'Pass' : 3. Wait for '20000' msec.
'6/10/2014 2:31:56 AM' - 'Fail' : 4. Enter text 'pmartin' in 'CphMainTxtUserNameText'
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:id=~fitFrameId_29603093,name=Frame_0,src=http://fuelnet.stg.mansfieldoil.com/,UseQuery:False]' timed out. Error: Wait for condition has timed out
InnerException:
System.Exception: Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:id=~fitFrameId_29603093,name=Frame_0,src=http://fuelnet.stg.mansfieldoil.com/,UseQuery:False]' timed out. Error: Wait for condition has timed out
at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(IAutomationHost host, AutomationDescriptor descriptor, Int32 timeout)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------
'6/10/2014 2:31:56 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'6/10/2014 2:31:56 AM' - Overall Result: Fail
'6/10/2014 2:31:56 AM' - Duration: [1 min: 51 sec: 528 msec]
------------------------------------------------------------
'6/10/2014 2:32:00 AM' - Test completed!
I m using telerik test studio 2013.2.When I recorded a page in my project there was dropdown which when clicked navigated to a login page.while recording everything works fine it was able to login to the new page but when executed the test fails when it comes to the login page
the log message is :
Overall Result: Fail
------------------------------------------------------------
'6/10/2014 2:30:02 AM' - Using .Net Runtime version: '4.0.30319.18052' for test execution. Build version is '2013.2.1327.0'.
'6/10/2014 2:30:02 AM' - Starting execution....
'6/10/2014 2:30:02 AM' - Detected a Silverlight Test. Setting EnableSilverlight=True
------------------------------------------------------------
------------------------------------------------------------
'6/10/2014 2:30:05 AM' - Enabling Html Popup Tracker. Test expecting Popups.
'6/10/2014 2:30:05 AM' - Using 'InternetExplorer' version '9.0' as default browser.
'6/10/2014 2:30:31 AM' - 'Pass' : 1. Execute test 'Login in fuelnet with pmartin'
>>> Test-as-Step 'Fuelnet()\Login in fuelnet with pmartin.tstest' log starts:
Overall Result: Pass
------------------------------------------------------------
'6/10/2014 2:30:06 AM' - Enabling Html Popup Tracker. Test expecting Popups.
'6/10/2014 2:30:06 AM' - Using 'InternetExplorer' version '9.0' as default browser.
'6/10/2014 2:30:07 AM' - 'Pass' : 1. Navigate to : 'https://fuelnetsp.stg.mansfieldoil.com'
'6/10/2014 2:30:08 AM' - 'Pass' : 2. Enter text 'pmartin' in 'UserNameText'
'6/10/2014 2:30:09 AM' - 'Pass' : 3. Keyboard (KeyPress) - Capital (1 times) on 'PasswordPassword'
'6/10/2014 2:30:09 AM' - 'Pass' : 4. Enter text 'FSSA' in 'PasswordPassword'
'6/10/2014 2:30:09 AM' - 'Pass' : 5. Keyboard (KeyPress) - Capital (1 times) on 'PasswordPassword'
'6/10/2014 2:30:09 AM' - 'Pass' : 6. Enter text 'FSSAdmin' in 'PasswordPassword'
'6/10/2014 2:30:31 AM' - 'Pass' : 7. Click 'BtnLoginSubmit'
'6/10/2014 2:30:31 AM' - 'NotRun' : 8. Verify image of 'MansfieldImage'. Allow 1% error tolerance.
------------------------------------------------------------
'6/10/2014 2:30:31 AM' - Overall Result: Pass
'6/10/2014 2:30:31 AM' - Duration: [0 min: 24 sec: 764 msec]
------------------------------------------------------------
<<< Test-as-Step 'Fuelnet()\Login in fuelnet with pmartin.tstest' log ends.
'6/10/2014 2:30:35 AM' - 'Pass' : 2. Click 'SiteConsoleSpan'
'6/10/2014 2:30:55 AM' - 'Pass' : 3. Wait for '20000' msec.
'6/10/2014 2:31:56 AM' - 'Fail' : 4. Enter text 'pmartin' in 'CphMainTxtUserNameText'
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:id=~fitFrameId_29603093,name=Frame_0,src=http://fuelnet.stg.mansfieldoil.com/,UseQuery:False]' timed out. Error: Wait for condition has timed out
InnerException:
System.Exception: Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:id=~fitFrameId_29603093,name=Frame_0,src=http://fuelnet.stg.mansfieldoil.com/,UseQuery:False]' timed out. Error: Wait for condition has timed out
at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(IAutomationHost host, AutomationDescriptor descriptor, Int32 timeout)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------
'6/10/2014 2:31:56 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'6/10/2014 2:31:56 AM' - Overall Result: Fail
'6/10/2014 2:31:56 AM' - Duration: [1 min: 51 sec: 528 msec]
------------------------------------------------------------
'6/10/2014 2:32:00 AM' - Test completed!