com.appperfect.devcommon.script.webelement
Interface WebTable

All Superinterfaces:
IScript, WebObject

public interface WebTable
extends WebObject

WebTable element can be created using createWebTable API of IScriptEngine interface. The return value is an instance of WebTable interface. Once WebTable is created, you can play events on it. Apart from additional events mentioned below, WebTable also supports events supported on WebObject

See Also:
WebObject

Method Summary
 java.lang.String getCellData(long row, long column)
 To get cell data in the table
 long getColumnCount(long row)
 To get the column count at specified row
 long getRowCount()
 To get rows count in the table
 boolean submit()
 To submit form.
 
Methods inherited from interface com.appperfect.devcommon.script.webelement.WebObject
addAttribute, click, dblClick, mouseMove, rightClick, set, setBreakPoint, setExactMatchForAttributesComparision, setIgnored, setImagePath, setThinkTime, setTitle, type, wait
 
Methods inherited from interface com.appperfect.devcommon.script.IScript
getReasonForFailure, isIgnored, isTaskSuccessful, isTaskTimedOut, setReasonForFailure, setTaskSuccessful, setTaskTimedout, setTimeout
 

Method Detail

getCellData

java.lang.String getCellData(long row,
                             long column)
To get cell data in the table

Parameters:
row - zero based index representing the row in the table
column - zero based index representing the column in the table
Returns:
cell data at specified row and column

getColumnCount

long getColumnCount(long row)
To get the column count at specified row

Parameters:
row - zero based index representing the row in the table
Returns:
the column count at specified row

getRowCount

long getRowCount()
To get rows count in the table

Returns:
rows count in the table

submit

boolean submit()
To submit form.

Specified by:
submit in interface WebObject
Returns:
true if success, false otherwise


Copyright © 2003-2016 AppPerfect Corporation. All Rights Reserved.