Telerik Forums
Test Studio Forum
3 answers
73 views
In my test I land on a page with a RoundContainer. When the test loads the page, the container can be either in an expanded or a collapsed state. The container uses an image to toggle the state of the container. If it's in an expanded state, it will have an image element where the src=minus.gif. If it's in a collapsed state, it will have an image element where the src=plus.gif.

What I need the test to do is, if the container is collapsed when the page is loaded then expand the container by clicking on the image element (plus.gif). The problem is, if I target that element (plus.gif) and the test runs where the page loads the container in an expanded state, then the test will fail because it can't find the image element where src=plus.gif.


What are my possible solutions?
Cody
Telerik team
 answered on 24 Nov 2014
3 answers
40 views
Hi guys,

I am having a small issue right now with the recording process.
I need to click on a "create" button to create an account and the step is
not being recoded in IE. When I click on it the account will be created but
there is no step added to the test for clicking on the button.

In Firefox and Chrome it does record the step for clicking the button but
the toolbar is preventijng me from doing so at the moment.

I tried using the Quick task menu to verify or use something in there to
make it work but am getting an error.
See screenshot

Any help would be very much appreciated.

Regards,
Ivaylo
Telerik team
 answered on 21 Nov 2014
3 answers
26 views
Hi guys,

Is there anyway to autohide the toolbar or move it to the side/top??
There are a few buttons at the end of a page I need to click on, but for Chrome and Firefox
I can't get to them because the toolbar is in front of it and can't scroll down anymore.
Since IE has the recording toolbar at the top I am able to get to the button but it gives an error.
will post another thread with that issue.

Any suggestions or ideas?

Very much appreciate the help
Ivaylo
Telerik team
 answered on 21 Nov 2014
2 answers
41 views
When running test lists the browser version in some of them appears and in some of them it doesn't. An example below :

IE_AIR_WEBFARES_B2C_User(InternetExplorer) 130606421976488176.aiiresult
IE_AIR_WEBFARES_B2C_Admin 130606417622022773.aiiresult

The above test lists have the same browser settings set up but for the second list the browser version is no displayed.
 
Boyan Boev
Telerik team
 answered on 20 Nov 2014
3 answers
71 views
Hi,

I'm running into an issue where after a logging into the web application Test Studio wont recognize the window that appears after logging in. And none of the steps I have after logging in will execute. The way our application works is after the user enters log in information the window closes and reappears (see screenshots 1 and 2). When recording for this test Test Studio Connects to the new window but no new steps are created. The URL through out all of this does not change (it's not supposed to). The only way I can work around this is by putting a pause after clicking "log in". Is there a step I'm missing? I've already tried the wait for element, wait for URL, execution delay and all of that. The problem is that when running the test Test Studio is not reconnecting to the window at all.
Cody
Telerik team
 answered on 18 Nov 2014
2 answers
61 views
I recorded a test wherein I encountered a RadTreeView. I expand a parent node, then a child node, then the child's child node.

When I execute the test it fails at the point where it attempts to expand the first node. It fails because it is searching for the text in the node but can't find it since the text of the node changes each time the test is run.

So, I believe I need to have the test expand the nodes by index instead. Is there a setting that will accomplish this? Or can this only be solved by developing a coded step(s)?



When it was recorded:
RadTreeView('ctl00_ctl00_cphMain_rc_ProfileContent_rdTree_treePreferences'): 'CustomerA' action -> 'Expand'
Pages.UserProfile.CphMainRcProfileContentRdTreeTreePreferencesDiv.ExpandNodeByText("CustomerA");

When the test ran:            
RadTreeView('ctl00_ctl00_cphMain_rc_ProfileContent_rdTree_treePreferences'): 'CustomerB' action -> 'Expand'")]
Cody
Telerik team
 answered on 17 Nov 2014
1 answer
136 views

I am trying to add a data source to one of my tests and running into a little issue. When I select an existing excel file to use as the data source, Test Studio is giving me an error that the file already exists, which implies Test Studio wants to create the file for me. But when I enter the name of a file that doesn't exist, I get an error that the file doesn't exist. It seems like I only have two choices here, enter an existing file or a non-existent file. I've tried both. Am I missing a third choice that's not readily apparent?

