Insert text in new Row on Empty Table failed [message #1671059] |
Fri, 13 March 2015 12:53 |
Karl-Heinz Schnoepel Messages: 2 Registered: March 2015 |
Junior Member |
|
|
Hi,
i test the developer API from Jubula and first tests works fine.
But when i try to insert text in a new row on a empty Table, following error occurs:
org.eclipse.jubula.client.exceptions.ActionException: Invalid row/column value
at org.eclipse.jubula.client.internal.impl.AUTImpl.processResponse(AUTImpl.java:197)
Since I'm still kind of new to the usage of Jubula can you please tell me where my problem is?
....
TableComponent personenTable = SwingComponents
.createJTable(ObjectMap.Personeliste_Jtable_Person);
ButtonComponent add = SwingComponents
.createAbstractButton(ObjectMap.Personenliste_Toolbar_Add);
...
// Add new row in empty Table
// Works fine!
m_aut.execute(add.click(1, InteractionMode.primary),
"Personenliste add");
m_aut.execute(app.delay(1000), null);
// Select the new Cell/Row in new Row
// Works fine!
m_aut.execute(personenTable.selectCell("1", Operator.equals, "1",
Operator.equals, 2, 50, Unit.percent, 50, Unit.percent,
BinaryChoice.no, InteractionMode.primary), null);
// Input Text in new row
// Occurs Error: Invalid row/column value ????
m_aut.execute(personenTable.inputTextSpecifyCell("Test KHS", "1",
Operator.equals, "1", Operator.equals), null);
....
Thanks in advance.
Karl-Heinz
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03596 seconds