Package com.hp.lft.sdk.oracle
Interface TableCell
public interface TableCell
A single cell in an Oracle Table.
-
Method Summary
Modifier and TypeMethodDescription<T extends UiObjectBase>
TasTestObject(Class<T> type) Returns the test object representing a specified record field.getValue()Returns the content of the cell.booleanIndicates whether the field is editable.voidOpens a specified record field's associated dialog box.voidsetFocus()Transfers focus to a specified record field.voidEnters a value in a specific record field.voidsetValueAndValidate(Object value) Enters a value in a specific record field with validation.
-
Method Details
-
getValue
Returns the content of the cell.- Returns:
- the content of the cell.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
setValue
Enters a value in a specific record field.- Parameters:
value- the new value.- Throws:
GeneralLeanFtException- if error occurs during execution
-
setValueAndValidate
Enters a value in a specific record field with validation.- Parameters:
value- the new value.- Throws:
GeneralLeanFtException- if error occurs during execution
-
setFocus
Transfers focus to a specified record field.- Throws:
GeneralLeanFtException- if error occurs during execution
-
openDialog
Opens a specified record field's associated dialog box.- Throws:
GeneralLeanFtException- if error occurs during execution
-
asTestObject
Returns the test object representing a specified record field.- Type Parameters:
T- the generic type of the oracle test object.- Parameters:
type- the oracle test object type to find.- Returns:
- a test objects.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
isEditable
Indicates whether the field is editable.- Returns:
- true if editable.
- Throws:
GeneralLeanFtException- if error occurs during execution
-