The version of Test Studio I am using is version 2014.3.903.0 on a laptop running Windows 7 Enterprise SP 1.

I've attached the following screen shots and copied the trace log below:
    Add_Data_Src_Get_File.PNG                                                             Existing excel file selected
    Create_New_Data_Src_Window.PNG                                                Create button clicked
    File_Exists_Error.PNG                                                                           Error indicating Test Studio doesn't like existing file
    Add_Data_Src_Create_File.PNG                                                        File name of non-existent file entered
    File_Does_not_Exist_Error.PNG                                                          Error indicating Test Studio wants an existing file

    Telerik Test Studio Trace Log-141107.txt (not sure how helpful this will be, as there doesn't seem to be a lot of detail at the end of the log where the messages related to adding the data source appear to be):

[11/07 10:03:13,telerik.teststudio.exe(964:1)] First trace message from process 964: "c:\bin\telerik\test studio\bin\telerik.teststudio.exe"
[11/07 10:03:13,telerik.teststudio.exe(964:1)] First trace message from foreground thread "Application start thread" (managed ID = 1, native ID = 2180).
[11/07 10:03:13,telerik.teststudio.exe(964:1),Uncategorized] App.OnStartup() :
     Using: ArtOfTest.WebAii, Version=2014.3.903.0, Culture=neutral, PublicKeyToken=4fd5f65be123776c
     OS: Microsoft Windows 7 Enterprise 64-bit 6.1.7601 Service Pack 1
     .NET version: 4.0.30319.18063
[11/07 10:03:17,Telerik.TestStudio.Scheduling.Client.exe(2600:1)] First trace message from process 2600: "C:\bin\Telerik\Test Studio\Bin\Telerik.TestStudio.Scheduling.Client.exe" /EmbedExecutionManager /EmbedProcessManager
[11/07 10:03:17,Telerik.TestStudio.Scheduling.Client.exe(2600:1)] First trace message from foreground unnamed thread (managed ID = 1, native ID = 6796).
[11/07 10:03:17,Telerik.TestStudio.Scheduling.Client.exe(2600:1),Uncategorized] Loader.LoadTranslatorGroups() : ------- Function Start -------
[11/07 10:03:17,Telerik.TestStudio.Scheduling.Client.exe(2600:1),Uncategorized] Loader.LoadTranslatorGroups() : Translators Directory is : C:\bin\Telerik\Test Studio\Bin\Translators
[11/07 10:03:35,Telerik.TestStudio.Scheduling.Client.exe(2600:1),Uncategorized] Loader.LoadTranslatorGroups() : ------- Function End -------
[11/07 10:03:36,Telerik.TestStudio.Scheduling.Client.exe(2600:1),Execution] TabControlViewModel constructor : Statrted Tab control in execution server
[11/07 10:03:42,Telerik.TestStudio.Scheduling.Client.exe(2600:1),Uncategorized] Loader.LoadTranslatorGroups() : ------- Function Start -------
[11/07 10:03:45,telerik.teststudio.exe(964:1),TestStudio] Utils.EnumPluginTypes() : Loading "C:\bin\Telerik\Test Studio\Bin\Plugins\Telerik.TestStudio.Jira.BugTracking.dll" to find ITestStudioPkg implementers...
[11/07 10:03:45,telerik.teststudio.exe(964:1),TestStudio] Utils.EnumPluginTypes() : Loading "C:\bin\Telerik\Test Studio\Bin\Plugins\Telerik.TestStudio.Load.dll" to find ITestStudioPkg implementers...
[11/07 10:03:45,telerik.teststudio.exe(964:1),TestStudio] Utils.EnumPluginTypes() : Loading "C:\bin\Telerik\Test Studio\Bin\Plugins\Telerik.TestStudio.Manual.dll" to find ITestStudioPkg implementers...
[11/07 10:03:46,telerik.teststudio.exe(964:1),TestStudio] Utils.EnumPluginTypes() : Loading "C:\bin\Telerik\Test Studio\Bin\Plugins\Telerik.TestStudio.OTA.Interop.dll" to find ITestStudioPkg implementers...
[11/07 10:03:46,telerik.teststudio.exe(964:1),TestStudio] Utils.EnumPluginTypes() : Loading "C:\bin\Telerik\Test Studio\Bin\Plugins\Telerik.TestStudio.Plugins.dll" to find ITestStudioPkg implementers...
[11/07 10:03:46,telerik.teststudio.exe(964:1),TestStudio] Utils.EnumPluginTypes() : Loading "C:\bin\Telerik\Test Studio\Bin\Plugins\Telerik.TestStudio.Shared.dll" to find ITestStudioPkg implementers...
[11/07 10:03:46,telerik.teststudio.exe(964:1),TestStudio] Utils.EnumPluginTypes() : Loading "C:\bin\Telerik\Test Studio\Bin\Plugins\Telerik.TestStudio.TeamPulse.dll" to find ITestStudioPkg implementers...
[11/07 10:03:46,telerik.teststudio.exe(964:1),TestStudio] Utils.EnumPluginTypes() : Loading "C:\bin\Telerik\Test Studio\Bin\Plugins\Telerik.TestStudio.Web.dll" to find ITestStudioPkg implementers...
[11/07 10:03:46,telerik.teststudio.exe(964:1),TestStudio] Utils.EnumPluginTypes() : Loading "C:\bin\Telerik\Test Studio\Bin\Plugins\Telerik.TestStudio.Wpf.dll" to find ITestStudioPkg implementers...
[11/07 10:03:46,telerik.teststudio.exe(964:1),TestStudio] Utils.EnumPluginTypes() : Finished loading ITestStudioPkg plugins.
[11/07 10:03:48,telerik.teststudio.exe(964:1),Uncategorized] Orchestrator.LoadPackages() : Telerik.TestStudio.Load.LoadPkg implements ITestStudioPkg and was added as a package.
[11/07 10:03:48,telerik.teststudio.exe(964:1),Uncategorized] Orchestrator.LoadPackages() : Telerik.TestStudio.Manual.ManualPkg implements ITestStudioPkg and was added as a package.
[11/07 10:03:48,telerik.teststudio.exe(964:1),Uncategorized] Orchestrator.LoadPackages() : Telerik.TestStudio.Web.WebPkg implements ITestStudioPkg and was added as a package.
[11/07 10:03:48,telerik.teststudio.exe(964:1),Uncategorized] Orchestrator.LoadPackages() : Telerik.TestStudio.Wpf.WpfPkg implements ITestStudioPkg and was added as a package.
[11/07 10:03:48,telerik.teststudio.exe(964:5)] First trace message from pool unnamed thread (managed ID = 5, native ID = 4976).
[11/07 10:03:48,telerik.teststudio.exe(964:5),Uncategorized] Loader.LoadTranslatorGroups() : ------- Function Start -------
[11/07 10:03:48,telerik.teststudio.exe(964:5),Uncategorized] Loader.LoadTranslatorGroups() : Translators Directory is : C:\bin\Telerik\Test Studio\Bin\Translators
[11/07 10:03:49,telerik.teststudio.exe(964:1),Performance] PerformanceProfileViewModel.set_ViewingTimeRange() : Viewing time range overwritten: 11/7/2014 2:03:49 PM to 11/7/2014 2:03:49 PM.
[11/07 10:03:49,telerik.teststudio.exe(964:1),Performance] PerformanceProfileViewModel.set_ViewingTimeRange() : Viewing time range overwritten: 11/7/2014 2:03:49 PM to 11/7/2014 2:03:49 PM.
[11/07 10:03:50,telerik.teststudio.exe(964:5),Uncategorized] Loader.LoadTranslatorGroups() : ------- Function End -------
[11/07 10:03:51,telerik.teststudio.exe(964:4)] First trace message from pool unnamed thread (managed ID = 4, native ID = 6804).
[11/07 10:03:51,telerik.teststudio.exe(964:4),Recording] RecorderHostService constructor : Host endpoint: net.pipe://localhost/Instance/62955/DesignCanvas/964
[11/07 10:03:52,telerik.teststudio.exe(964:5),TestStudio] StandaloneAppSettings.LoadSettings() : Recent projects before valid check: 2
[11/07 10:03:52,telerik.teststudio.exe(964:5),TestStudio] StandaloneAppSettings.LoadSettings() : Recent projects after valid check: 2
[11/07 10:03:54,telerik.teststudio.exe(964:1),TestStudio] MainWindow.MainWindow_Loaded() : Test Studio (version:2014.3.903.0) started.
[11/07 10:03:56,telerik.teststudio.exe(964:4),Uncategorized] Loader.LoadTranslatorGroups() : ------- Function Start -------
[11/07 10:03:56,telerik.teststudio.exe(964:1),Analytics] ActivityLog.LogError() : Feature track failed!
[11/07 10:03:57,Telerik.TestStudio.Scheduling.Client.exe(2600:1),Execution] PostListExecutionEmailer.CheckForValidSmtpSettings() : Unable to send email due to uninitialized SMTP settings
[11/07 10:03:57,Telerik.TestStudio.Scheduling.Client.exe(2600:1),Uncategorized] Loader.LoadTranslatorGroups() : ------- Function Start -------
[11/07 10:04:01,Telerik.TestStudio.Scheduling.Client.exe(2600:1),Execution] ProcessManager.StartProcess() : Starting profiler
[11/07 10:04:02,Telerik.TestStudio.Scheduling.Client.exe(2600:1),Execution] ProcessManager.StartProcess() : EXCEPTION! (see below)
     Outer Exception Type: System.ArgumentException
     Message: Process with an Id of 6948 is not running.
     HRESULT: 0x80070057 (Official ID (if app.) = E_INVALIDARG, Error Bit = FAILED, Facility = FACILITY_WIN32, Code = ERROR_INVALID_PARAMETER)
     Call Stack:
          at System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName)
          at System.Diagnostics.Process.GetProcessById(Int32 processId)
          at Telerik.TestingFramework.Interop.NativeProcessStarter.CreateProcessNative(ProcessStarterData data, String commandLine, Boolean suppressWindow)
          at Telerik.TestingFramework.Interop.NativeProcessStarter.Start(ProcessStarterData data, Uri path, String[] extra)
          at Telerik.TestStudio.ProcessManager.ProcessManager.CreateNativeProcess(ProcessStarterData processStarterData, String addedParameters)
          at Telerik.TestStudio.ProcessManager.ProcessManager.StartProcess(String type, String addedParameters)

