mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-20 19:20:04 +00:00
bug3529 Added method to click image action to DataEntryPO
This commit is contained in:
1 parent
5e64de154c
commit
2c7c3a2d2d
1 file changed
+5
+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();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user