Beispiel #1
0
 @Override
 public void ClickRandom(SeleniumCommands commands) {
   ((ByXPath) commands).clickRandomElementByXPath(xpath);
 }
Beispiel #2
0
 @Override
 public void WaitForElement(SeleniumCommands commands) {
   ((ByXPath) commands).waitForXPath(xpath);
 }
Beispiel #3
0
 @Override
 public void EnterWebFrame(SeleniumCommands commands) {
   ((ByXPath) commands).enterWebFrameByXPath(xpath);
 }
Beispiel #4
0
 @Override
 public void ComboBoxRandom(SeleniumCommands commands) {
   ((ByXPath) commands).comboBoxRandomByXPath(xpath);
 }
Beispiel #5
0
 @Override
 public void ComboBoxIndex(int index, SeleniumCommands commands) {
   if (index < 0) throw new IllegalArgumentException("Index must be greater then 0");
   ((ByXPath) commands).comboBoxIndexByXPath(index, xpath);
 }
Beispiel #6
0
 @Override
 public void ComboBoxText(String visibleText, SeleniumCommands commands) {
   if (visibleText == null)
     throw new NullPointerException("String visibleText must not be Null");
   ((ByXPath) commands).comboBoxVisibleTextByXPath(visibleText, xpath);
 }
Beispiel #7
0
 @Override
 public void Type(String input, SeleniumCommands commands) {
   if (input == null) throw new NullPointerException("String input must not be Null");
   ((ByXPath) commands).typeByXPath(input, xpath);
 }
Beispiel #8
0
 @Override
 public void CheckBox(boolean selected, SeleniumCommands commands) {
   ((ByXPath) commands).checkBoxByXPath(selected, xpath);
 }