How to write a test case in Selenium IDE

0 votes
How to write a test case in Selenium IDE?
May 13, 2019 in Selenium by Sam
2,841 views

1 answer to this question.

0 votes

Hey Sam, to write a test case in Selenium IDE, the entire test script creation process can be classified into three steps:

  1. Recording:
    • Launch Firefox browser.
    • Click on the Selenium icon present on the top right corner on your browser.
    • It will launch the default interface of Selenium IDE. Create a new project as DemoProject.


       
    • Click on the Start Recording Button present on the top right corner on the IDE to start recording the test case.

      IDE-First Test Case
       
    • Go to your Firefox browser and open URL: www.google.com . It will redirect you to the Google search engine page.
    • Type Edureka in the Google search box. Hit enter to get search results.
    • Click on first Edureka link to go Edureka's home page.


       
    • Now, go the IDE and click on the Stop Recording button to stop recording your actions further.
    • The Test Editor box now contains the list of all of your interactions with the browser.

      IDE-First Test Case
  2. Playing back (executing the recorded script):
    • Click on the Run Current Test button present on the tool bar menu of the IDE. It will execute all of your interactions with the browser and gives you an overall summary of the executed test script.

      IDE-First Test Case
       
    • The Log pane displays the overall summary of the executed test scripts.
       
  3. Saving the test suite: 
    • Click on the Save button present on the extreme right corner of the menu bar.
    • Save the entire test suite as Demo Test.


       
    • The test suite can be found at the location provided in the above steps. Notice that the test script is saved in .side format.

      IDE-First Test Case
answered May 14, 2019 by Pratibha
• 3,690 points

Related Questions In Selenium

0 votes
1 answer

How to create a test case with TestNG in Selenium?

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

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

How to pass parameter through testng.xml file to a test case in Selenium Webdriver?

Hello Revathi, to pass parameter through testng.xml ...READ MORE

answered Jun 12, 2019 in Selenium by Abha
• 28,140 points
7,664 views
0 votes
1 answer

How to disable a test case in testNG?

You can use the enable method to ...READ MORE

answered Jan 3, 2019 in Selenium by Nabarupa
2,150 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

answered May 13, 2019 in Selenium by Anvi
• 14,150 points
1,472 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,674 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,143 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,221 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,875 views
0 votes
1 answer
0 votes
1 answer

How to check the state of a radio button or checkbox in Selenium?

Hey Priya, to check the state of ...READ MORE

answered May 7, 2019 in Selenium by Pratibha
• 3,690 points
4,571 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