How to store a text field value and retrieve it later - Selenium Web Driver Using Java
Need your help in Selenium Webdriver coding with Java. I have a scenario, where I create a Course name and submit it to the database and then later I need to search for the Course by the name I created it. Simply the work flow would be; 1. Type the course name in text box (Here I'm randomly generating a string so it's not hard coded, I need to retrieve exactly what I typed here) 2. Store the typed name 3. In the search box type that name private void createCurriculum() throws InterruptedException { selenium.open("http://url.com"); driver.findElement(By.id("Text1")).clear(); driver.findElement(
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.