Telerik Forums
Test Studio Forum
3 answers
135 views

Hi,

I would like to use conditional step (using if...else) based on active URL.

For example, if after performing some action i am navigated to specific url - additional step will be executed. If browser url does not contains some value (or not equal to given url) - do nothing, just continue the regular test flow.

I can add the coded step to verify the URL, but i'm not able to use the bool value from it into 'If' condition. Any workaround ideas?

Something like this:

string Url = ActiveBrowser.Url;
bool is​PageOpened;
is​PageOpened = Url.Contains("Start.aspx");​

 

Thanks in advance.

Elena
Telerik team
 answered on 23 May 2017
9 answers
125 views

Hi, 

I am getting following error when I am trying to schedule test on remote machine. 

 

[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:65),Execution] SourceControlMediator.GetProject() : Getting latest source control version of project 22d928a8-7906-47ee-974a-148a5b0c71ac
[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:76),Execution] SourceControlMediator.GetProject() : Getting latest source control version of project 22db722c-953b-4a8f-9747-bf57b59e69e2
[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:63),Execution] SourceControlMediator.GetProject() : Getting latest source control version of project 22d928a8-7906-47ee-974a-148a5b0c71ac
[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:36),Execution] SourceControlMediator.GetProject() : Getting latest source control version of project 22db722c-953b-4a8f-9747-bf57b59e69e2
[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:35),Execution] SourceControlMediator.GetProject() : Getting latest source control version of project 22db722c-953b-4a8f-9747-bf57b59e69e2
[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:76),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function Start -------
[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:65),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function Start -------
[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:76),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function End -------
[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:63),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function Start -------
[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:36),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function Start -------
[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:35),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function Start -------
[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:76),TeamFoundationServer] TFSServer.AttachToRepository() : ------- Function Start -------
[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:35),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function End -------
[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:65),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function End -------
[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:63),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function End -------
[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:35),TeamFoundationServer] TFSServer.AttachToRepository() : ------- Function Start -------
[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:63),TeamFoundationServer] TFSServer.AttachToRepository() : ------- Function Start -------
[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:65),TeamFoundationServer] TFSServer.AttachToRepository() : ------- Function Start -------
[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:36),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function End -------
[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:36),TeamFoundationServer] TFSServer.AttachToRepository() : ------- Function Start -------
[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:36),TeamFoundationServer] TFSServer.AttachToRepository() : ------- Function End -------
[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:35),TeamFoundationServer] TFSServer.AttachToRepository() : ------- Function End -------
[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:76),TeamFoundationServer] TFSServer.AttachToRepository() : ------- Function End -------
[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:35),Execution] SourceControlMediator.GetProject() : EXCEPTION! (see below)
     Situation: Failed to retrieve files in SourceControlDataTransportReader.GetProjectFromSourceControl
     Outer Exception Type: Microsoft.TeamFoundation.VersionControl.Client.WorkspaceExistsException
     Message: The workspace 22db722c-953b-4a8f-9747-bf57b59e69e2;Dhaval Pathak already exists on computer DEVCOMMON1.
     HRESULT: 0x80131600 (Official ID (if app.) = COR_E_APPLICATION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5632)
     Call Stack:
          at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.HandleReply(TfsClientOperation operation, TfsMessage message, Object[]& outputs)
          at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation, Object[] parameters, TimeSpan timeout, Object[]& outputs)
          at Microsoft.TeamFoundation.VersionControl.Client.Repository.CreateWorkspace(Workspace workspace)
          at Microsoft.TeamFoundation.VersionControl.Client.WebServiceLayer.CreateWorkspace(Workspace workspace)
          at Microsoft.TeamFoundation.VersionControl.Client.Client.CreateWorkspace(CreateWorkspaceParameters cwp)
          at Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer.CreateWorkspace(CreateWorkspaceParameters createWorkspaceParameters)
          at Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer.CreateWorkspace(String name, String owner, String comment, WorkingFolder[] mappings)
          at ArtOfTest.Common.TFSClient.TFSServer.AttachToRepository(IRepositoryInfo repository)
          at Telerik.TestStudio.Services.Common.SourceControlMediator.GetProject(String targetPath, String projectIdentifier, String sourceControlServerAddress, String sourceControlRemotePath)

     Inner Exception Type: System.Web.Services.Protocols.SoapException
     Message: The workspace 22db722c-953b-4a8f-9747-bf57b59e69e2;Dhaval Pathak already exists on computer DEVCOMMON1.
     HRESULT: 0x80131501 (Official ID (if app.) = COR_E_SYSTEM, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5377)

