
org.finra.jtaf.ewd.widget.ITable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jtaf-extwebdriver Show documentation
Show all versions of jtaf-extwebdriver Show documentation
ExtWebDriver is an enhancement to the WebDriver API, with features such as widget library, session management and extended functions
/*
* (C) Copyright 2013 Java Test Automation Framework Contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package org.finra.jtaf.ewd.widget;
import java.util.List;
import java.util.Map;
/**
* This is the interface for the Table widget
*
*/
public interface ITable extends IInteractiveElement {
/**
* Implementing this method would allow for obtaining all of the headers in
* a table
*
* @return a list containing all of the headers as Strings
* @throws WidgetException
*/
List getTableHeaders() throws WidgetException;
/**
* Implementing this method would allow for getting data from a specific
* cell in the table
*
* @param rowNumber
* - the desired row in the table
* @param columnNumber
* - the desired column in the table
* @return the text of the specified cell
* @throws WidgetException
*/
String getTableRowColumnData(int rowNumber, int columnNumber) throws WidgetException;
/**
* Implementing this method would allow for getting all of the values in
* table
*
* @return a list containing all of the text in a table
* @throws WidgetException
*/
List getTableDataInArray() throws WidgetException;
/**
* Implementing this method would allow for getting all of text in the table
* as a map
*
* @return a List containing maps all of the text in a table as
* @throws WidgetException
*/
List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy