Debugging login
This commit is contained in:
parent
dd416b5e0a
commit
f523bba2f9
|
@ -71,7 +71,8 @@ public class BasicTest {
|
||||||
WebElement loginButton = wait.until(ExpectedConditions.elementToBeClickable(By.name("doLogin")));
|
WebElement loginButton = wait.until(ExpectedConditions.elementToBeClickable(By.name("doLogin")));
|
||||||
// WebElement loginButton = wait.until(ExpectedConditions.visibilityOf(driver.findElement(By.name("doLogin"))));
|
// WebElement loginButton = wait.until(ExpectedConditions.visibilityOf(driver.findElement(By.name("doLogin"))));
|
||||||
|
|
||||||
String scaleInfo = driver.findElement(By.xpath("/table[@class='loginall']/tbody/tr/td/div")).getText();
|
String scaleInfo = driver.findElement(By.xpath("/table/tbody/tr/td/div")).getText();
|
||||||
|
//String scaleInfo = driver.findElement(By.xpath("/table[@class='loginall']/tbody/tr/td/div")).getText();
|
||||||
System.out.println("Scale: " + scaleInfo);
|
System.out.println("Scale: " + scaleInfo);
|
||||||
|
|
||||||
driver.findElement(By.name("login")).sendKeys("system");
|
driver.findElement(By.name("login")).sendKeys("system");
|
||||||
|
|
Loading…
Reference in New Issue