public string set_Interface_AdvancedMode() { var webScarab = new API_WebScarab(); stop_RuninngInstances(); Assert.That(webScarab.start().started(), "WebScarab did not start"); "Moving mouse to set interface to advanced mode".info(); webScarab.setInterface_FullFeatured(); webScarab.stop(); ensureNoRunningInstances(); return "ok"; }
public string set_Interface_LiteMode() { var webScarab = new API_WebScarab(); stop_RuninngInstances(); Assert.That(webScarab.start().started(), "WebScarab did not start"); webScarab.setInterface_Lite(); "Moving mouse to set interface to Lite".info(); webScarab.stop(); ensureNoRunningInstances(); return("ok"); }
public string launch_WebScarab() { var webScarab = new API_WebScarab(); stop_RuninngInstances(); webScarab.start(); Assert.That(webScarab.WebScarab_Process.notNull(), "webScarab.WebScarab_Process was null"); Assert.That(webScarab.WebScarab_Process.HasExited.isFalse(), "webScarab.WebScarab_Process.HasExited was true"); Assert.That(webScarab.WebScarab_Process.MainWindowHandle != IntPtr.Zero, "webScarab.WebScarab_Process.MainWindowHandle was 0"); webScarab.stop(); ensureNoRunningInstances(); return "ok"; }
public string launch_WebScarab() { var webScarab = new API_WebScarab(); stop_RuninngInstances(); webScarab.start(); Assert.That(webScarab.WebScarab_Process.notNull(), "webScarab.WebScarab_Process was null"); Assert.That(webScarab.WebScarab_Process.HasExited.isFalse(), "webScarab.WebScarab_Process.HasExited was true"); Assert.That(webScarab.WebScarab_Process.MainWindowHandle != IntPtr.Zero, "webScarab.WebScarab_Process.MainWindowHandle was 0"); webScarab.stop(); ensureNoRunningInstances(); return("ok"); }
public static API_WebScarab startAndSync(this API_WebScarab webScarab, Control control) { webScarab.start(); webScarab.syncGuiPositionWithControl(control); return(webScarab); }
public static API_WebScarab restart(this API_WebScarab webScarab) { webScarab.stop(); return(webScarab.start()); }