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 85 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..

answered Sep 20, 2018 by Vardhan
• 12,820 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 in Selenium by Abha
• 27,180 points
201 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 in Selenium by Abha
• 27,180 points
341 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,440 points
3,517 views
0 votes
1 answer

Debug test in Selenium IDE

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

answered Feb 9 in Selenium by Ishaan
36 views
0 votes
1 answer

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,110 points
1,145 views
0 votes
1 answer
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,150 points
1,245 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,150 points
999 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
• 12,820 points
169 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
• 12,820 points
782 views