[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:36),Execution] SourceControlMediator.GetProject() : EXCEPTION! (see below)
     Situation: Failed to retrieve files in SourceControlDataTransportReader.GetProjectFromSourceControl
     Outer Exception Type: Microsoft.TeamFoundation.VersionControl.Client.WorkspaceExistsException
     Message: The workspace 22db722c-953b-4a8f-9747-bf57b59e69e2;Dhaval Pathak already exists on computer DEVCOMMON1.
     HRESULT: 0x80131600 (Official ID (if app.) = COR_E_APPLICATION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5632)
     Call Stack:
          at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.HandleReply(TfsClientOperation operation, TfsMessage message, Object[]& outputs)
          at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation, Object[] parameters, TimeSpan timeout, Object[]& outputs)
          at Microsoft.TeamFoundation.VersionControl.Client.Repository.CreateWorkspace(Workspace workspace)
          at Microsoft.TeamFoundation.VersionControl.Client.WebServiceLayer.CreateWorkspace(Workspace workspace)
          at Microsoft.TeamFoundation.VersionControl.Client.Client.CreateWorkspace(CreateWorkspaceParameters cwp)
          at Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer.CreateWorkspace(CreateWorkspaceParameters createWorkspaceParameters)
          at Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer.CreateWorkspace(String name, String owner, String comment, WorkingFolder[] mappings)
          at ArtOfTest.Common.TFSClient.TFSServer.AttachToRepository(IRepositoryInfo repository)
          at Telerik.TestStudio.Services.Common.SourceControlMediator.GetProject(String targetPath, String projectIdentifier, String sourceControlServerAddress, String sourceControlRemotePath)

     Inner Exception Type: System.Web.Services.Protocols.SoapException
     Message: The workspace 22db722c-953b-4a8f-9747-bf57b59e69e2;Dhaval Pathak already exists on computer DEVCOMMON1.
     HRESULT: 0x80131501 (Official ID (if app.) = COR_E_SYSTEM, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5377)

[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:63),TeamFoundationServer] TFSServer.AttachToRepository() : ------- Function End -------
[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:65),TeamFoundationServer] TFSServer.AttachToRepository() : ------- Function End -------
[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:65),Execution] SourceControlMediator.GetProject() : EXCEPTION! (see below)
     Situation: Failed to retrieve files in SourceControlDataTransportReader.GetProjectFromSourceControl
     Outer Exception Type: Microsoft.TeamFoundation.VersionControl.Client.WorkspaceExistsException
     Message: The workspace 22d928a8-7906-47ee-974a-148a5b0c71ac;Dhaval Pathak already exists on computer DEVCOMMON1.
     HRESULT: 0x80131600 (Official ID (if app.) = COR_E_APPLICATION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5632)
     Call Stack:
          at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.HandleReply(TfsClientOperation operation, TfsMessage message, Object[]& outputs)
          at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation, Object[] parameters, TimeSpan timeout, Object[]& outputs)
          at Microsoft.TeamFoundation.VersionControl.Client.Repository.CreateWorkspace(Workspace workspace)
          at Microsoft.TeamFoundation.VersionControl.Client.WebServiceLayer.CreateWorkspace(Workspace workspace)
          at Microsoft.TeamFoundation.VersionControl.Client.Client.CreateWorkspace(CreateWorkspaceParameters cwp)
          at Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer.CreateWorkspace(CreateWorkspaceParameters createWorkspaceParameters)
          at Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer.CreateWorkspace(String name, String owner, String comment, WorkingFolder[] mappings)
          at ArtOfTest.Common.TFSClient.TFSServer.AttachToRepository(IRepositoryInfo repository)
          at Telerik.TestStudio.Services.Common.SourceControlMediator.GetProject(String targetPath, String projectIdentifier, String sourceControlServerAddress, String sourceControlRemotePath)

     Inner Exception Type: System.Web.Services.Protocols.SoapException
     Message: The workspace 22d928a8-7906-47ee-974a-148a5b0c71ac;Dhaval Pathak already exists on computer DEVCOMMON1.
     HRESULT: 0x80131501 (Official ID (if app.) = COR_E_SYSTEM, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5377)

