Telerik Forums
Test Studio Forum
2 answers
105 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
181 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
73 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
517 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
196 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
3 answers
94 views
Hi, we have an application in ExtJS and we are doing tests to attempt login. During the execution all steps are good and text is entered for username and password but the condition for enable the login button is false, so we can't progress. We got the same problems when we execute a test list scheduled and sometimes text is not entered. Is the execution too fast? Could you help us?

Roberto
Ivaylo
Telerik team
 answered on 07 Nov 2014
5 answers
172 views
Hi Telerik Team,

I have existing trial projects that have reference to System.Data. However, just recently, I tried to add a new project, I encountered an error regarding missing directive for System.Data. I looked at the references of the new project, and the System.Data is not included. I tried to add reference to it but it was not reflected in the project references. Do you know a workaround for these?

Much thanks,
Kristine
Ivaylo
Telerik team
 answered on 07 Nov 2014
1 answer
105 views
I have created tests by adding excel data binding. The tests work fine. But if I try to run the same tests after a gap of like 2 months, somehow the bindings are lost and my tests pick up data from some other excel workbooks in the project. I have to go back and bind the every step with the data again. How do I resolve this? Can anybody help please?
Ivaylo
Telerik team
 answered on 06 Nov 2014
5 answers
94 views
Hi
I´m using Test studio with Visual Studio 2010 and exporting the Storyboard to html.  Is it possible to modifie export templa with my companies logo and custom text?

cheers
Eyjolfur Bjarnason
Boyan Boev
Telerik team
 answered on 05 Nov 2014
3 answers
286 views
Hi,

I have 2 sites of similar page structure. Here i need to navigate to another page from home by clicking on "first" link (menu option) from left-pane. I am not sure of the name of the link or it's href value. But i have to click on the first link from left-navigation-pane. The link in first site might be completely different from second site. Can i locate this element by using it's 'UL' index in the left pane ?

For the 1st site's element XPath was - /html[1]/body[1]/form[1]/div[2]/div[1]/ul[1]/li[2]/a[1]
For the 2nd site's element XPath was - /html[1]/body[1]/form[1]/div[3]/div[4]/div[1]/div[2]/div[1]/ul[1]/li[2]/a[1]
So i have tried element finding logic as 'XPath' - 'StartsWith' - /html[1]/body[1]/form[1] & 'XPath' - 'EndsWith' - /div[1]/ul[1]/li[2]/a[1]
But the telerik is unable to locate the element as there are other links at the  bottom of the page matching with the same above logic.


Could somebody please help me with this ? I should be able to run the same script/steps in 2 sites.
Thanks in advance

Boyan Boev
Telerik team
 answered on 05 Nov 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?