[11/07 10:04:02,Telerik.TestStudio.Scheduling.Client.exe(2600:1),Execution] ProcessManager.StartProcess() : Starting executor
[11/07 10:04:02,Telerik.TestStudio.Profiler.exe(6948:1)] First trace message from process 6948: "Telerik.TestStudio.Profiler.exe" "http://xxxxxxxx.xx.xxxxxxxx.xxx:8031/" ""
[11/07 10:04:02,Telerik.TestStudio.Profiler.exe(6948:1)] First trace message from foreground unnamed thread (managed ID = 1, native ID = 5892).
[11/07 10:04:02,Telerik.TestStudio.Profiler.exe(6948:1),Execution] WcfHttpRawCommunicationLayer.Start() : Starting WCF Service with RawHTTP Bindings at http://xxxxxxxx.xx.xxxxxxxx.xxx:8031/
[11/07 10:04:02,Telerik.TestStudio.Scheduling.Client.exe(2600:1),Execution] ProcessManager.StartProcess() : EXCEPTION! (see below)
     Outer Exception Type: System.ArgumentException
     Message: Process with an Id of 3964 is not running.
     HRESULT: 0x80070057 (Official ID (if app.) = E_INVALIDARG, Error Bit = FAILED, Facility = FACILITY_WIN32, Code = ERROR_INVALID_PARAMETER)
     Call Stack:
          at System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName)
          at System.Diagnostics.Process.GetProcessById(Int32 processId)
          at Telerik.TestingFramework.Interop.NativeProcessStarter.CreateProcessNative(ProcessStarterData data, String commandLine, Boolean suppressWindow)
          at Telerik.TestingFramework.Interop.NativeProcessStarter.Start(ProcessStarterData data, Uri path, String[] extra)
          at Telerik.TestStudio.ProcessManager.ProcessManager.CreateNativeProcess(ProcessStarterData processStarterData, String addedParameters)
          at Telerik.TestStudio.ProcessManager.ProcessManager.StartProcess(String type, String addedParameters)

