Trending questions in Selenium

0 votes
1 answer

What are the assertion methods used by JUnit to write Selenium scripts?

@Vinay, JUnit provide these assertions to write ...READ MORE

Jun 12, 2019 in Selenium by Zubin
637 views
0 votes
1 answer

Is it better to use TestNG Suite Test than using JUnit Suite Test?

Hi Zaid, Suites are used to execute multiple ...READ MORE

Jun 11, 2019 in Selenium by Anvi
• 14,150 points
608 views
0 votes
1 answer

How to get the text from all the cells of an HTML table?

This worked for me. Check this out import ...READ MORE

May 10, 2019 in Selenium by Surya
• 970 points
1,982 views
0 votes
1 answer

Can anyone explain the annotations available in TestNG?

Hi Ishika, following annotations are available in ...READ MORE

Jun 10, 2019 in Selenium by Abha
• 28,140 points
626 views
0 votes
0 answers

What is JUnit @ignore test annotation and when it can be used?

What is JUnit @ignore test annotation and ...READ MORE

Jun 13, 2019 in Selenium by Garry
486 views
0 votes
1 answer

What are some of the common exceptions one could face in Selenium?

Hey Monisha, some of the common Selenium ...READ MORE

May 23, 2019 in Selenium by Satyam
1,344 views
0 votes
1 answer

How can I delete all the cookies present on a browser using Webdriver?

Hey jasmine, to delete all the cookies ...READ MORE

May 30, 2019 in Selenium by Rajeshwari
1,003 views
0 votes
1 answer

Can anyone explain how to write Selenium script for Flash Testing?

Hey Wasin, to understand how Selenium scripts ...READ MORE

May 23, 2019 in Selenium by Neelam
1,306 views
0 votes
1 answer

What does Parameterized testing mean in TestNG?

Hey Imraan, Parameterized tests allow developers to run ...READ MORE

Jun 4, 2019 in Selenium by Parineeti
772 views
0 votes
1 answer

How to run test scripts in Selenium using PhantomJS?

Hey @Shushil, you can run your test ...READ MORE

May 17, 2019 in Selenium by Abha
• 28,140 points
1,531 views
0 votes
2 answers

What are the type of Parameterization in TestNG?

A Data Provider is a method on your class ...READ MORE

May 28, 2019 in Selenium by Frankie
• 9,830 points
987 views
0 votes
1 answer

i am not able to perform this method in selenium driver.get("google")

Hi Sachin, are you getting any errors ...READ MORE

May 15, 2019 in Selenium by Abha
• 28,140 points
1,545 views
0 votes
1 answer

What is Robot Class in selenium webdriver and why it is used?

Hello Akanksha, Robot Class is used for those ...READ MORE

May 9, 2019 in Selenium by Pratibha
• 3,690 points
1,828 views
0 votes
1 answer

What is the use of AutoIt tool with Selenium?

Hey Badrish, AutoIT is a third party tool ...READ MORE

May 31, 2019 in Selenium by Anvi
• 14,150 points
830 views
0 votes
1 answer

How to use firefox webdriver (geckodriver) in selenium?

Firefox v47+ with selenium 2.53, you need ...READ MORE

Jan 8, 2019 in Selenium by Nabarupa
7,026 views
0 votes
1 answer

How driver.close() and driver.quit() commands are different from each other in Selenium?

Hello Pallavi, Selenium WebDriver’s close() command closes the ...READ MORE

May 7, 2019 in Selenium by Anvi
• 14,150 points
1,806 views
0 votes
1 answer

What is POM in Selenium and what it is used for?

Hello Rubina, POM is Page Object Model which ...READ MORE

May 12, 2019 in Selenium by Anvi
• 14,150 points
1,545 views
0 votes
1 answer

How selenium can be used in devops lifecycle?

Hey Catherine, as we know that a ...READ MORE

May 8, 2019 in Selenium by Anvi
• 14,150 points
1,662 views
0 votes
1 answer

How to perform right click action using Selenium Webdriver?

@Yuvika, you need to use Actions Class ...READ MORE

May 28, 2019 in Selenium by Reshma
813 views
0 votes
1 answer

How can Custom Firefox Profiles be created and used in Selenium?

Hi Vijay, to create Custom Firefox Profile ...READ MORE

May 24, 2019 in Selenium by Abha
• 28,140 points
952 views
0 votes
1 answer

For given test scenarios, how can I write automation test script?

Hi Yogita, for this test scenario you ...READ MORE

May 23, 2019 in Selenium by Farah
992 views
0 votes
1 answer

How should I configure the chromedriver.exe in eclipse

Use the page factory pattern, working example: public ...READ MORE

Mar 27, 2018 in Selenium by ffdfd
• 5,550 points
19,170 views
0 votes
1 answer

How to launch browsers using Python-Selenium?

Hey Nikita, to launch browser in Python-Selenium, ...READ MORE

May 24, 2019 in Selenium by Anvi
• 14,150 points
890 views
0 votes
1 answer

How to handle the popup of file upload in Windows OS with WebDriver?

The value of name locator has probably ...READ MORE

Apr 25, 2018 in Selenium by king_kenny
• 3,710 points
17,902 views
0 votes
1 answer

How to create a test case with TestNG in Selenium?

