Hi,
I have a working (Telerik Testing Framewokr) TTF 2014.2 on my PC1, using VS2012. By this I mean that the Samples/Testing Framework/QuickStarts_VSTS_CS solution builds and runs.
When I recently installed TTF on another PC (PC2 say), it indicated it was 2014.3. It also has VS2012. The QuickStarts_VSTS_CS builds fine but all tests fails to run with error :
If I remove the app.config file in the project, the tests can run. So, I suspect something in the settings is different between TTF 2014.2 and 2014.3.
Look forward to hearing your explanation and solution for this.
Thanks,
I have a working (Telerik Testing Framewokr) TTF 2014.2 on my PC1, using VS2012. By this I mean that the Samples/Testing Framework/QuickStarts_VSTS_CS solution builds and runs.
When I recently installed TTF on another PC (PC2 say), it indicated it was 2014.3. It also has VS2012. The QuickStarts_VSTS_CS builds fine but all tests fails to run with error :
> Initialization method QuickStarts_VSTS_CS.Advanced.MyTestInitialize threw exception. System.Configuration.ConfigurationErrorsException: System.Configuration.ConfigurationErrorsException: An error occurred creating the configuration section handler for WebAii.Settings: Could not load file or assembly 'ArtOfTest.WebAii' or one of its dependencies. The system cannot find the file specified. (C:\Users\kwee.tan\AppData\Local\Temp\TestResults\kwee.tan_WIL30598D 2014-09-06 17_18_05\Out\QuickStarts_VSTS_CS.DLL.config line 4) ---> System.IO.FileNotFoundException: Could not load file or assembly 'ArtOfTest.WebAii' or one of its dependencies. The system cannot find the file specified.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].
> .
> at System.Configuration.TypeUtil.GetTypeWithReflectionPermission(IInternalConfigHost host, String typeString, Boolean throwOnError)
> at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.Init(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
> at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.InitWithRestrictedPermissions(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
> at System.Configuration.RuntimeConfigurationRecord.CreateSectionFactory(FactoryRecord factoryRecord)
> at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, ref Boolean isRootDeclaredHere)
> --- End of inner exception stack trace ---
> at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, ref Boolean isRootDeclaredHere)
> at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, ref Object result, ref Object resultRuntimeObject)
> at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
> at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
> at System.Configuration.ConfigurationManager.GetSection(String sectionName)
> at ArtOfTest.WebAii.TestTemplates.BaseTest.GetSettings()
> at ArtOfTest.WebAii.TestTemplates.BaseTest.Initialize(String logLocation, TestContextWriteLine vsWriteLineDelegate)
> at QuickStarts_VSTS_CS.Advanced.MyTestInitialize() in Advanced.cs: line 93
If I remove the app.config file in the project, the tests can run. So, I suspect something in the settings is different between TTF 2014.2 and 2014.3.
Look forward to hearing your explanation and solution for this.
Thanks,