[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:76),Execution] SourceControlMediator.GetProject() : The files have been retrieved from source control for 22db722c-953b-4a8f-9747-bf57b59e69e2
[03/08 16:58:44,Telerik.TestStudio.ExecutionManagerService.exe(3468:63),Execution] SourceControlMediator.GetProject() : The files have been retrieved from source control for 22d928a8-7906-47ee-974a-148a5b0c71ac
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:65),Execution] JobRunner.RunJobAsync() : Unable to load test list, aborting run.
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:65),Execution] JobRunner.RunJobAsync() : Use source control server: YES
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:65),Execution] JobRunner.RunJobAsync() : Source control server address: http://tfs:8080/tfs
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:49),Execution] JobRunner.RunJobAsync() : Unable to load test list, aborting run.
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:49),Execution] JobRunner.RunJobAsync() : Use source control server: YES
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:49),Execution] JobRunner.RunJobAsync() : Source control server address: http://tfs:8080/tfs
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:61),Execution] JobRunner.RunJobAsync() : Unable to load test list, aborting run.
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:61),Execution] JobRunner.RunJobAsync() : Use source control server: YES
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:61),Execution] JobRunner.RunJobAsync() : Source control server address: http://tfs:8080/tfs
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:65),Execution] JobRunner.RunJobAsync() : Project remote path: $/Tools/Quality Assurance Testing/Ontario Park
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:49),Execution] JobRunner.RunJobAsync() : Project remote path: $/Tools/Quality Assurance Testing/Ontario Park
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:49),Execution] JobRunner.RunJobAsync() : Check if test list is available at project location. Consider cleaning Job storage!
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:61),Execution] JobRunner.RunJobAsync() : Project remote path: $/Tools/Quality Assurance Testing/Ontario Parks Test Automation
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:61),Execution] JobRunner.RunJobAsync() : Check if test list is available at project location. Consider cleaning Job storage!
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:49),Execution] JobRunner.RunJobAsync() : Job storage location: C:\Users\dhaval.pathak\AppData\Roaming\Telerik\TestStudio\Scheduler\ScheduleStorage
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:61),Execution] JobRunner.RunJobAsync() : Job storage location: C:\Users\dhaval.pathak\AppData\Roaming\Telerik\TestStudio\Scheduler\ScheduleStorage
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:65),Execution] JobRunner.RunJobAsync() : Check if test list is available at project location. Consider cleaning Job storage!
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:65),Execution] JobRunner.RunJobAsync() : Job storage location: C:\Users\dhaval.pathak\AppData\Roaming\Telerik\TestStudio\Scheduler\ScheduleStorage
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:65),Execution] JobBroker.ctor() : Job runner refused this job!
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:49),Execution] JobBroker.ctor() : Job runner refused this job!
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:61),Execution] JobBroker.ctor() : Job runner refused this job!
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:52),Execution] JobRunner.RunJobAsync() : Unable to load test list, aborting run.
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:52),Execution] JobRunner.RunJobAsync() : Use source control server: YES
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:52),Execution] JobRunner.RunJobAsync() : Source control server address: http://tfs:8080/tfs
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:63),Execution] JobRunner.RunJobAsync() : Unable to load test list, aborting run.
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:63),Execution] JobRunner.RunJobAsync() : Use source control server: YES
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:63),Execution] JobRunner.RunJobAsync() : Source control server address: http://tfs:8080/tfs
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:63),Execution] JobRunner.RunJobAsync() : Project remote path: $/Tools/Quality Assurance Testing/Ontario Parks Test Automation
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:63),Execution] JobRunner.RunJobAsync() : Check if test list is available at project location. Consider cleaning Job storage!
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:63),Execution] JobRunner.RunJobAsync() : Job storage location: C:\Users\dhaval.pathak\AppData\Roaming\Telerik\TestStudio\Scheduler\ScheduleStorage
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:63),Execution] JobBroker.ctor() : Job runner refused this job!
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:52),Execution] JobRunner.RunJobAsync() : Project remote path: $/Tools/Quality Assurance Testing/Ontario Park
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:52),Execution] JobRunner.RunJobAsync() : Check if test list is available at project location. Consider cleaning Job storage!
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:52),Execution] JobRunner.RunJobAsync() : Job storage location: C:\Users\dhaval.pathak\AppData\Roaming\Telerik\TestStudio\Scheduler\ScheduleStorage
[03/08 16:58:55,Telerik.TestStudio.ExecutionManagerService.exe(3468:52),Execution] JobBroker.ctor() : Job runner refused this job!
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:24),Execution] SourceControlMediator.GetProject() : Getting latest source control version of project 22d928a8-7906-47ee-974a-148a5b0c71ac
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:24),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function Start -------
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:25),Execution] SourceControlMediator.GetProject() : Getting latest source control version of project 22db722c-953b-4a8f-9747-bf57b59e69e2
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:35),Execution] SourceControlMediator.GetProject() : Getting latest source control version of project 22d928a8-7906-47ee-974a-148a5b0c71ac
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:72),Execution] SourceControlMediator.GetProject() : Getting latest source control version of project 22db722c-953b-4a8f-9747-bf57b59e69e2
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:35),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function Start -------
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:35),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function End -------
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:61),Execution] SourceControlMediator.GetProject() : Getting latest source control version of project 22db722c-953b-4a8f-9747-bf57b59e69e2
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:35),TeamFoundationServer] TFSServer.AttachToRepository() : ------- Function Start -------
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:24),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function End -------
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:25),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function Start -------
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:24),TeamFoundationServer] TFSServer.AttachToRepository() : ------- Function Start -------
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:72),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function Start -------
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:61),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function Start -------
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:25),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function End -------
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:25),TeamFoundationServer] TFSServer.AttachToRepository() : ------- Function Start -------
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:61),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function End -------
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:72),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function End -------
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:72),TeamFoundationServer] TFSServer.AttachToRepository() : ------- Function Start -------
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:61),TeamFoundationServer] TFSServer.AttachToRepository() : ------- Function Start -------
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:35),TeamFoundationServer] TFSServer.AttachToRepository() : ------- Function End -------
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:24),TeamFoundationServer] TFSServer.AttachToRepository() : ------- Function End -------
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:35),Execution] SourceControlMediator.GetProject() : EXCEPTION! (see below)
     Situation: Failed to retrieve files in SourceControlDataTransportReader.GetProjectFromSourceControl
     Outer Exception Type: Microsoft.TeamFoundation.VersionControl.Client.WorkspaceExistsException
     Message: The workspace 22d928a8-7906-47ee-974a-148a5b0c71ac;Dhaval Pathak already exists on computer DEVCOMMON1.
     HRESULT: 0x80131600 (Official ID (if app.) = COR_E_APPLICATION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5632)
     Call Stack:
          at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.HandleReply(TfsClientOperation operation, TfsMessage message, Object[]& outputs)
          at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation, Object[] parameters, TimeSpan timeout, Object[]& outputs)
          at Microsoft.TeamFoundation.VersionControl.Client.Repository.CreateWorkspace(Workspace workspace)
          at Microsoft.TeamFoundation.VersionControl.Client.WebServiceLayer.CreateWorkspace(Workspace workspace)
          at Microsoft.TeamFoundation.VersionControl.Client.Client.CreateWorkspace(CreateWorkspaceParameters cwp)
          at Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer.CreateWorkspace(CreateWorkspaceParameters createWorkspaceParameters)
          at Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer.CreateWorkspace(String name, String owner, String comment, WorkingFolder[] mappings)
          at ArtOfTest.Common.TFSClient.TFSServer.AttachToRepository(IRepositoryInfo repository)
          at Telerik.TestStudio.Services.Common.SourceControlMediator.GetProject(String targetPath, String projectIdentifier, String sourceControlServerAddress, String sourceControlRemotePath)

     Inner Exception Type: System.Web.Services.Protocols.SoapException
     Message: The workspace 22d928a8-7906-47ee-974a-148a5b0c71ac;Dhaval Pathak already exists on computer DEVCOMMON1.
     HRESULT: 0x80131501 (Official ID (if app.) = COR_E_SYSTEM, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5377)

