Trending questions in Selenium

0 votes
1 answer

Which of the locators should be used when?

Hi @Kapil, you should use ID or ...READ MORE

Jun 24, 2019 in Selenium by Kabir
807 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
2,694 views
0 votes
1 answer

Can anyone suggest some of the automation testing tool which are used for Non-Functional Automation?

Hello Chandni, some of the automation tools ...READ MORE

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

Benefits of using JUnit Error Collector

Hi Disha, some of the benefits of ...READ MORE

Jun 19, 2019 in Selenium by anonymous
• 14,150 points
871 views
0 votes
1 answer

Want to assert the row text in webtable

Hi, you can assert row text at ...READ MORE

Jun 10, 2019 in Selenium by Anvi
• 14,150 points
1,241 views
0 votes
0 answers
0 votes
1 answer

Write automation script to submit a form on a webpage using Webdriver?

Hey Riya, you can use following code ...READ MORE

May 29, 2019 in Selenium by Abha
• 28,140 points
1,638 views
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
1,058 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,917 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
7,581 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
1,062 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
998 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
20,024 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
923 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
1,237 views
0 votes
1 answer

related to href

Hey Himanshu, as far as I can ...READ MORE

Jun 18, 2019 in Selenium by Abha
• 28,140 points
710 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,972 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,724 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
2,379 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
2,020 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,384 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
1,409 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
2,247 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
1,223 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
1,386 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
2,026 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
2,104 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
13,244 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
1,402 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
1,460 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
1,196 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
1,408 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
1,312 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
1,304 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
1,125 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,593 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
1,194 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
908 views
+1 vote
1 answer

How to use xpath to get a specific text from a website?

The task is to get the text ...READ MORE

Dec 19, 2018 in Selenium by Nabarupa
7,889 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
998 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,703 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
986 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
1,246 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,598 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
982 views
0 votes
1 answer

Selenium throws an error “selenium.common.exceptions.WebDriverException:

In your case the path of the ...READ MORE

May 8, 2018 in Selenium by Samarpit
• 5,910 points
17,574 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
1,155 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
1,130 views
0 votes
1 answer

How to select first instance of a button in a table row based on cell content by XPath

This xpath should give you all the ...READ MORE

Jun 6, 2018 in Selenium by jons
16,231 views