Below are the commands that can be applied on HTML elements in a page.
| Element | Commands can be Applied | |
| TextBox | getValue(), getText(), isEditable(), isVisible(), type() | |
| List Box | getSelectedId(),getSelectedIndex(), getSelectedLabel(),getSelectedValue(), getSelectOptions(), select() | |
| Multi Select Element | getSelectedIds(),getSelectedIndexes(),getSelectedLabels(),getSelectedValues(),isSomethingSelected() | |
| Radio Button | check(), click(), isChecked() | |
| Check Box | Check(), click(),isChecked(), uncheck() | |
| Button | click(), clickAndWait() | |
| Link | click(), getAllLinks() | |
| Text | getText(),getBodyText() | |
| Tables and Cells | getTable() |
No comments:
Post a Comment