[11/07 10:04:04,Telerik.TestStudio.RemoteExecutor.exe(3964:1)] First trace message from process 3964: "Telerik.TestStudio.RemoteExecutor.exe" "http://xxxxxxxx.xx.xxxxxxxx.xxx:8032/" ""
[11/07 10:04:04,Telerik.TestStudio.RemoteExecutor.exe(3964:1)] First trace message from foreground unnamed thread (managed ID = 1, native ID = 3752).
[11/07 10:04:04,Telerik.TestStudio.RemoteExecutor.exe(3964:1),Uncategorized] Loader.LoadTranslatorGroups() : ------- Function Start -------
[11/07 10:04:04,Telerik.TestStudio.RemoteExecutor.exe(3964:1),Uncategorized] Loader.LoadTranslatorGroups() : Translators Directory is : C:\bin\Telerik\Test Studio\Bin\Translators
[11/07 10:04:06,Telerik.TestStudio.RemoteExecutor.exe(3964:1),Uncategorized] Loader.LoadTranslatorGroups() : ------- Function End -------
[11/07 10:04:17,telerik.teststudio.exe(964:4),Uncategorized] BugTrackersLoader.LoadSystems() : ------- Function Start -------
[11/07 10:04:17,telerik.teststudio.exe(964:4),Uncategorized] BugTrackersLoader.LoadSystems() : Bug Trackers folder path is : C:\bin\Telerik\Test Studio\Bin\Plugins
[11/07 10:04:17,telerik.teststudio.exe(964:4),Uncategorized] BugTrackersLoader.LoadSystems() : Searching for IBugTracker implementers in "C:\bin\Telerik\Test Studio\Bin\Plugins\Telerik.TestStudio.Jira.BugTracking.dll"...
[11/07 10:04:17,telerik.teststudio.exe(964:4),Uncategorized] BugTrackersLoader.LoadSystems() : JIRA Server implements IBugTracker and was loaded in the system.
[11/07 10:04:17,telerik.teststudio.exe(964:4),Uncategorized] BugTrackersLoader.LoadSystems() : Searching for IBugTracker implementers in "C:\bin\Telerik\Test Studio\Bin\Plugins\Telerik.TestStudio.Load.dll"...
[11/07 10:04:17,telerik.teststudio.exe(964:4),Uncategorized] BugTrackersLoader.LoadSystems() : Searching for IBugTracker implementers in "C:\bin\Telerik\Test Studio\Bin\Plugins\Telerik.TestStudio.Manual.dll"...
[11/07 10:04:17,telerik.teststudio.exe(964:4),Uncategorized] BugTrackersLoader.LoadSystems() : Searching for IBugTracker implementers in "C:\bin\Telerik\Test Studio\Bin\Plugins\Telerik.TestStudio.OTA.Interop.dll"...
[11/07 10:04:17,telerik.teststudio.exe(964:4),Uncategorized] BugTrackersLoader.LoadSystems() : Searching for IBugTracker implementers in "C:\bin\Telerik\Test Studio\Bin\Plugins\Telerik.TestStudio.Plugins.dll"...
[11/07 10:04:17,telerik.teststudio.exe(964:4),Error] <>c__DisplayClass4.<RegisterResolver>b__1() : EXCEPTION! (see below)
     Situation: Exception trying to resolve dependency: Microsoft.TeamFoundation.Client, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
     Outer Exception Type: System.IO.FileNotFoundException
     Message: Could not load file or assembly 'Microsoft.TeamFoundation.Client, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
     HRESULT: 0x80070002 (Official ID (if app.) = 2147942402, Error Bit = FAILED, Facility = FACILITY_WIN32, Code = ERROR_FILE_NOT_FOUND)
     Call Stack:
          at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
          at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
          at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
          at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
          at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
          at System.Reflection.Assembly.Load(String assemblyString)
          at ArtOfTest.Common.BaseDependencyLoader.<>c__DisplayClass4.<RegisterResolver>b__1(Object o, ResolveEventArgs e)