[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:61),TeamFoundationServer] TFSServer.AttachToRepository() : ------- Function End -------
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:61),Execution] SourceControlMediator.GetProject() : EXCEPTION! (see below)
     Situation: Failed to retrieve files in SourceControlDataTransportReader.GetProjectFromSourceControl
     Outer Exception Type: Microsoft.TeamFoundation.VersionControl.Client.WorkspaceExistsException
     Message: The workspace 22db722c-953b-4a8f-9747-bf57b59e69e2;Dhaval Pathak already exists on computer DEVCOMMON1.
     HRESULT: 0x80131600 (Official ID (if app.) = COR_E_APPLICATION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5632)
     Call Stack:
          at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.HandleReply(TfsClientOperation operation, TfsMessage message, Object[]& outputs)
          at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation, Object[] parameters, TimeSpan timeout, Object[]& outputs)
          at Microsoft.TeamFoundation.VersionControl.Client.Repository.CreateWorkspace(Workspace workspace)
          at Microsoft.TeamFoundation.VersionControl.Client.WebServiceLayer.CreateWorkspace(Workspace workspace)
          at Microsoft.TeamFoundation.VersionControl.Client.Client.CreateWorkspace(CreateWorkspaceParameters cwp)
          at Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer.CreateWorkspace(CreateWorkspaceParameters createWorkspaceParameters)
          at Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer.CreateWorkspace(String name, String owner, String comment, WorkingFolder[] mappings)
          at ArtOfTest.Common.TFSClient.TFSServer.AttachToRepository(IRepositoryInfo repository)
          at Telerik.TestStudio.Services.Common.SourceControlMediator.GetProject(String targetPath, String projectIdentifier, String sourceControlServerAddress, String sourceControlRemotePath)

     Inner Exception Type: System.Web.Services.Protocols.SoapException
     Message: The workspace 22db722c-953b-4a8f-9747-bf57b59e69e2;Dhaval Pathak already exists on computer DEVCOMMON1.
     HRESULT: 0x80131501 (Official ID (if app.) = COR_E_SYSTEM, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5377)

