Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

2 like 0 dislike
237 views
by
What is selenium? Can you describe it in your words?

3 Answers

2 like 0 dislike
by Contributing Tester (95 points)
edited by

Selenium is one of the most renowned open-source test automation frameworks. Selenium allows test automation of web-apps or websites across different browsers & operating systems. Selenium testing tool offers compatibility with multiple programming languages such as Java, JavaScript, Python, C# and more, allowing testers to automate their website testing in any programming language that they are comfortable with.

Using Selenium testing tool, testers are able to deliver test cycles faster by automating repeated test cases. When integrated with CI/CD pipeline, Selenium testing tool can also help with a sturdy, bug-free release deployment pipeline.

Original Source: What Is Selenium?

0 like 0 dislike
by Contributing Tester (99 points)

Automation is taking the world to the next level. Selenium is an automation software testing tool. In this topic, we are going to discuss why it is the best tool in the market for software testing.

Why selenium is the best:

 

  • Selenium is an open-source tool. You don’t have to purchase licenses.

 

  • Test scripts can be written in any of these programming languages: Java, Python, C#, PHP, Ruby, Perl & .Net

 

  • Tests can be done across using various browsers such as Mozilla Firefox, Internet Explorer, Google Chrome, Safari or Opera

 

  • Selenium can be integrated with tools such as TestNG and JUnit.

 

Let’s learn the about part of the selenium

 

Selenium WebDriver:

 

Selenium Webdriver is a browser automation framework that receives the command and transfers them to a browser

 

Selenium Grid:

 

Selenium grid is a part of the selenium suite that specialize in running multiple browsers across different browsers and operating systems

 

Selenium WebDriver Architecture:

 

If you want to understand selenium WebDriver Architecture we should first know what is a WebDriver API.

 

It contains four important components

 

  1. Selenium Client Library

  2. JSON WIRE PROTOCOL Over HTTP Client

  3. Browser Drivers

  4. Browsers

 

1) Selenium Client Libraries/Language Bindings:

Developers in selenium have developed bindings to allow selenium to support different languages such as Java, Ruby, Python, etc.

 

2) JSON WIRE PROTOCOL Over HTTP Client:

 

JSON stands for JavaScript Object Notation. It is used to carry data between a server and a client on the web. JSON Wire Protocol is a REST API that provides information between the HTTP server. Each BrowserDriver (such as FirefoxDriver, ChromeDriver, etc.) has its individual HTTP server.

 

3) Browser Drivers:

Browsers drivers interact with the respective browser without exposing the aggregate logic of the browser’s functionality.

 

4) Browser:

 Selenium supports multiple browsers such as  Firefox, Chrome, IE, Safari.

Conclusion:

Selenium is the most powerful tool that is currently available on the market. The automation software testing tool can be the future of software testing as the world is moving beyond the AI.

0 like 0 dislike
by Contributing Tester (79 points)

Selenium is used for both web and mobile applications and it is having web drivers for web applications.

 

Benefits of selenium testing:

  • Platform Portability

  • Open Source Advantage

  • Flexibility and efficiency

  • Language Support

 

Steps to automate your test with Selenium:

  1. Create a WebDriver instance.

  2. Navigate to a Web page.

  3. Locate an HTML element on the Web page.

  4. Perform an action on an HTML element.

  5. Anticipate the browser response to the action.

  6. Run tests and record test results using a test framework.

  7. Conclude the test.

 

You can use a platform like QAppAssure which allows you to test on-cloud and on-field devices, across 100+ device, make and models, Integrate with Jira, CI/CD tools, and also use Appium, Calabash, Espresso, UIAutomator, XCUITest. 


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

...