Steps to reproduce:
Edit the test list settings and set the baseUrl to be for example: test.com, without the http:// prefix.
Then try to edit the test list settings.
Expected behavior: To be able to edit the test list settings.
Actual Behavior: Test Studio crashes with the following:
[08/10 13:52:52,Telerik.TestStudio.Desktop.exe(6896:1),TestStudio] TestListsView.HandleCommand() : EXCEPTION! (see below)
Outer Exception Type: System.ArgumentException
Message: BaseUrl 'test.test.com' is not in correct format.
HRESULT: 0x80070057 (Official ID (if app.) = E_INVALIDARG, Error Bit = FAILED, Facility = FACILITY_WIN32, Code = ERROR_INVALID_PARAMETER)
Call Stack:
at ArtOfTest.WebAii.Core.Settings.WebSettings.get_BaseUri()
at ArtOfTest.WebAii.Core.Settings.WebSettings..ctor(WebSettings settingsToClone)
at ArtOfTest.WebAii.Core.Settings..ctor(Settings settingsToClone)
at Telerik.TestStudio.Desktop.TestListsView.HandleCommand(ICommand icommand, Object commandArgs)
Inner Exception Type: System.UriFormatException
Message: Invalid URI: The format of the URI could not be determined.
HRESULT: 0x80131537 (Official ID (if app.) = COR_E_FORMAT, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5431)
Call Stack:
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Uri..ctor(String uriString)
at ArtOfTest.WebAii.Core.Settings.WebSettings.get_BaseUri()