public interface CustomCapabilities
T-Plan Robot Enterprise, (C) 2009-2022 T-Plan Limited. All rights reserved.
Modifier and Type | Method and Description |
---|---|
boolean |
canRunWithoutConnection(ScriptingContext context,
List params,
Map args,
boolean isWithinSelection)
Indicate whether the command can run without connection to a desktop.
|
boolean canRunWithoutConnection(ScriptingContext context, List params, Map args, boolean isWithinSelection)
CommandHandler.canRunWithoutConnection()
method allowing to
subject the status to the current script context and parameters. For
example, the Screenshot command may work without a desktop connection if
there's at least a Selenium driven browser.context
- the script context.params
- parameter name and value pairs specified for the calling
command.args
- list of parameter names in the order they are specified.isWithinSelection
- when just a part of the script code is being
executed ("execute selected") this flag indicates whether the command
is in the selected code or not. Since 6.2.3 (RB-467)