Recording all of our test cases in Selenium IDE

+6 votes

I want to understand why we don't use Selenium IDE, and we use Selenium WebDriver, even if Selenium IDE is easy to use. 

Why can't we record all of our test cases in Selenium IDE

Sep 20, 2018 in Selenium by vincitydaimo
• 180 points

retagged Sep 20, 2018 by Vardhan 1,075 views
Hey @vlncltydalmo even I have the same doubt.

1 answer to this question.

+4 votes

Well @vincitydaimo, for obvious reasons we prefer not to use Selenium IDE. Yes, its easier to record all our test cases but the problem is there is no flexibility. For eg: 

  1. If you wan to test a dynamic page where the images or hyperlinks are moving 
  2. If you want to click on any Carousel ads in any webpage
  3. If you want to scroll down a page and then click on some element

In such cases, your tests will get recorded by IDE. However, when you playback the tests, there will be errors and the test case will be a failure because some element may not be clickable. This is the biggest problem.

Hence, we do it the programmatic approach by calling every single element with its element address (xpath or by tag or by id or css etc) and then perform some kind of action on it. This is done using Selenium WebDriver. 

I hope this was a good explanation. Feel free to ask if there are any other doubts..

For more details about test automation strategies and methodology, You can get a better understanding with the Automation testing online course.

answered Sep 20, 2018 by Vardhan
• 13,150 points

Related Questions In Selenium

0 votes
1 answer

How to run a group of test cases using TestNG in Selenium Webdriver?

Hey Kajal, TestNG allows you to perform ordered ...READ MORE

answered Jun 12, 2019 in Selenium by Abha
• 28,140 points
2,941 views
0 votes
2 answers

Can anyone help me that how to run Selenium WebDriver test cases in Chrome?

You first need to download chrome driver ...READ MORE

answered Aug 26, 2019 in Selenium by Abha
• 28,140 points
2,012 views
0 votes
1 answer

Login page test script using selenium and java in Eclipse IDE

Here is an example to login to ...READ MORE

answered Apr 23, 2018 in Selenium by Meci Matt
• 9,460 points
13,907 views
0 votes
1 answer

Debug test in Selenium IDE

To debug a test or execute it ...READ MORE

answered Feb 9, 2019 in Selenium by Ishaan
1,201 views
0 votes
2 answers

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,500 points
13,772 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,190 points
9,187 views
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,910 points
7,263 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 3, 2020 in Selenium by Sri
• 3,190 points
7,902 views
+4 votes
2 answers

gmail using selenium driver in eclipse

@letslearn, it seems like you have tried ...READ MORE

answered Sep 11, 2018 in Selenium by Vardhan
• 13,150 points
1,588 views
+1 vote
2 answers

How to get the title of a webpage using Selenium Java?

Essentially, driver.getTitle(); function can be used to ...READ MORE

answered Dec 17, 2018 in Selenium by Vardhan
• 13,150 points
15,967 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP