Class SwingTree
- java.lang.Object
-
- com.axway.ats.uiengine.elements.UiElement
-
- com.axway.ats.uiengine.elements.UiTree
-
- com.axway.ats.uiengine.elements.swing.SwingTree
-
public class SwingTree extends UiTree
A Swing TreeCan be identified by:
- name
- label
-
-
Field Summary
-
Fields inherited from class com.axway.ats.uiengine.elements.UiElement
log, properties
-
-
Constructor Summary
Constructors Constructor Description SwingTree(UiDriver uiDriver, UiElementProperties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclick(int rowIndex)voidclick(String... labels)voidexpand(int rowIndex)voidexpand(String... labels)voidrightClick(int rowIndex, String... contextMenuItems)voidrightClick(String[] path, String... contextMenuItems)voidselect(int rowIndex)Select tree element by indexvoidselect(String... labels)Select tree elements by labels-
Methods inherited from class com.axway.ats.uiengine.elements.UiElement
checkTypeAndRules, getElementProperties, getElementProperty, getPropertyNamesToUseForMatch, getUiDriver, logAction, toString
-
-
-
-
Constructor Detail
-
SwingTree
public SwingTree(UiDriver uiDriver, UiElementProperties properties)
-
-
Method Detail
-
select
public void select(int rowIndex)
Select tree element by index- Specified by:
selectin classUiTree- Parameters:
rowIndex- tree element index to select- Throws:
VerificationException- if the tree element doesn't exist
-
select
public void select(String... labels)
Select tree elements by labels- Specified by:
selectin classUiTree- Parameters:
labels- the tree element labels- Throws:
VerificationException- if the tree element doesn't exist
-
expand
public void expand(String... labels)
-
expand
public void expand(int rowIndex)
-
click
public void click(String... labels)
-
click
public void click(int rowIndex)
-
rightClick
public void rightClick(int rowIndex, String... contextMenuItems)
-
-