[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:25),TeamFoundationServer] TFSServer.AttachToRepository() : ------- Function End -------
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:25),Execution] SourceControlMediator.GetProject() : The files have been retrieved from source control for 22db722c-953b-4a8f-9747-bf57b59e69e2
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:24),Execution] SourceControlMediator.GetProject() : The files have been retrieved from source control for 22d928a8-7906-47ee-974a-148a5b0c71ac
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:72),TeamFoundationServer] TFSServer.AttachToRepository() : ------- Function End -------
[03/08 16:59:14,Telerik.TestStudio.ExecutionManagerService.exe(3468:72),Execution] SourceControlMediator.GetProject() : The files have been retrieved from source control for 22db722c-953b-4a8f-9747-bf57b59e69e2
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:61),Execution] JobRunner.RunJobAsync() : Unable to load test list, aborting run.
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:61),Execution] JobRunner.RunJobAsync() : Use source control server: YES
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:61),Execution] JobRunner.RunJobAsync() : Source control server address: http://tfs:8080/tfs
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:61),Execution] JobRunner.RunJobAsync() : Project remote path: $/Tools/Quality Assurance Testing/Ontario Parks Test Automation
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:61),Execution] JobRunner.RunJobAsync() : Check if test list is available at project location. Consider cleaning Job storage!
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:61),Execution] JobRunner.RunJobAsync() : Job storage location: C:\Users\dhaval.pathak\AppData\Roaming\Telerik\TestStudio\Scheduler\ScheduleStorage
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:61),Execution] JobBroker.ctor() : Job runner refused this job!
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:15),Execution] JobRunner.RunJobAsync() : Unable to load test list, aborting run.
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:15),Execution] JobRunner.RunJobAsync() : Use source control server: YES
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:15),Execution] JobRunner.RunJobAsync() : Source control server address: http://tfs:8080/tfs
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:15),Execution] JobRunner.RunJobAsync() : Project remote path: $/Tools/Quality Assurance Testing/Ontario Park
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:15),Execution] JobRunner.RunJobAsync() : Check if test list is available at project location. Consider cleaning Job storage!
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:15),Execution] JobRunner.RunJobAsync() : Job storage location: C:\Users\dhaval.pathak\AppData\Roaming\Telerik\TestStudio\Scheduler\ScheduleStorage
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:15),Execution] JobBroker.ctor() : Job runner refused this job!
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:25),Execution] JobRunner.RunJobAsync() : Unable to load test list, aborting run.
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:25),Execution] JobRunner.RunJobAsync() : Use source control server: YES
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:49),Execution] JobRunner.RunJobAsync() : Unable to load test list, aborting run.
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:49),Execution] JobRunner.RunJobAsync() : Use source control server: YES
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:49),Execution] JobRunner.RunJobAsync() : Source control server address: http://tfs:8080/tfs
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:25),Execution] JobRunner.RunJobAsync() : Source control server address: http://tfs:8080/tfs
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:25),Execution] JobRunner.RunJobAsync() : Project remote path: $/Tools/Quality Assurance Testing/Ontario Parks Test Automation
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:49),Execution] JobRunner.RunJobAsync() : Project remote path: $/Tools/Quality Assurance Testing/Ontario Park
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:49),Execution] JobRunner.RunJobAsync() : Check if test list is available at project location. Consider cleaning Job storage!
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:49),Execution] JobRunner.RunJobAsync() : Job storage location: C:\Users\dhaval.pathak\AppData\Roaming\Telerik\TestStudio\Scheduler\ScheduleStorage
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:25),Execution] JobRunner.RunJobAsync() : Check if test list is available at project location. Consider cleaning Job storage!
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:25),Execution] JobRunner.RunJobAsync() : Job storage location: C:\Users\dhaval.pathak\AppData\Roaming\Telerik\TestStudio\Scheduler\ScheduleStorage
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:25),Execution] JobBroker.ctor() : Job runner refused this job!
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:49),Execution] JobBroker.ctor() : Job runner refused this job!
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:24),Execution] JobRunner.RunJobAsync() : Unable to load test list, aborting run.
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:24),Execution] JobRunner.RunJobAsync() : Use source control server: YES
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:24),Execution] JobRunner.RunJobAsync() : Source control server address: http://tfs:8080/tfs
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:24),Execution] JobRunner.RunJobAsync() : Project remote path: $/Tools/Quality Assurance Testing/Ontario Park
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:24),Execution] JobRunner.RunJobAsync() : Check if test list is available at project location. Consider cleaning Job storage!
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:24),Execution] JobRunner.RunJobAsync() : Job storage location: C:\Users\dhaval.pathak\AppData\Roaming\Telerik\TestStudio\Scheduler\ScheduleStorage
[03/08 16:59:25,Telerik.TestStudio.ExecutionManagerService.exe(3468:24),Execution] JobBroker.ctor() : Job runner refused this job!

