Package com.meterware.httpunit

Examples of com.meterware.httpunit.TableCell.asText()


           WebTable table = (WebTable) object;
           String textToMatch = (String) criteria;
           for (int i = 0; i < table.getRowCount(); i++)
               for (int j = 0; j < table.getColumnCount(); j++) {
                   TableCell cell = table.getTableCell(i, j);
                   if (cell != null && cell.asText().indexOf(textToMatch) != -1)
                       return true;
               }

           return false;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.