employer cover photo
employer logo
employer logo

Grepthor Software Solutions

Questa è la tua azienda?

Domanda di colloquio di Grepthor Software Solutions

select value from Drop down in selemiun webdriver?

Risposta di colloquio

Anonimo

24 giu 2018

Select drop =new Select(driver.findElement(By.xpath("//*[@id='day']"))); drop.selectByValue("3"); Thread.sleep(3000); Select drop1 = new Select(driver.findElement(By.xpath("//*[@id='month']"))); drop1.selectByVisibleText("Apr"); Thread.sleep(3000); Select drop2 = new Select(driver.findElement(By.xpath("//*[@id='year']"))); drop2.selectByIndex(9);