Elena
Telerik team
 answered on 23 May 2017
3 answers
64 views

What is the best practice to do keyword driven testing in test studio?

My first thought was to create many different small fragmented tests which together can be put into a larger test. For example a test for "login" another for "open order registration"  "add..." "close..." etc

Then in the test list i would add all the tests in the order i want them to create the complete test.

 

But it seems to me now that each test i run in the test list should be complete itself, and i instead should "import" other tests into that complete test with "test as step".
Is that correct? If that is the case why would i have severel different tests in a test list?

Nikolay Petrov
Telerik team
 answered on 19 May 2017
1 answer
76 views
Is there any way that you would be able to work on multiple projects at once in the same window?
Nikolay Petrov
Telerik team
 answered on 18 May 2017
6 answers
207 views
step1 done with my all step
one of my test I have a language drop down so I put data bind things.
in first cycle it select a value from drop down and I put verify a word from that page.
that is done.one 2nd cycle it select a value from dropdown and language of the page change.so I want to verify same word with different language.so I put data driven things for same word.but its not verifying showing Unable to locate element. Details: Attempting to find [Html] element using
Elena
Telerik team
 answered on 18 May 2017
1 answer
88 views

Is there any way how to cover swipe action in the browser?

BR,

Uroš

Nikolay Petrov
Telerik team
 answered on 17 May 2017
