Example #1
0
        public PluginRunner(ScriptBaseWithWindow script)
#endif
        {
            _scriptWithWindow = script;
#if ESAPI_13
            Initialize(userId, password);
#elif ESAPI_15
            Initialize();
#endif
        }
Example #2
0
 public static void Run(ScriptBaseWithWindow script) =>
 RunWith(new PluginRunner(script));
Example #3
0
 /// <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));
Example #4
0
 public PluginRunner(ScriptBaseWithWindow script, string userId, string password)