ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

[ Program & Execution] How to automate multi select drop down using selenium webdriver

Program & Execution How to automate multi select drop down using selenium webdriver

[ Program & Execution]

multi select

multi select drop down

selenium webdriver

selenium

Автор: Appanna Damu

Загружено: 2017-04-16

Просмотров: 883

Описание: public class Test11

{

public static void main(String[] args) throws InterruptedException

{

//Launch the chrome browser

System.setProperty("webdriver.chrome.driver", "F:\\TestingPrograms\\chromedriver.exe");

WebDriver driver= new ChromeDriver();

//Assign the website link to string variable

String url= "https://jobs.brassring.com/1033/ASP/T...";

// open given link

driver.get(url);

Thread.sleep(5000);

//locate drop down element

WebElement e = driver.findElement(By.id("Question139__FormText8"));

Thread.sleep(5000);

//create objects for Select & Actions Class

Select s= new Select(e);

Actions a = new Actions(driver);

// deselect the all options from the drop down "Country"

s.deselectAll();

//select the values from drop down

a.keyDown(Keys.CONTROL)

.click(s.getOptions().get(1))

.click(s.getOptions().get(3))

.keyUp(Keys.CONTROL) .build().perform();

Thread.sleep(5000);

//To get all the countries that are selected in the drop down.

List (WebElement) l = s.getAllSelectedOptions();

System.out.println("The number of countries selected in the dropdown :");

for(int i=1;i ( =l.size();i++)

{

String countries = s.getOptions().get(i).getText();

System.out.println( countries);

}

// Click on search button

driver.findElement(By.id("submit1")).click();

Thread.sleep(5000);

driver.close();

}

}


and also find the same program in my first comments and find more info in http://seleniumjars.blogspot.in/















































































































































































































































































































































































































































































































































































How to automate multi select drop down using selenium webdriver
automate multi select drop down in selenium ide
automate multi select drop down in selenium webdriver
automate multi select drop down in selenium xpath
automate multi select drop down in selenium yeast
automate multi select drop down in selenium youtube
automate multi select drop down in selenium zinc
automate multi select drop down in selenium zink
automate drop down using selenium
automate dropdown in selenium java
automate dropdown in selenium xpath
automate dropdown in selenium yeast
automate dropdown in selenium youtube
automate dropdown in selenium zinc
automate dropdown in selenium zink
dropdown automation in selenium
how to automate drop down in selenium
how to automate drop down in selenium ide
how to automate drop down in selenium webdriver
how to automate dropdown in selenium
how to automate dropdown in selenium webdriver

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
[ Program & Execution] How to automate multi select drop down using selenium webdriver

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]