5 answers
112 views
I have my project set up with multiple Test Lists that cover my application in full. I am able to schedule 1 test list at a time from the project but it would be easier if I was able to 'select all' within Test List scheduling, is there a way of selecting all lists in the project?
see attachment.
Elena
Telerik team
 answered on 12 May 2017
5 answers
91 views

Locally the test passes, while when I execute it remotely, it completely fails due to the following error:

 Compile failed: c:\Users\Administrator\AppData\Local\Temp\2\Projects\93f1ab04-e5a8-45dc-a70f-f3dc978526f5\Trunk\Accounts\Create.Account_Dragic.tstest.cs(80,58) : error CS1061: 'Trunk.Pages.ConnectWithYourCompanyPage' does not contain a definition for 'textFieldCompanyCode' and no extension method 'textFieldCompanyCode' accepting a first argument of type 'Trunk.Pages.ConnectWithYourCompanyPage' could be found (are you missing a using directive or an assembly reference?)

​The weirdest thing is, that Create.Account_Dragic test does not exist any more in the project.

Elena
Telerik team
 answered on 10 May 2017
1 answer
45 views

Hi,

I have been tasked with a Continuous Integration project and the initial phase requires me to run a simple set of Test Studio tests early every morning. I have created a schedule that runs a test list at the required time. In order to continually run these tests however I also need to increment the data in the projects Excel data source which I do via a scheduled task which runs a macro. The problem I have is the Schedule I have set up does not pick up the changes to the data source unless I right click the schedule instance due to run the next morning and 'Update Latest Project Files'. Is there anyway of getting the schedule I create to do this automatically instead of someone having to manually do it each day? Can the 'Update Latest Project Files' function be run separately via a scheduled task for instance? I hope you can help with this as it is an essential element of the project.

Nikolay Petrov
Telerik team
 answered on 10 May 2017
1 answer
101 views

IE is being used as the default browser when I use the "Find Element" functionality as an "Existing Test Step" feature.  How can I change the browser from IE to another?

Thanks.

 

Elena
Telerik team
 answered on 09 May 2017
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?