or
Error: Wait for condition has timed outInnerException:System.Exception: Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:id=credentials,name=Frame_1,src=https://<URL>,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)
'1/8/2014 11:31:32 AM' - 'Fail' : 10. [Toelichting_CodedStep] : Rename PDF
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Exception thrown executing coded step: '[Toelichting_CodedStep] : Rename PDF'.
InnerException:
System.IO.FileNotFoundException: Could not load file or assembly 'TestLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'TestLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
at ABN_AMRO_Internet.Toelichting.Toelichting_CodedStep()
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
[CodedStep(@
"Verify Item0Customtextbox0.IsEnabled 'Equal' 'False'"
, RequiresSilverlight =
true
)]
public
void
DatalogPreferencePage_Functionality_CodedStep15()
{
// Verify Item0Customtextbox0.IsEnabled 'Equal' 'False'
Assert.AreEqual(
false
, Pages.PC5xxLogin.SilverlightApp.Item0Customtextbox0.IsEnabled,
string
.Format(
"Verify Item0Customtextbox0.IsEnabled \'Equal\' \'False\' failed. Actual value \'{0}\'"
, Pages.PC5xxLogin.SilverlightApp.Item0Customtextbox0.IsEnabled));
}
Item0Customtextbox0
if it is there. But element explorer also have the element in same hierarchy.'1/3/2014 6:18:16 PM' - 'Fail' : 7. [DatalogPreferencePage_Functionality_CodedStep15] : Verify Item0Customtextbox0.IsEnabled 'Equal' 'False'", RequiresSilverlight = true
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Exception thrown executing coded step: '[DatalogPreferencePage_Functionality_CodedStep15] : Verify Item0Customtextbox0.IsEnabled 'Equal' 'False'", RequiresSilverlight = true'.
InnerException:
ArtOfTest.Common.Exceptions.FindElementException: Element Not found!
FindExpression used:
[name 'Exact' ContentInnerBorder] AND [XamlTag 'Exact' border][XamlPath 'Exact' /contentpresenter[name=ContentElement]/_adminpassword[0]/dashboardcontrol[0]/border[0]/grid[0]/border[0]/contentpresenter[0]/radbusyindicator[0]/grid[0]/contentcontrol[name=Content]/contentpresenter[0]/grid[name=LayoutRoot]/customtextbox[0]]
at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)
at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
at ArtOfTest.WebAii.Silverlight.VisualWait.ForExistsInternal(Int32 timeout, Boolean invertCondition)
at ArtOfTest.WebAii.Silverlight.VisualWait.ForVisible(Int32 timeout)
at ArtOfTest.WebAii.TestTemplates.XamlElementContainer.Get(XamlFindExpression expr, Boolean waitOnElement, Int32 timeout)
at ArtOfTest.WebAii.TestTemplates.XamlElementContainer.Get(XamlFindExpression expr)
at ArtOfTest.WebAii.TestTemplates.XamlElementContainer.Get[TControl](XamlFindExpression expr)
at ArtOfTest.WebAii.TestTemplates.XamlElementContainer.Get[TControl](String[] clauses)
at TelerikTestAutomation.Pages.PC5xxLoginPage.SilverlightAppElement.get_Item0Customtextbox0() in d:\Cirrus\Cirrus_TFS\Cirrus UI\PC550\Cirrus Test Automation\TelerikTestAutomation_Local\TelerikTestAutomation\Pages.g.cs:line 4256
at TelerikTestAutomation.Setup_Page.Data_Log_Preferences.DatalogPreferencePage_Functionality.DatalogPreferencePage_Functionality_CodedStep15() in d:\Cirrus\Cirrus_TFS\Cirrus UI\PC550\Cirrus Test Automation\TelerikTestAutomation_Local\TelerikTestAutomation\Setup Page\Data Log Preferences\DatalogPreferencePage_Functionality.tstest.cs:line 496
[01/02 10:05:05,IEXPLORE.EXE(3772:1),Framework] SilverlightUtils.AppendAutomationExtension() : EXCEPTION! (see below)
Situation: Unable to inject System.Windows.dll
Outer Exception Type: System.IO.DirectoryNotFoundException
Message: Could not find a part of the path 'C:\Program Files (x86)\Microsoft Silverlight\5.0.61118.0\System.Windows.dll'.
HRESULT: 0x80070003 (Official ID (if app.) = 2147942403, Error Bit = FAILED, Facility = FACILITY_WIN32, Code = ERROR_PATH_NOT_FOUND)
Call Stack:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at ArtOfTest.WebAii.Silverlight.SilverlightUtils.MemoryStreamFromFilename(String filename)
at ArtOfTest.WebAii.Silverlight.SilverlightUtils.AppendAutomationExtension(MemoryStream originalXapFile, Boolean forceUpdate)