Hey Deepak, to create a Test Case ...READ MORE

May 22, 2019 in Selenium by Abha
• 28,140 points
985 views
0 votes
1 answer

What are CSS Selectors and how they can be used as locators in Selenium Webdriver?

Hi Randeep, CSS Selectors are string patterns ...READ MORE

May 24, 2019 in Selenium by Pratibha
853 views
0 votes
1 answer

Taking screenshot of a webpage with Python-Selenium. How it can be done?

Hi Babita, try using this piece of ...READ MORE

May 27, 2019 in Selenium by Abha
• 28,140 points
718 views
0 votes
2 answers

What are the tools of Selenium Suite?

Selenium Grid , selenium IDE selenium RC ...READ MORE

Jun 4, 2019 in Selenium by Shweta Pandey
740 views
0 votes
1 answer

How to perform double click on a webpage using WebDriver?

Hey Jaya, to perform double click on ...READ MORE

May 31, 2019 in Selenium by Anvi
• 14,150 points
471 views
0 votes
1 answer

What is the procedure of writing Selenium Test Cases with Log4j logging?

@Neetu, you can use these steps to ...READ MORE

May 22, 2019 in Selenium by Naveen
825 views
0 votes
1 answer

What is Webdriver Wait in Selenium Webdriver?

Hey Muskan, WebDriverWait is applied on a certain element ...READ MORE

May 29, 2019 in Selenium by Abha
• 28,140 points
535 views
0 votes
2 answers

Can anyone explain the process of database testing from Selenium Webdriver using JDBC?

Why would you be testing the database ...READ MORE

May 17, 2019 in Selenium by Veretax
1,029 views
0 votes
1 answer

I want to write an Automation Script for browsing and exploring music from a website. How can I do that?

Hey Abhinav, I am sharing this code ...READ MORE

May 27, 2019 in Selenium by Mayank
566 views
0 votes
1 answer

Selenium Exceptions are divided into how many categories?

Hey @Ketan, Selenium exceptions are divided into two ...READ MORE

May 22, 2019 in Selenium by Divya
785 views
0 votes
1 answer

How can I create a POM test case in Selenium Webdriver?

Hey Akshay, follow these steps to create ...READ MORE

May 13, 2019 in Selenium by Anvi
• 14,150 points
1,218 views
0 votes
1 answer

What is Selenium Grid and when it can be used?

Hello Janki, Selenium Grid is a part ...READ MORE

May 29, 2019 in Selenium by Rahul
503 views
0 votes
0 answers

How to click the OK button inside an Alert function while using Selenium IDE?

I want to click the 'OK' button ...READ MORE

May 15, 2019 in Selenium by Surya
• 970 points
1,086 views
0 votes
1 answer

Can someone please explain the Selenium Webdriver Architecture ?

Hey Keshav, there are four basic components ...READ MORE

May 14, 2019 in Selenium by Pratibha
• 3,690 points
1,108 views
0 votes
1 answer

What is DataProvider in TestNG?

A Data Provider is a method on your class ...READ MORE

May 28, 2019 in Selenium by Frankie
• 9,830 points
445 views
0 votes
1 answer

What are the different logging levels in Log4j Loggers?

Hello @Pankaj, Log4j Loggers have following levels ...READ MORE

May 22, 2019 in Selenium by Preethi
709 views
0 votes
1 answer

What are the main components of Log4j?

Hi Kiran, Log4j has four main components: LogManager: This ...READ MORE

May 22, 2019 in Selenium by Anvi
• 14,150 points
705 views
0 votes
1 answer

How to get the WebDriver version during test run?

Hi friend, It is possible by reading the VERSION.txt ...READ MORE

May 28, 2019 in Selenium by Vaishnavi
• 1,180 points
474 views
0 votes
1 answer

What is Cucumber?

Cucumber is a testing approach which supports ...READ MORE

May 14, 2019 in Selenium by Frankie
• 9,830 points
1,003 views
0 votes
1 answer

How to handle multiple windows in Selenium Webdriver?

Hey Ritika, you can handle multiple windows ...READ MORE

May 24, 2019 in Selenium by Anvi
• 14,150 points
530 views
0 votes
1 answer

Compound class names not permitted

Instead of using Class name you can ...READ MORE

Jan 11, 2019 in Selenium by Fujistu
6,305 views
0 votes
1 answer

Can anyone explain how an AJAX call can be handled in Selenium webdriver?

Hello Megha, to demonstrate how AJAX calls are ...READ MORE

May 9, 2019 in Selenium by Pratibha
• 3,690 points
1,186 views
0 votes
1 answer

What are some of the most commonly used WebElement commands for Selenium Webdriver?

 Hey Rupali, some of the most commonly ...READ MORE

May 14, 2019 in Selenium by Abha
• 28,140 points
929 views
0 votes
1 answer

Send keys control + click in Selenium with Python bindings

Use an ActionChain with key_down to press the control key, and key_up to ...READ MORE

Aug 23, 2018 in Selenium by Meci Matt
• 9,460 points
12,324 views
0 votes
1 answer

How to upload a file to a server using Selenium Webdriver?

Hi Jigyasa, following piece of code will ...READ MORE

May 21, 2019 in Selenium by Anvi
• 14,150 points
623 views