bug3529 Added method to click image action to DataEntryPO

This commit is contained in:
Benjamin Barth committed 2017-03-21 18:31:01 +01:00
1 parent 5e64de154c
commit 2c7c3a2d2d
1 file changed
+5
@@ -2,6 +2,7 @@ package com.sap.sailing.selenium.pages.gwt;
import java.util.List;
import org.openqa.selenium.By;
import org.openqa.selenium.By.ByXPath;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebElement;
@@ -141,4 +142,8 @@ public class DataEntryPO extends CellTableRowPO {
}
};
}
protected void clickActionImage(String actionName) {
this.context.findElement(By.xpath(".//td/div/div[@name=\"" + actionName + "\"]")).click();
}
}