This chapter provides a complete listing and reference for the methods in the OpenScript JET (Oracle JavaScript Extension Toolkit) Class of the OpenScript JET Module Application Programming Interface (API).
The following section provides an alphabetical listing of the methods in the OpenScript JET API.
The following table lists the OpenScript JET API methods in alphabetical order.
Table 17-1 List of JET Methods
Method | Description |
---|---|
Identifies a JETAccordion by its recorded ID and path. |
|
Identifies a JETButton by its recorded ID and path. |
|
Identifies a JETChart by its recorded ID and path. |
|
Identifies a JETCollapsible by its recorded ID and path. |
|
Identifies a JETCombobox by its recorded ID and path. |
|
Identifies a JETDataGrid by its recorded ID and path. |
|
Identifies a JETDiagram by its recorded ID and path. |
|
Identifies a JETDialGauge by its recorded ID and path. |
|
Identifies a JETDialog by its recorded ID and path. |
|
Identifies a JETFilmStrip by its recorded ID and path. |
|
Find a component in a specified location by CSS selector. |
|
Find a list of components in a specified location by CSS selector. |
|
Identifies a JETIndexer by its recorded ID and path. |
|
Identifies a JETInputDate by its recorded ID and path. |
|
Identifies a JETInputDateTime by its recorded ID and path. |
|
Identifies a JETInputNumber by its recorded ID and path. |
|
Identifies a JETInputPassword by its recorded ID and path. |
|
Identifies a JETInputSearch by its recorded ID and path. |
|
Identifies a JETInputText by its recorded ID and path. |
|
Identifies a JETInputTime by its recorded ID and path. |
|
Identifies a JETLedGauge by its recorded ID and path. |
|
Identifies a JETListView by its recorded ID and path. |
|
Identifies a JETMenu by its recorded ID and path. |
|
Identifies a JETNavigationList by its recorded ID and path. |
|
Identifies a JETPagingControl by its recorded ID and path. |
|
Identifies a JETPopup by its recorded ID and path. |
|
Identifies a JETProgressbar by its recorded ID and path. |
|
Identifies a JETRatingGauge by its recorded ID and path. |
|
Identifies a JETSelect by its recorded ID and path. |
|
Identifies a JETSlider by its recorded ID and path. |
|
Identifies a JETStatusMeterGauge by its recorded ID and path. |
|
Identifies a JETSwitch by its recorded ID and path. |
|
Identifies a JETTable by its recorded ID and path. |
|
Identifies a JETTabs by its recorded ID and path. |
|
Identifies a JETTextArea by its recorded ID and path. |
|
Identifies a JETTrain by its recorded ID and path. |
|
Identifies a JETTree by its recorded ID and path. |
The following sections provide detailed reference information for each method in the JET Class of the OpenScript JET Module Application Programming Interface.
Identifies a JETAccordion by its recorded ID and path.
The jet.accordion method has the following command format(s):
jet.accordion(path);
jet.accordion(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Identifies a JETButton by its recorded ID and path.
The jet.button method has the following command format(s):
jet.button(path);
jet.button(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Identifies a JETChart by its recorded ID and path.
The jet.chart method has the following command format(s):
jet.chart(path);
jet.chart(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Performs an action on an JETChart object specified by its recorded ID and path.
int groupCount = jet.chart(11,
"/web:window[@index='0' or @title='Area Chart - Default']" +
"/web:document[@index='0']" +
"/web:JETChart[@id='areaChart']")
.getGroupCount();
info("groupCount: " + Integer.toString(groupCount));
Identifies a JETCollapsible by its recorded ID and path.
The jet.collapsible method has the following command format(s):
jet.collapsible(path);
jet.collapsible(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Identifies a JETCombobox by its recorded ID and path.
The jet.combobox method has the following command format(s):
jet.combobox(path);
jet.combobox(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Identifies a JETDataGrid by its recorded ID and path.
The jet.dataGrid method has the following command format(s):
jet.dataGrid(path);
jet.dataGrid(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Identifies a JETDiagram by its recorded ID and path.
The jet.diagram method has the following command format(s):
jet.diagram(path);
jet.diagram(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Identifies a JETDialGauge by its recorded ID and path.
The jet.dialGauge method has the following command format(s):
jet.dialGauge(path);
jet.dialGauge(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Identifies a JETDialog by its recorded ID and path.
The jet.dialog method has the following command format(s):
jet.dialog(path);
jet.dialog(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Identifies a JETFilmStrip by its recorded ID and path.
The jet.filmStrip method has the following command format(s):
jet.filmStrip(path);
jet.filmStrip(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Find a component in a specified location by CSS selector.
The jet.findComponent method has the following command format(s):
jet.findComponent(selector);
jet.findComponent(selector, windowIndex);
jet.findComponent(selector, windowIndex, documentIndex);
a String targeting the element.
a 0 based index for each window.
a 0 based index for each document.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Find a list of components in a specified location by CSS selector.
The jet.findComponents method has the following command format(s):
jet.findComponents(selector);
jet.findComponents(selector, windowIndex);
jet.findComponents(selector, windowIndex, documentIndex);
a String targeting the elements.
a 0 based index for each window.
a 0 based index for each document.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Identifies a JETIndexer by its recorded ID and path.
The jet.indexer method has the following command format(s):
jet.indexer(path);
jet.indexer(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Identifies a JETInputDate by its recorded ID and path.
The jet.inputDate method has the following command format(s):
jet.inputDate(path);
jet.inputDate(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Performs an action on an JETInputDate object specified by its recorded ID and path.
String value = jet.inputDate(11,
"/web:window[@index='0' or @title='InputDate - InputDate']" +
"/web:document[@index='0']" +
"/web:JETInputDate[@id='inputDate']")
.getDisplayValue();
info("value = " + value);
Identifies a JETInputDateTime by its recorded ID and path.
The jet.inputDateTime method has the following command format(s):
jet.inputDateTime(path);
jet.inputDateTime(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Performs an action on an JETInputDateTime object specified by its recorded ID and path.
String value = jet.inputDateTime(11,
"/web:window[@index='0' or @title='InputDateTime - InputDateTime']" +
"/web:document[@index='0']" +
"/web:JETInputDateTime[@id='inputDateTime']")
.getDisplayValue();
info("value = " + value);
Identifies a JETInputNumber by its recorded ID and path.
The jet.inputNumber method has the following command format(s):
jet.inputNumber(path);
jet.inputNumber(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Identifies a JETInputPassword by its recorded ID and path.
The jet.inputPassword method has the following command format(s):
jet.inputPassword(path);
jet.inputPassword(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Performs an action on an JETInputPassword object specified by its recorded ID and path.
jet.inputPassword(11,
"/web:window[@index='0' or @title='InputPassword - InputPassword']" +
"/web:document[@index='0']" +
"/web:JETInputPassword[@id='inputPassword']")
.setPassword(deobfuscate("5blNah5kX/XuZnepYwInFw=="));
Identifies a JETInputSearch by its recorded ID and path.
The jet.inputSearch method has the following command format(s):
jet.inputSearch(path);
jet.inputSearch(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Identifies a JETInputText by its recorded ID and path.
The jet.inputText method has the following command format(s):
jet.inputText(path);
jet.inputText(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Identifies a JETInputTime by its recorded ID and path.
The jet.inputTime method has the following command format(s):
jet.inputTime(path);
jet.inputTime(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Performs an action on an JETInputTime object specified by its recorded ID and path.
String value = jet.inputTime(11,
"/web:window[@index='0' or @title='InputTime - InputTime']" +
"/web:document[@index='0']" +
"/web:JETInputTime[@id='inputTime']")
.getDisplayValue();
info("value = " + value);
Identifies a JETLedGauge by its recorded ID and path.
The jet.ledGauge method has the following command format(s):
jet.ledGauge(path);
jet.ledGauge(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Performs an action on an JETLedGauge object specified by its recorded ID and path.
String label = jet.ledGauge(11,
"/web:window[@index='0' or @title='LED Gauge - LED Gauge']" +
"/web:document[@index='0']" +
/web:JETLedGauge[@id='' or @componentIndex='6']")
.getMetricLabel();
.info("Label = " + label);
Identifies a JETListView by its recorded ID and path.
The jet.listView method has the following command format(s):
jet.listView(path);
jet.listView(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Identifies a JETMenu by its recorded ID and path.
The jet.menu method has the following command format(s):
jet.menu(path);
jet.menu(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Identifies a JETNavigationList by its recorded ID and path.
The jet.navigationList method has the following command format(s):
jet.navigationList(path);
jet.navigationList(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Identifies a JETPagingControl by its recorded ID and path.
The jet.pagingControl method has the following command format(s):
jet.pagingControl(path);
jet.pagingControl(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Identifies a JETPopup by its recorded ID and path.
The jet.popup method has the following command format(s):
jet.popup(path);
jet.popup(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Identifies a JETProgressbar by its recorded ID and path.
The jet.progressbar method has the following command format(s):
jet.progressbar(path);
jet.progressbar(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Identifies a JETRatingGauge by its recorded ID and path.
The jet.ratingGauge method has the following command format(s):
jet.ratingGauge(path);
jet.ratingGauge(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Identifies a JETSelect by its recorded ID and path.
The jet.select method has the following command format(s):
jet.select(path);
jet.select(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Identifies a JETSlider by its recorded ID and path.
The jet.slider method has the following command format(s):
jet.slider(path);
jet.slider(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Identifies a JETStatusMeterGauge by its recorded ID and path.
The jet.statusMeterGauge method has the following command format(s):
jet.statusMeterGauge(path);
jet.statusMeterGauge(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Performs an action on an JETStatusMeterGauge object specified by its recorded ID and path.
Double max = jet.statusMeterGauge(11,
"/web:window[@index='0' or @title='Status Meter Gauge - Center Content']" +
"/web:document[@index='0']" +
"/web:JETStatusMeterGauge[@id='gauge']")
.setValue(1000);
Identifies a JETSwitch by its recorded ID and path.
The jet.Switch method has the following command format(s):
jet.Switch(path);
jet.Switch(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Identifies a JETTable by its recorded ID and path.
The jet.table method has the following command format(s):
jet.table(path);
jet.table(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Identifies a JETTabs by its recorded ID and path.
The jet.tabs method has the following command format(s):
jet.tabs(path);
jet.tabs(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Identifies a JETTextArea by its recorded ID and path.
The jet.textArea method has the following command format(s):
jet.textArea(path);
jet.textArea(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Identifies a JETTrain by its recorded ID and path.
The jet.train method has the following command format(s):
jet.train(path);
jet.train(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.
Identifies a JETTree by its recorded ID and path.
The jet.tree method has the following command format(s):
jet.tree(path);
jet.tree(recId, path);
a String specifying the object path.
the ID of a previously recorded navigation, used for comparison purposes.
represents an exception that may be thrown during the execution of a script where the exception should be reported to an end user through the controller.