Created
October 23, 2019 14:56
-
-
Save muditlambda/ab5fb1413efbed181f299d8451b7457e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void test_login_using_relative_locators_2(){ | |
String txt_name = driver.findElement(withTagName("input") | |
.toLeftOf(By.id("addbutton")) | |
.below(By.name("li5"))) | |
.getAttribute("id"); | |
assertEquals(txt_name, "sampletodotext"); | |
driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment