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 isPageOpened;
isPageOpened = Url.Contains("Start.aspx");
Thanks in advance.
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!
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?
Is there any way how to cover swipe action in the browser?
BR,
Uroš
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.
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.
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.