public PluginRunner(ScriptBaseWithWindow script) #endif { _scriptWithWindow = script; #if ESAPI_13 Initialize(userId, password); #elif ESAPI_15 Initialize(); #endif }
public static void Run(ScriptBaseWithWindow script) => RunWith(new PluginRunner(script));
/// <summary> /// Runs the plugin runner for the given script (accepts a Window). /// </summary> /// <param name="script">The script to run. This script accepts the Window provided by Eclipse.</param> /// <param name="userId">The optional user ID to log in to Eclipse.</param> /// <param name="password">The optional user password to log in to Eclipse.</param> public static void Run(ScriptBaseWithWindow script, string userId = null, string password = null) => RunWith(new PluginRunner(script, userId, password));
public PluginRunner(ScriptBaseWithWindow script, string userId, string password)