[11/07 10:04:17,telerik.teststudio.exe(964:4),Error] <>c__DisplayClass4.<RegisterResolver>b__1() : EXCEPTION! (see below)
     Situation: Exception trying to resolve dependency: Microsoft.TeamFoundation.Client, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
     Outer Exception Type: System.IO.FileNotFoundException
     Message: Could not load file or assembly 'Microsoft.TeamFoundation.Client, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
     HRESULT: 0x80070002 (Official ID (if app.) = 2147942402, Error Bit = FAILED, Facility = FACILITY_WIN32, Code = ERROR_FILE_NOT_FOUND)
     Call Stack:
          at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
          at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
          at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
          at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
          at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
          at System.Reflection.Assembly.Load(String assemblyString)
          at ArtOfTest.Common.BaseDependencyLoader.<>c__DisplayClass4.<RegisterResolver>b__1(Object o, ResolveEventArgs e)

[11/07 10:04:17,telerik.teststudio.exe(964:4),Error] <>c__DisplayClass4.<RegisterResolver>b__1() : EXCEPTION! (see below)
     Situation: Exception trying to resolve dependency: Microsoft.TeamFoundation.Client, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
     Outer Exception Type: System.IO.FileNotFoundException
     Message: Could not load file or assembly 'Microsoft.TeamFoundation.Client, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
     HRESULT: 0x80070002 (Official ID (if app.) = 2147942402, Error Bit = FAILED, Facility = FACILITY_WIN32, Code = ERROR_FILE_NOT_FOUND)
     Call Stack:
          at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
          at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
          at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
          at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
          at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
          at System.Reflection.Assembly.Load(String assemblyString)
          at ArtOfTest.Common.BaseDependencyLoader.<>c__DisplayClass4.<RegisterResolver>b__1(Object o, ResolveEventArgs e)

