Java Accessor APIs

Java Elements

_jvJButton

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJButton(identifier [, relation1 [, relation2 ...]])
IdentifiersText, Name, Label, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJButton in the UI)
//Text
_jvJButton("elementText")
//Name
_jvJButton("JButton_name")
//Label
_jvJButton("elementLabel")
//Index
_jvJButton(5)
//multiple attributes as JSON
_jvJButton({name: "JButton_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJButton({name: "/JButton .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJButton("elementText", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJButton(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJButton("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueText (this is the default attribute used in assertions etc.)
Actions Default event recorded is _click

Example usage:
_click(_jvJButton("elementText"));
_click(_jvJButton("/Name/[1]", _rightOf(_jvJLabel("Name"))));
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJButton("JButton_id"));
// Check if element is visible
_assert(_isVisible(_jvJButton("JButton_id")));

_jvJToggleButton

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJToggleButton(identifier [, relation1 [, relation2 ...]])
IdentifiersName, Text, Label, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJToggleButton in the UI)
//Name
_jvJToggleButton("JToggleButton_name")
//Text
_jvJToggleButton("elementText")
//Label
_jvJToggleButton("elementLabel")
//Index
_jvJToggleButton(5)
//multiple attributes as JSON
_jvJToggleButton({name: "JToggleButton_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJToggleButton({name: "/JToggleButton .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJToggleButton("JToggleButton_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJToggleButton(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJToggleButton("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueText (this is the default attribute used in assertions etc.)
Actions Default event recorded is _click

Example usage:
_click(_jvJToggleButton("JToggleButton_name"));
_click(_jvJToggleButton("/Name/[1]", _rightOf(_jvJLabel("Name"))));
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJToggleButton("JToggleButton_id"));
// Check if element is visible
_assert(_isVisible(_jvJToggleButton("JToggleButton_id")));

_jvJTable

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJTable(identifier [, relation1 [, relation2 ...]])
IdentifiersName, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJTable in the UI)
//Name
_jvJTable("JTable_name")
//Index
_jvJTable(5)
//multiple attributes as JSON
_jvJTable({name: "JTable_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJTable({name: "/JTable .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJTable("JTable_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJTable(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJTable("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueValueAt (this is the default attribute used in assertions etc.)
Actions Default event recorded is _click

Example usage:
_click(_jvJTable("JTable_name"));
_click(_jvJTable("/Name/[1]", _rightOf(_jvJLabel("Name"))));
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJTable("JTable_id"));
// Check if element is visible
_assert(_isVisible(_jvJTable("JTable_id")));

_jvJTableHeader

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJTableHeader(identifier [, relation1 [, relation2 ...]])
IdentifiersName, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJTableHeader in the UI)
//Name
_jvJTableHeader("JTableHeader_name")
//Index
_jvJTableHeader(5)
//multiple attributes as JSON
_jvJTableHeader({name: "JTableHeader_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJTableHeader({name: "/JTableHeader .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJTableHeader("JTableHeader_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJTableHeader(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJTableHeader("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueText (this is the default attribute used in assertions etc.)
Actions Default event recorded is _click

Example usage:
_click(_jvJTableHeader("JTableHeader_name"));
_click(_jvJTableHeader("/Name/[1]", _rightOf(_jvJLabel("Name"))));
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJTableHeader("JTableHeader_id"));
// Check if element is visible
_assert(_isVisible(_jvJTableHeader("JTableHeader_id")));

_jvJMenu

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJMenu(identifier [, relation1 [, relation2 ...]])
IdentifiersName, Text, Label, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJMenu in the UI)
//Name
_jvJMenu("JMenu_name")
//Text
_jvJMenu("elementText")
//Label
_jvJMenu("elementLabel")
//Index
_jvJMenu(5)
//multiple attributes as JSON
_jvJMenu({name: "JMenu_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJMenu({name: "/JMenu .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJMenu("JMenu_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJMenu(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJMenu("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueText (this is the default attribute used in assertions etc.)
Actions Default event recorded is _click

Example usage:
_click(_jvJMenu("JMenu_name"));
_click(_jvJMenu("/Name/[1]", _rightOf(_jvJLabel("Name"))));
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJMenu("JMenu_id"));
// Check if element is visible
_assert(_isVisible(_jvJMenu("JMenu_id")));

_jvJMenuItem

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJMenuItem(identifier [, relation1 [, relation2 ...]])
IdentifiersName, Text, Label, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJMenuItem in the UI)
//Name
_jvJMenuItem("JMenuItem_name")
//Text
_jvJMenuItem("elementText")
//Label
_jvJMenuItem("elementLabel")
//Index
_jvJMenuItem(5)
//multiple attributes as JSON
_jvJMenuItem({name: "JMenuItem_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJMenuItem({name: "/JMenuItem .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJMenuItem("JMenuItem_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJMenuItem(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJMenuItem("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueText (this is the default attribute used in assertions etc.)
Actions Default event recorded is _click

Example usage:
_click(_jvJMenuItem("JMenuItem_name"));
_click(_jvJMenuItem("/Name/[1]", _rightOf(_jvJLabel("Name"))));
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJMenuItem("JMenuItem_id"));
// Check if element is visible
_assert(_isVisible(_jvJMenuItem("JMenuItem_id")));

_jvJPopupMenu

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJPopupMenu(identifier [, relation1 [, relation2 ...]])
IdentifiersName, Text, Label, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJPopupMenu in the UI)
//Name
_jvJPopupMenu("JPopupMenu_name")
//Text
_jvJPopupMenu("elementText")
//Label
_jvJPopupMenu("elementLabel")
//Index
_jvJPopupMenu(5)
//multiple attributes as JSON
_jvJPopupMenu({name: "JPopupMenu_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJPopupMenu({name: "/JPopupMenu .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJPopupMenu("JPopupMenu_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJPopupMenu(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJPopupMenu("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueText (this is the default attribute used in assertions etc.)
Actions Default event recorded is _click

Example usage:
_click(_jvJPopupMenu("JPopupMenu_name"));
_click(_jvJPopupMenu("/Name/[1]", _rightOf(_jvJLabel("Name"))));
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJPopupMenu("JPopupMenu_id"));
// Check if element is visible
_assert(_isVisible(_jvJPopupMenu("JPopupMenu_id")));

_jvJCheckBoxMenuItem

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJCheckBoxMenuItem(identifier [, relation1 [, relation2 ...]])
IdentifiersName, Text, Label, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJCheckBoxMenuItem in the UI)
//Name
_jvJCheckBoxMenuItem("JCheckBoxMenuItem_name")
//Text
_jvJCheckBoxMenuItem("elementText")
//Label
_jvJCheckBoxMenuItem("elementLabel")
//Index
_jvJCheckBoxMenuItem(5)
//multiple attributes as JSON
_jvJCheckBoxMenuItem({name: "JCheckBoxMenuItem_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJCheckBoxMenuItem({name: "/JCheckBoxMenuItem .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJCheckBoxMenuItem("JCheckBoxMenuItem_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJCheckBoxMenuItem(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJCheckBoxMenuItem("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueisSelected (this is the default attribute used in assertions etc.)
Actions Default event recorded is _click

Example usage:
_click(_jvJCheckBoxMenuItem("JCheckBoxMenuItem_name"));
_click(_jvJCheckBoxMenuItem("/Name/[1]", _rightOf(_jvJLabel("Name"))));
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJCheckBoxMenuItem("JCheckBoxMenuItem_id"));
// Check if element is visible
_assert(_isVisible(_jvJCheckBoxMenuItem("JCheckBoxMenuItem_id")));

_jvJRadioButtonMenuItem

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJRadioButtonMenuItem(identifier [, relation1 [, relation2 ...]])
IdentifiersName, Text, Label, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJRadioButtonMenuItem in the UI)
//Name
_jvJRadioButtonMenuItem("JRadioButtonMenuItem_name")
//Text
_jvJRadioButtonMenuItem("elementText")
//Label
_jvJRadioButtonMenuItem("elementLabel")
//Index
_jvJRadioButtonMenuItem(5)
//multiple attributes as JSON
_jvJRadioButtonMenuItem({name: "JRadioButtonMenuItem_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJRadioButtonMenuItem({name: "/JRadioButtonMenuItem .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJRadioButtonMenuItem("JRadioButtonMenuItem_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJRadioButtonMenuItem(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJRadioButtonMenuItem("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueisSelected (this is the default attribute used in assertions etc.)
Actions Default event recorded is _click

Example usage:
_click(_jvJRadioButtonMenuItem("JRadioButtonMenuItem_name"));
_click(_jvJRadioButtonMenuItem("/Name/[1]", _rightOf(_jvJLabel("Name"))));
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJRadioButtonMenuItem("JRadioButtonMenuItem_id"));
// Check if element is visible
_assert(_isVisible(_jvJRadioButtonMenuItem("JRadioButtonMenuItem_id")));

_jvJCheckBox

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJCheckBox(identifier [, relation1 [, relation2 ...]])
IdentifiersName, Text, Label, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJCheckBox in the UI)
//Name
_jvJCheckBox("JCheckBox_name")
//Text
_jvJCheckBox("elementText")
//Label
_jvJCheckBox("elementLabel")
//Index
_jvJCheckBox(5)
//multiple attributes as JSON
_jvJCheckBox({name: "JCheckBox_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJCheckBox({name: "/JCheckBox .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJCheckBox("JCheckBox_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJCheckBox(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJCheckBox("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueisSelected (this is the default attribute used in assertions etc.)
Actions Default event recorded is _click

Example usage:
_click(_jvJCheckBox("JCheckBox_name"));
_click(_jvJCheckBox("/Name/[1]", _rightOf(_jvJLabel("Name"))));
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJCheckBox("JCheckBox_id"));
// Check if element is visible
_assert(_isVisible(_jvJCheckBox("JCheckBox_id")));

_jvJRadioButton

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJRadioButton(identifier [, relation1 [, relation2 ...]])
IdentifiersName, Text, Label, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJRadioButton in the UI)
//Name
_jvJRadioButton("JRadioButton_name")
//Text
_jvJRadioButton("elementText")
//Label
_jvJRadioButton("elementLabel")
//Index
_jvJRadioButton(5)
//multiple attributes as JSON
_jvJRadioButton({name: "JRadioButton_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJRadioButton({name: "/JRadioButton .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJRadioButton("JRadioButton_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJRadioButton(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJRadioButton("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueisSelected (this is the default attribute used in assertions etc.)
Actions Default event recorded is _click

Example usage:
_click(_jvJRadioButton("JRadioButton_name"));
_click(_jvJRadioButton("/Name/[1]", _rightOf(_jvJLabel("Name"))));
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJRadioButton("JRadioButton_id"));
// Check if element is visible
_assert(_isVisible(_jvJRadioButton("JRadioButton_id")));

_jvJTextField

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJTextField(identifier [, relation1 [, relation2 ...]])
IdentifiersName, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJTextField in the UI)
//Name
_jvJTextField("JTextField_name")
//Index
_jvJTextField(5)
//multiple attributes as JSON
_jvJTextField({name: "JTextField_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJTextField({name: "/JTextField .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJTextField("JTextField_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJTextField(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJTextField("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueText (this is the default attribute used in assertions etc.)
Actions Default event recorded is _setValue

Example usage:
_setValue(_jvJTextField("JTextField_name"), "elementText");
_setValue(_jvJTextField("/Name/[1]", _rightOf(_jvJLabel("Name"))), "elementText");
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJTextField("JTextField_id"));
// Check if element is visible
_assert(_isVisible(_jvJTextField("JTextField_id")));

_jvJTextArea

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJTextArea(identifier [, relation1 [, relation2 ...]])
IdentifiersName, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJTextArea in the UI)
//Name
_jvJTextArea("JTextArea_name")
//Index
_jvJTextArea(5)
//multiple attributes as JSON
_jvJTextArea({name: "JTextArea_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJTextArea({name: "/JTextArea .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJTextArea("JTextArea_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJTextArea(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJTextArea("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueText (this is the default attribute used in assertions etc.)
Actions Default event recorded is _setValue

Example usage:
_setValue(_jvJTextArea("JTextArea_name"), "elementText");
_setValue(_jvJTextArea("/Name/[1]", _rightOf(_jvJLabel("Name"))), "elementText");
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJTextArea("JTextArea_id"));
// Check if element is visible
_assert(_isVisible(_jvJTextArea("JTextArea_id")));

_jvJTextPane

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJTextPane(identifier [, relation1 [, relation2 ...]])
IdentifiersName, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJTextPane in the UI)
//Name
_jvJTextPane("JTextPane_name")
//Index
_jvJTextPane(5)
//multiple attributes as JSON
_jvJTextPane({name: "JTextPane_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJTextPane({name: "/JTextPane .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJTextPane("JTextPane_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJTextPane(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJTextPane("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueText (this is the default attribute used in assertions etc.)
Actions Default event recorded is _setValue

Example usage:
_setValue(_jvJTextPane("JTextPane_name"), "elementText");
_setValue(_jvJTextPane("/Name/[1]", _rightOf(_jvJLabel("Name"))), "elementText");
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJTextPane("JTextPane_id"));
// Check if element is visible
_assert(_isVisible(_jvJTextPane("JTextPane_id")));

_jvJEditorPane

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJEditorPane(identifier [, relation1 [, relation2 ...]])
IdentifiersName, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJEditorPane in the UI)
//Name
_jvJEditorPane("JEditorPane_name")
//Index
_jvJEditorPane(5)
//multiple attributes as JSON
_jvJEditorPane({name: "JEditorPane_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJEditorPane({name: "/JEditorPane .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJEditorPane("JEditorPane_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJEditorPane(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJEditorPane("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueText (this is the default attribute used in assertions etc.)
Actions Default event recorded is _setValue

Example usage:
_setValue(_jvJEditorPane("JEditorPane_name"), "elementText");
_setValue(_jvJEditorPane("/Name/[1]", _rightOf(_jvJLabel("Name"))), "elementText");
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJEditorPane("JEditorPane_id"));
// Check if element is visible
_assert(_isVisible(_jvJEditorPane("JEditorPane_id")));

_jvJPasswordField

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJPasswordField(identifier [, relation1 [, relation2 ...]])
IdentifiersName, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJPasswordField in the UI)
//Name
_jvJPasswordField("JPasswordField_name")
//Index
_jvJPasswordField(5)
//multiple attributes as JSON
_jvJPasswordField({name: "JPasswordField_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJPasswordField({name: "/JPasswordField .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJPasswordField("JPasswordField_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJPasswordField(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJPasswordField("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueText (this is the default attribute used in assertions etc.)
Actions Default event recorded is _setValue

Example usage:
_setValue(_jvJPasswordField("JPasswordField_name"), "elementText");
_setValue(_jvJPasswordField("/Name/[1]", _rightOf(_jvJLabel("Name"))), "elementText");
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJPasswordField("JPasswordField_id"));
// Check if element is visible
_assert(_isVisible(_jvJPasswordField("JPasswordField_id")));

_jvJComboBox

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJComboBox(identifier [, relation1 [, relation2 ...]])
IdentifiersName, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJComboBox in the UI)
//Name
_jvJComboBox("JComboBox_name")
//Index
_jvJComboBox(5)
//multiple attributes as JSON
_jvJComboBox({name: "JComboBox_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJComboBox({name: "/JComboBox .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJComboBox("JComboBox_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJComboBox(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJComboBox("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
Value (this is the default attribute used in assertions etc.)
Actions Default event recorded is _setSelected

Example usage:
_setSelected(_jvJComboBox("JComboBox_name"), null);
_setSelected(_jvJComboBox("/Name/[1]", _rightOf(_jvJLabel("Name"))), null);
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJComboBox("JComboBox_id"));
// Check if element is visible
_assert(_isVisible(_jvJComboBox("JComboBox_id")));

_jvJTabbedPane

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJTabbedPane(identifier [, relation1 [, relation2 ...]])
IdentifiersName, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJTabbedPane in the UI)
//Name
_jvJTabbedPane("JTabbedPane_name")
//Index
_jvJTabbedPane(5)
//multiple attributes as JSON
_jvJTabbedPane({name: "JTabbedPane_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJTabbedPane({name: "/JTabbedPane .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJTabbedPane("JTabbedPane_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJTabbedPane(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJTabbedPane("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
Value (this is the default attribute used in assertions etc.)
Actions Default event recorded is _setSelected

Example usage:
_setSelected(_jvJTabbedPane("JTabbedPane_name"), null);
_setSelected(_jvJTabbedPane("/Name/[1]", _rightOf(_jvJLabel("Name"))), null);
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJTabbedPane("JTabbedPane_id"));
// Check if element is visible
_assert(_isVisible(_jvJTabbedPane("JTabbedPane_id")));

_jvJList

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJList(identifier [, relation1 [, relation2 ...]])
IdentifiersName, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJList in the UI)
//Name
_jvJList("JList_name")
//Index
_jvJList(5)
//multiple attributes as JSON
_jvJList({name: "JList_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJList({name: "/JList .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJList("JList_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJList(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJList("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
Value (this is the default attribute used in assertions etc.)
Actions Default event recorded is _setSelected

Example usage:
_setSelected(_jvJList("JList_name"), null);
_setSelected(_jvJList("/Name/[1]", _rightOf(_jvJLabel("Name"))), null);
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJList("JList_id"));
// Check if element is visible
_assert(_isVisible(_jvJList("JList_id")));

_jvChoice

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvChoice(identifier [, relation1 [, relation2 ...]])
IdentifiersName, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvChoice in the UI)
//Name
_jvChoice("Choice_name")
//Index
_jvChoice(5)
//multiple attributes as JSON
_jvChoice({name: "Choice_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvChoice({name: "/Choice .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvChoice("Choice_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvChoice(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvChoice("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
Value (this is the default attribute used in assertions etc.)
Actions Default event recorded is _setSelected

Example usage:
_setSelected(_jvChoice("Choice_name"), null);
_setSelected(_jvChoice("/Name/[1]", _rightOf(_jvJLabel("Name"))), null);
Assertions Example assertions:
// Check if element exists
_assertExists(_jvChoice("Choice_id"));
// Check if element is visible
_assert(_isVisible(_jvChoice("Choice_id")));

_jvList

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvList(identifier [, relation1 [, relation2 ...]])
IdentifiersName, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvList in the UI)
//Name
_jvList("List_name")
//Index
_jvList(5)
//multiple attributes as JSON
_jvList({name: "List_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvList({name: "/List .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvList("List_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvList(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvList("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
Value (this is the default attribute used in assertions etc.)
Actions Default event recorded is _setSelected

Example usage:
_setSelected(_jvList("List_name"), null);
_setSelected(_jvList("/Name/[1]", _rightOf(_jvJLabel("Name"))), null);
Assertions Example assertions:
// Check if element exists
_assertExists(_jvList("List_id"));
// Check if element is visible
_assert(_isVisible(_jvList("List_id")));

_jvJLabel

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJLabel(identifier [, relation1 [, relation2 ...]])
IdentifiersName, Text, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJLabel in the UI)
//Name
_jvJLabel("JLabel_name")
//Text
_jvJLabel("elementText")
//Index
_jvJLabel(5)
//multiple attributes as JSON
_jvJLabel({name: "JLabel_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJLabel({name: "/JLabel .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJLabel("JLabel_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJLabel(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJLabel("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueText (this is the default attribute used in assertions etc.)
Actions Default event recorded is _setText

Example usage:
_setText(_jvJLabel("JLabel_name"), "elementText");
_setText(_jvJLabel("/Name/[1]", _rightOf(_jvJLabel("Name"))), "elementText");
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJLabel("JLabel_id"));
// Check if element is visible
_assert(_isVisible(_jvJLabel("JLabel_id")));

_jvJPanel

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJPanel(identifier [, relation1 [, relation2 ...]])
IdentifiersName, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJPanel in the UI)
//Name
_jvJPanel("JPanel_name")
//Index
_jvJPanel(5)
//multiple attributes as JSON
_jvJPanel({name: "JPanel_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJPanel({name: "/JPanel .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJPanel("JPanel_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJPanel(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJPanel("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
Value (this is the default attribute used in assertions etc.)
Actions Default event recorded is _setSelected

Example usage:
_setSelected(_jvJPanel("JPanel_name"), null);
_setSelected(_jvJPanel("/Name/[1]", _rightOf(_jvJLabel("Name"))), null);
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJPanel("JPanel_id"));
// Check if element is visible
_assert(_isVisible(_jvJPanel("JPanel_id")));

_jvJSlider

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJSlider(identifier [, relation1 [, relation2 ...]])
IdentifiersName, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJSlider in the UI)
//Name
_jvJSlider("JSlider_name")
//Index
_jvJSlider(5)
//multiple attributes as JSON
_jvJSlider({name: "JSlider_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJSlider({name: "/JSlider .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJSlider("JSlider_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJSlider(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJSlider("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueValue (this is the default attribute used in assertions etc.)
Actions Default event recorded is _setValue

Example usage:
_setValue(_jvJSlider("JSlider_name"), "apple");
_setValue(_jvJSlider("/Name/[1]", _rightOf(_jvJLabel("Name"))), "apple");
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJSlider("JSlider_id"));
// Check if element is visible
_assert(_isVisible(_jvJSlider("JSlider_id")));

_jvScrollbar

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvScrollbar(identifier [, relation1 [, relation2 ...]])
IdentifiersToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvScrollbar in the UI)
//Index
_jvScrollbar(5)
//multiple attributes as JSON
_jvScrollbar({ToolTipText: "Scrollbar_ToolTipText", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvScrollbar({ToolTipText: "/Scrollbar .*ToolTipText/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvScrollbar(, _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvScrollbar(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvScrollbar("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueValue (this is the default attribute used in assertions etc.)
Actions Default event recorded is _setValue

Example usage:
_setValue(_jvScrollbar(), "apple");
_setValue(_jvScrollbar("/Name/[1]", _rightOf(_jvJLabel("Name"))), "apple");
Assertions Example assertions:
// Check if element exists
_assertExists(_jvScrollbar("Scrollbar_id"));
// Check if element is visible
_assert(_isVisible(_jvScrollbar("Scrollbar_id")));

_jvButton

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvButton(identifier [, relation1 [, relation2 ...]])
IdentifiersLabel, Name, Text, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvButton in the UI)
//Label
_jvButton("elementLabel")
//Name
_jvButton("Button_name")
//Text
_jvButton("elementText")
//Index
_jvButton(5)
//multiple attributes as JSON
_jvButton({name: "Button_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvButton({name: "/Button .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvButton("elementLabel", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvButton(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvButton("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueLabel (this is the default attribute used in assertions etc.)
Actions Default event recorded is _click

Example usage:
_click(_jvButton("elementLabel"));
_click(_jvButton("/Name/[1]", _rightOf(_jvJLabel("Name"))));
Assertions Example assertions:
// Check if element exists
_assertExists(_jvButton("Button_id"));
// Check if element is visible
_assert(_isVisible(_jvButton("Button_id")));

_jvTextField

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvTextField(identifier [, relation1 [, relation2 ...]])
IdentifiersName, Index

Valid Accessors and alternatives: (Assume this is the 6th jvTextField in the UI)
//Name
_jvTextField("TextField_name")
//Index
_jvTextField(5)
//multiple attributes as JSON
_jvTextField({name: "TextField_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvTextField({name: "/TextField .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvTextField("TextField_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvTextField(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvTextField("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueText (this is the default attribute used in assertions etc.)
Actions Default event recorded is _Value

Example usage:
_Value(_jvTextField("TextField_name"), "elementText");
_Value(_jvTextField("/Name/[1]", _rightOf(_jvJLabel("Name"))), "elementText");
Assertions Example assertions:
// Check if element exists
_assertExists(_jvTextField("TextField_id"));
// Check if element is visible
_assert(_isVisible(_jvTextField("TextField_id")));

_jvTextArea

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvTextArea(identifier [, relation1 [, relation2 ...]])
IdentifiersName, Index

Valid Accessors and alternatives: (Assume this is the 6th jvTextArea in the UI)
//Name
_jvTextArea("TextArea_name")
//Index
_jvTextArea(5)
//multiple attributes as JSON
_jvTextArea({name: "TextArea_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvTextArea({name: "/TextArea .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvTextArea("TextArea_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvTextArea(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvTextArea("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueText (this is the default attribute used in assertions etc.)
Actions Default event recorded is _Value

Example usage:
_Value(_jvTextArea("TextArea_name"), "elementText");
_Value(_jvTextArea("/Name/[1]", _rightOf(_jvJLabel("Name"))), "elementText");
Assertions Example assertions:
// Check if element exists
_assertExists(_jvTextArea("TextArea_id"));
// Check if element is visible
_assert(_isVisible(_jvTextArea("TextArea_id")));

_jvCheckbox

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvCheckbox(identifier [, relation1 [, relation2 ...]])
IdentifiersName, Label, Index

Valid Accessors and alternatives: (Assume this is the 6th jvCheckbox in the UI)
//Name
_jvCheckbox("Checkbox_name")
//Label
_jvCheckbox("elementLabel")
//Index
_jvCheckbox(5)
//multiple attributes as JSON
_jvCheckbox({name: "Checkbox_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvCheckbox({name: "/Checkbox .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvCheckbox("Checkbox_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvCheckbox(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvCheckbox("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValuegetState (this is the default attribute used in assertions etc.)
Actions Default event recorded is _click

Example usage:
_click(_jvCheckbox("Checkbox_name"));
_click(_jvCheckbox("/Name/[1]", _rightOf(_jvJLabel("Name"))));
Assertions Example assertions:
// Check if element exists
_assertExists(_jvCheckbox("Checkbox_id"));
// Check if element is visible
_assert(_isVisible(_jvCheckbox("Checkbox_id")));

_jvLabel

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvLabel(identifier [, relation1 [, relation2 ...]])
IdentifiersName, Text, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvLabel in the UI)
//Name
_jvLabel("Label_name")
//Text
_jvLabel("elementText")
//Index
_jvLabel(5)
//multiple attributes as JSON
_jvLabel({name: "Label_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvLabel({name: "/Label .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvLabel("Label_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvLabel(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvLabel("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueText (this is the default attribute used in assertions etc.)
Actions Default event recorded is _setText

Example usage:
_setText(_jvLabel("Label_name"), "elementText");
_setText(_jvLabel("/Name/[1]", _rightOf(_jvJLabel("Name"))), "elementText");
Assertions Example assertions:
// Check if element exists
_assertExists(_jvLabel("Label_id"));
// Check if element is visible
_assert(_isVisible(_jvLabel("Label_id")));

_jvJRootPane

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJRootPane(identifier [, relation1 [, relation2 ...]])
IdentifiersName, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJRootPane in the UI)
//Name
_jvJRootPane("JRootPane_name")
//Index
_jvJRootPane(5)
//multiple attributes as JSON
_jvJRootPane({name: "JRootPane_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJRootPane({name: "/JRootPane .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJRootPane("JRootPane_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJRootPane(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJRootPane("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueSelectedIndex (this is the default attribute used in assertions etc.)
Actions Default event recorded is _setSelected

Example usage:
_setSelected(_jvJRootPane("JRootPane_name"), null);
_setSelected(_jvJRootPane("/Name/[1]", _rightOf(_jvJLabel("Name"))), null);
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJRootPane("JRootPane_id"));
// Check if element is visible
_assert(_isVisible(_jvJRootPane("JRootPane_id")));

_jvJLayeredPane

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJLayeredPane(identifier [, relation1 [, relation2 ...]])
IdentifiersName, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJLayeredPane in the UI)
//Name
_jvJLayeredPane("JLayeredPane_name")
//Index
_jvJLayeredPane(5)
//multiple attributes as JSON
_jvJLayeredPane({name: "JLayeredPane_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJLayeredPane({name: "/JLayeredPane .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJLayeredPane("JLayeredPane_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJLayeredPane(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJLayeredPane("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueSelectedIndex (this is the default attribute used in assertions etc.)
Actions Default event recorded is _setSelected

Example usage:
_setSelected(_jvJLayeredPane("JLayeredPane_name"), null);
_setSelected(_jvJLayeredPane("/Name/[1]", _rightOf(_jvJLabel("Name"))), null);
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJLayeredPane("JLayeredPane_id"));
// Check if element is visible
_assert(_isVisible(_jvJLayeredPane("JLayeredPane_id")));

_jvJScrollPane

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJScrollPane(identifier [, relation1 [, relation2 ...]])
IdentifiersName, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJScrollPane in the UI)
//Name
_jvJScrollPane("JScrollPane_name")
//Index
_jvJScrollPane(5)
//multiple attributes as JSON
_jvJScrollPane({name: "JScrollPane_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJScrollPane({name: "/JScrollPane .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJScrollPane("JScrollPane_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJScrollPane(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJScrollPane("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueSelectedIndex (this is the default attribute used in assertions etc.)
Actions Default event recorded is _setSelected

Example usage:
_setSelected(_jvJScrollPane("JScrollPane_name"), null);
_setSelected(_jvJScrollPane("/Name/[1]", _rightOf(_jvJLabel("Name"))), null);
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJScrollPane("JScrollPane_id"));
// Check if element is visible
_assert(_isVisible(_jvJScrollPane("JScrollPane_id")));

_jvJOptionPane

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJOptionPane(identifier [, relation1 [, relation2 ...]])
IdentifiersName, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJOptionPane in the UI)
//Name
_jvJOptionPane("JOptionPane_name")
//Index
_jvJOptionPane(5)
//multiple attributes as JSON
_jvJOptionPane({name: "JOptionPane_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJOptionPane({name: "/JOptionPane .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJOptionPane("JOptionPane_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJOptionPane(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJOptionPane("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueSelectedIndex (this is the default attribute used in assertions etc.)
Actions Default event recorded is _setSelected

Example usage:
_setSelected(_jvJOptionPane("JOptionPane_name"), null);
_setSelected(_jvJOptionPane("/Name/[1]", _rightOf(_jvJLabel("Name"))), null);
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJOptionPane("JOptionPane_id"));
// Check if element is visible
_assert(_isVisible(_jvJOptionPane("JOptionPane_id")));

_jvJDialog

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJDialog(identifier [, relation1 [, relation2 ...]])
IdentifiersName, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJDialog in the UI)
//Name
_jvJDialog("JDialog_name")
//Index
_jvJDialog(5)
//multiple attributes as JSON
_jvJDialog({name: "JDialog_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJDialog({name: "/JDialog .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJDialog("JDialog_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJDialog(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJDialog("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueSelectedIndex (this is the default attribute used in assertions etc.)
Actions Default event recorded is _setSelected

Example usage:
_setSelected(_jvJDialog("JDialog_name"), null);
_setSelected(_jvJDialog("/Name/[1]", _rightOf(_jvJLabel("Name"))), null);
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJDialog("JDialog_id"));
// Check if element is visible
_assert(_isVisible(_jvJDialog("JDialog_id")));

_jvJComponent

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJComponent(identifier [, relation1 [, relation2 ...]])
IdentifiersName, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJComponent in the UI)
//Name
_jvJComponent("JComponent_name")
//Index
_jvJComponent(5)
//multiple attributes as JSON
_jvJComponent({name: "JComponent_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJComponent({name: "/JComponent .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJComponent("JComponent_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJComponent(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJComponent("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueSelectedIndex (this is the default attribute used in assertions etc.)
Actions Default event recorded is _setSelected

Example usage:
_setSelected(_jvJComponent("JComponent_name"), null);
_setSelected(_jvJComponent("/Name/[1]", _rightOf(_jvJLabel("Name"))), null);
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJComponent("JComponent_id"));
// Check if element is visible
_assert(_isVisible(_jvJComponent("JComponent_id")));

_jvJToolBar

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJToolBar(identifier [, relation1 [, relation2 ...]])
IdentifiersName, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJToolBar in the UI)
//Name
_jvJToolBar("JToolBar_name")
//Index
_jvJToolBar(5)
//multiple attributes as JSON
_jvJToolBar({name: "JToolBar_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJToolBar({name: "/JToolBar .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJToolBar("JToolBar_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJToolBar(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJToolBar("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValueSelectedIndex (this is the default attribute used in assertions etc.)
Actions Default event recorded is _setSelected

Example usage:
_setSelected(_jvJToolBar("JToolBar_name"), null);
_setSelected(_jvJToolBar("/Name/[1]", _rightOf(_jvJLabel("Name"))), null);
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJToolBar("JToolBar_id"));
// Check if element is visible
_assert(_isVisible(_jvJToolBar("JToolBar_id")));

_jvJTree

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJTree(identifier [, relation1 [, relation2 ...]])
IdentifiersName, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvJTree in the UI)
//Name
_jvJTree("JTree_name")
//Index
_jvJTree(5)
//multiple attributes as JSON
_jvJTree({name: "JTree_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJTree({name: "/JTree .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJTree("JTree_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJTree(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJTree("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
Value (this is the default attribute used in assertions etc.)
Actions Default event recorded is _setSelected

Example usage:
_setSelected(_jvJTree("JTree_name"), null);
_setSelected(_jvJTree("/Name/[1]", _rightOf(_jvJLabel("Name"))), null);
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJTree("JTree_id"));
// Check if element is visible
_assert(_isVisible(_jvJTree("JTree_id")));

_jvSynthInternalFrameTitlePane

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvSynthInternalFrameTitlePane(identifier [, relation1 [, relation2 ...]])
IdentifiersName, Text, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvSynthInternalFrameTitlePane in the UI)
//Name
_jvSynthInternalFrameTitlePane("SynthInternalFrameTitlePane_name")
//Text
_jvSynthInternalFrameTitlePane("elementText")
//Index
_jvSynthInternalFrameTitlePane(5)
//multiple attributes as JSON
_jvSynthInternalFrameTitlePane({name: "SynthInternalFrameTitlePane_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvSynthInternalFrameTitlePane({name: "/SynthInternalFrameTitlePane .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvSynthInternalFrameTitlePane("SynthInternalFrameTitlePane_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvSynthInternalFrameTitlePane(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvSynthInternalFrameTitlePane("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
Valueframe:field.getTitle() (this is the default attribute used in assertions etc.)
Actions Default event recorded is _click

Example usage:
_click(_jvSynthInternalFrameTitlePane("SynthInternalFrameTitlePane_name"));
_click(_jvSynthInternalFrameTitlePane("/Name/[1]", _rightOf(_jvJLabel("Name"))));
Assertions Example assertions:
// Check if element exists
_assertExists(_jvSynthInternalFrameTitlePane("SynthInternalFrameTitlePane_id"));
// Check if element is visible
_assert(_isVisible(_jvSynthInternalFrameTitlePane("SynthInternalFrameTitlePane_id")));

_jvJProgressBar

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA7.0.0

API_jvJProgressBar(identifier [, relation1 [, relation2 ...]])
IdentifiersName, ToolTipText, String

Valid Accessors and alternatives: (Assume this is the 6th jvJProgressBar in the UI)
//Name
_jvJProgressBar("JProgressBar_name")
//multiple attributes as JSON
_jvJProgressBar({name: "JProgressBar_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvJProgressBar({name: "/JProgressBar .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvJProgressBar("JProgressBar_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvJProgressBar(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvJProgressBar("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValuegetValue (this is the default attribute used in assertions etc.)
Actions Default event recorded is

Example usage:
_click(_jvJProgressBar("JProgressBar_name"));
_click(_jvJProgressBar("/Name/[1]", _rightOf(_jvJLabel("Name"))));
Assertions Example assertions:
// Check if element exists
_assertExists(_jvJProgressBar("JProgressBar_id"));
// Check if element is visible
_assert(_isVisible(_jvJProgressBar("JProgressBar_id")));

_jvTabDisplayer

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA8.0.0

API_jvTabDisplayer(identifier [, relation1 [, relation2 ...]])
IdentifiersName, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvTabDisplayer in the UI)
//Name
_jvTabDisplayer("TabDisplayer_name")
//Index
_jvTabDisplayer(5)
//multiple attributes as JSON
_jvTabDisplayer({name: "TabDisplayer_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvTabDisplayer({name: "/TabDisplayer .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvTabDisplayer("TabDisplayer_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvTabDisplayer(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvTabDisplayer("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValuegetSelectionModel().getSelectedIndex() (this is the default attribute used in assertions etc.)
Actions Default event recorded is _setSelected

Example usage:
_setSelected(_jvTabDisplayer("TabDisplayer_name"), null);
_setSelected(_jvTabDisplayer("/Name/[1]", _rightOf(_jvJLabel("Name"))), null);
Assertions Example assertions:
// Check if element exists
_assertExists(_jvTabDisplayer("TabDisplayer_id"));
// Check if element is visible
_assert(_isVisible(_jvTabDisplayer("TabDisplayer_id")));

_jvAutoHideContainer

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA8.0.0

API_jvAutoHideContainer(identifier [, relation1 [, relation2 ...]])
IdentifiersName, ToolTipText, Index

Valid Accessors and alternatives: (Assume this is the 6th jvAutoHideContainer in the UI)
//Name
_jvAutoHideContainer("AutoHideContainer_name")
//Index
_jvAutoHideContainer(5)
//multiple attributes as JSON
_jvAutoHideContainer({name: "AutoHideContainer_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvAutoHideContainer({name: "/AutoHideContainer .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvAutoHideContainer("AutoHideContainer_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvAutoHideContainer(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvAutoHideContainer("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
Value (this is the default attribute used in assertions etc.)
Actions Default event recorded is _setSelected

Example usage:
_setSelected(_jvAutoHideContainer("AutoHideContainer_name"), null);
_setSelected(_jvAutoHideContainer("/Name/[1]", _rightOf(_jvJLabel("Name"))), null);
Assertions Example assertions:
// Check if element exists
_assertExists(_jvAutoHideContainer("AutoHideContainer_id"));
// Check if element is visible
_assert(_isVisible(_jvAutoHideContainer("AutoHideContainer_id")));

_jvImageIcon

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA8.0.0

API_jvImageIcon(identifier [, relation1 [, relation2 ...]])
IdentifiersName, ToolTipText, Text, Label, Index

Valid Accessors and alternatives: (Assume this is the 6th jvImageIcon in the UI)
//Name
_jvImageIcon("ImageIcon_name")
//Text
_jvImageIcon("elementText")
//Label
_jvImageIcon("elementLabel")
//Index
_jvImageIcon(5)
//multiple attributes as JSON
_jvImageIcon({name: "ImageIcon_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvImageIcon({name: "/ImageIcon .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvImageIcon("ImageIcon_name", _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvImageIcon(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvImageIcon("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
ValuetoString() (this is the default attribute used in assertions etc.)
Actions Default event recorded is _

Example usage:
_(_jvImageIcon("ImageIcon_name"), null);
_(_jvImageIcon("/Name/[1]", _rightOf(_jvJLabel("Name"))), null);
Assertions Example assertions:
// Check if element exists
_assertExists(_jvImageIcon("ImageIcon_id"));
// Check if element is visible
_assert(_isVisible(_jvImageIcon("ImageIcon_id")));

_jvCustomButton

Sahi ProSahi OSSahi Pro StarterDesktop Add-On
NANANA8.0.0

API_jvCustomButton(identifier [, relation1 [, relation2 ...]])
Identifiers_sahi.customButtonValue(), Text, Name, Label, Index

Valid Accessors and alternatives: (Assume this is the 6th jvCustomButton in the UI)
//Text
_jvCustomButton("elementText")
//Name
_jvCustomButton("CustomButton_name")
//Label
_jvCustomButton("elementLabel")
//Index
_jvCustomButton(5)
//multiple attributes as JSON
_jvCustomButton({name: "CustomButton_name", sahiIndex: 1})
//multiple attributes as JSON including regular expression
_jvCustomButton({name: "/CustomButton .*name/", sahiIndex: 1})
Relations Relational APIs _in, _near, _leftOf, _rightOf, _under, _above can be used.
// with _in
_jvCustomButton(, _in(_jvJPanel("Container")))

// index with 2 relational APIs, _rightOf and _under
_jvCustomButton(0, _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))

// with regular expression and relations
_jvCustomButton("/elname/", _rightOf(_jvJButton("Name")), _under(_jvJLabel("Action")))
Value_sahi.customButtonValue() (this is the default attribute used in assertions etc.)
Actions Default event recorded is _click

Example usage:
_click(_jvCustomButton());
_click(_jvCustomButton("/Name/[1]", _rightOf(_jvJLabel("Name"))));
Assertions Example assertions:
// Check if element exists
_assertExists(_jvCustomButton("CustomButton_id"));
// Check if element is visible
_assert(_isVisible(_jvCustomButton("CustomButton_id")));