How to write a test case in Selenium IDE?

0 votes
How to write a test case in Selenium IDE?
May 13 in Selenium by Sam
29 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 13 by Pratibha
• 2,780 points

Related Questions In Selenium

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
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 12 in Selenium by Anvi
• 12,860 points
53 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,090 points
591 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
900 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
576 views
0 votes
1 answer
0 votes
1 answer