39 package okw.gui.adapter.selenium;
41 import java.util.ArrayList;
43 import org.apache.commons.lang3.StringUtils;
44 import org.openqa.selenium.WebElement;
46 import okw.OKW_Const_Sngltn;
47 import okw.gui.OKWLocatorBase;
69 super(Locator, fpLocators);
86 Integer lviReturn = 0;
96 String lvsMaxLength = this.
Me().getAttribute(
"maxlength" );
98 if ( !okw.OKW_Helper.isStringNullOrEmpty( lvsMaxLength) )
100 lviReturn = Integer.parseInt( lvsMaxLength );
124 Integer lviReturn = 0;
134 String lvsMaxLength = this.
Me().getAttribute(
"minlength" );
136 if ( !okw.OKW_Helper.isStringNullOrEmpty( lvsMaxLength) )
138 lviReturn = Integer.parseInt( lvsMaxLength );
169 ArrayList<String> lvLsReturn =
new ArrayList<String>();
179 String myAttribute = this.
Me().getAttribute(
"placeholder" );
180 myAttribute = StringUtils.normalizeSpace( myAttribute );
182 lvLsReturn.add( myAttribute );
212 ArrayList<String> lvLsReturn =
new ArrayList<String>();
222 String myValue = this.
Me().getAttribute(
"value");
226 lvLsReturn.add(this.
Me().getAttribute(
"value"));
248 WebElement myMe = this.
Me();
251 for (String Value : Values)
259 myMe.sendKeys( Value );