[11/07 10:04:17,telerik.teststudio.exe(964:4),Uncategorized] BugTrackersLoader.LoadSystems() : Telerik.TestStudio.TFSBugTracker.TFSBugTracker could not be instantiated. Exception: Exception has been thrown by the target of an invocation.
[11/07 10:04:17,telerik.teststudio.exe(964:4),Uncategorized] BugTrackersLoader.LoadSystems() : Searching for IBugTracker implementers in "C:\bin\Telerik\Test Studio\Bin\Plugins\Telerik.TestStudio.Shared.dll"...
[11/07 10:04:17,telerik.teststudio.exe(964:4),Uncategorized] BugTrackersLoader.LoadSystems() : Searching for IBugTracker implementers in "C:\bin\Telerik\Test Studio\Bin\Plugins\Telerik.TestStudio.TeamPulse.dll"...
[11/07 10:04:17,telerik.teststudio.exe(964:4),Uncategorized] BugTrackersLoader.LoadSystems() : TeamPulse Server implements IBugTracker and was loaded in the system.
[11/07 10:04:17,telerik.teststudio.exe(964:4),Uncategorized] BugTrackersLoader.LoadSystems() : Searching for IBugTracker implementers in "C:\bin\Telerik\Test Studio\Bin\Plugins\Telerik.TestStudio.Web.dll"...
[11/07 10:04:17,telerik.teststudio.exe(964:4),Uncategorized] BugTrackersLoader.LoadSystems() : Searching for IBugTracker implementers in "C:\bin\Telerik\Test Studio\Bin\Plugins\Telerik.TestStudio.Wpf.dll"...
[11/07 10:04:19,telerik.teststudio.exe(964:1),Uncategorized] Orchestrator.set_SelectedProject() : Active Project is : 'OMS_Regression'
[11/07 10:04:19,telerik.teststudio.exe(964:1),Uncategorized] Orchestrator._iUIProject_ProjectOpened() : Project 'OMS_Regression' Ready.
[11/07 10:04:22,telerik.teststudio.exe(964:11)] First trace message from pool unnamed thread (managed ID = 11, native ID = 6132).
[11/07 10:04:22,telerik.teststudio.exe(964:11),TestStudio] <>c__DisplayClassf.<LoadInternal>b__9() : Extract elements time: 00:00:00.9406176
[11/07 10:04:22,telerik.teststudio.exe(964:11),TestStudio] <>c__DisplayClassf.<LoadInternal>b__9() : Total Elements count: 127
[11/07 10:09:27,telerik.teststudio.exe(964:1),ProjectModel] DataHelper.CreateData() : ------- Function Start -------
[11/07 10:10:21,telerik.teststudio.exe(964:1),ProjectModel] DataHelper.CreateData() : ------- Function End -------
[11/07 10:10:24,telerik.teststudio.exe(964:1),ProjectModel] DataHelper.CreateData() : ------- Function Start -------
[11/07 10:22:33,telerik.teststudio.exe(964:1),ProjectModel] DataHelper.CreateData() : ------- Function End -------
[11/07 10:22:41,telerik.teststudio.exe(964:1),ProjectModel] DataHelper.CreateData() : ------- Function Start -------
[11/07 10:26:45,telerik.teststudio.exe(964:1),ProjectModel] DataHelper.CreateData() : ------- Function End -------


