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 46 views
Hey @vlncltydalmo even I have the same doubt.

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
+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
• 10,560 points

Related Questions In Selenium

0 votes
1 answer

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

Download the executable driver from: ChromeDriver Download Before ...READ MORE

answered Mar 29, 2018 in Selenium by nsv999
• 5,030 points
116 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,400 points
1,264 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
14 views
0 votes
1 answer

Export test cases from Selenium IDE to Selenium webdriver

Open the Test case in Selenium IDE ...READ MORE

answered Feb 12 in Selenium by Vascoo
42 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,030 points
56 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,130 points
420 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,130 points
43 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
• 10,560 points
66 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
• 10,560 points
66 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.