I'm running unit tests in VS 2015.
The testing framework version is 2018.1.418.0
The Chrome extension is : Version 2018.1.54.1
When I begin a test the browser shows this URL and "Extension Loaded" in the window:
http://localhost:55222/WebUI/teststudio_start_page.html?port=55221&mode=0&loadingtimeout=50000
However, it just hangs there forever. If I disable the Chrome extension and then re-enable it I can successfully run one test but it will fail if I run it again.
I don't see anything in the browser console nor does the framework write to the log.
The code is pretty straightforward:
Settings settings = new Settings();
settings.LogAnnotations = true;
settings.QueryEventLogErrorsOnExit = false;
settings.LogLocation = "c:\\deleteme\\uiautomation";
settings.ClientReadyTimeout = 50000;
settings.CreateLogFile = true;
settings.AnnotateExecution = true;
settings.AnnotationMode = AnnotationMode.All;
settings.DisableDialogMonitoring = false;
try
{
using (Manager mngr = new Manager(settings))
{
mngr.Start();
mngr.LaunchNewBrowser(BrowserType.Chrome, true);
mngr.ActiveBrowser.NavigateTo("http://the site......");
mngr.ActiveBrowser.WaitUntilReady();
mngr.ActiveBrowser.WaitForAjax(5000);
mngr.ActiveBrowser.RefreshDomTree();
Element element = mngr.ActiveBrowser.Find.ById("some id");
mngr.ActiveBrowser.Actions.Click(element);
mngr.ActiveBrowser.Actions.SelectDropDown(element, "some id");
mngr.ActiveBrowser.Actions.InvokeEvent(element, ScriptEventType.OnChange);
......
......
}