Cody
Telerik team
 answered on 12 Nov 2014
1 answer
56 views
Hi everyone.

I installed and referenced ArtOfTest imports to use the Manager Class. The class appears to be connected  to my code but non of the methods, like 'LaunchBroswer' appear in the context menu. Also when I type out the whole statement none of the code working. See screen cast http://screencast.com/t/iKs1EE6BYxpV. How do I reference the code to insure that I can use the Manager Class:
Boyan Boev
Telerik team
 answered on 11 Nov 2014
0 answers
436 views
Here is a solution how to perform an automatic re-run of failed tests after a Test List execution finishes. This is done by using the exposed functionality by Test Studio Execution Extension (http://docs.telerik.com/teststudio/user-guide/code-samples/general/execution-extensions.aspx).

Note: This is just an ready-to-use working example to see how this can be achieved, but you can change it in any way and just reuse the concept with your custom implementation (attached is the solution for building the extension, in which to make the customizations).

1. Open the attached execution extension archive (ReRunFailedTestsExecutionExtension.zip) which contains already built execution extension with .Net 4.5

2. The code inside overwrites the default methods OnBeforeTestListStarted(), OnBeforeTestStarted() and OnAfterTestListCompleted() to build a list of failed tests from the Test List result object for later use for the re-run functionality

3. Copy/Paste the ReRunFailedTests.dll and ReRunFailedTests.dll.config files in your [Test Studio installation folder]\Bin\Plugins\ folder so they will be used whenever Test Studio or command line ArtOfTest.Runner.exe are started

4. In the configuration file ReRunFailedTests.dll.config there are several keys that can be changed:
4.1. 'ReRun = True' means the automatic re-run functionality will be triggered for each test list run. If you don't want it to be triggered set it to False
4.2 'ReRunAsList = True' option will execute all failed tests as part of a single new Test List created from the original Test List, but containing only the failed tests from the original list. The 'name' of the new list will be the same as the original list and added (FailedReRun) at the end of it; if 'ReRunAsList' key is set to 'False' the automatic rerun of all failed tests will be performed on test by test basis, meaning failed tests will not be combined in a Test List and executed as tests - this will effect in generating an individual result for each failed test, i.e. if your test list has 100 tests and 10 of them fail, after the rerun you will have single result from the original Test List run and additionally 10 individual small results for each failed test (if using 'True' option you will only have 2 result files in this example, instead of 11 to be shown in Test Studio Results view);
4.3 'ProcessToRun' is the path to where ArtOfTest.Runner.exe is installed (comes with default path installation on x64 machine)

Note1: in order for this approach to work the tests should be written as autonomous tests - created in a way to be executed on their own, without the use of previous tests run before them in a list to make them work properly
Note2: this will work only for local test list executions, not in a remote/scheduled runs on distributed machines
Daniel
Top achievements
Rank 1
 asked on 11 Nov 2014
3 answers
150 views
I have a test (called Refresh_Wrapper) that has a data binding to a .csv file with three rows.  The test correctly runs three times... once for each row in the .csv.

I created a sub-test (called Refresh_Params) which enters the .csv values into the application.  I call this sub-test from my main test.  Now my main test runs three times (correctly).  And I expected it to call the subtest once passing it the data value for that main test's iteration.  But it's calling the sub-test three times (once for each .csv row) within the first iteration of the main test.

In the project tab, I have the main test (Refresh_Wrapper) with DataEnabled checked.  The child test (Refresh_Parameters) has DataEnabled unchecked and InheritParentDataSource checked.

Is there any way to get the child test to run only once per parent test's iteration and to use the data value from the parent test's data binding?
Ivaylo
Telerik team
 answered on 11 Nov 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?