Home Core Java Overview Maven Tutorials

Saturday, 11 May 2019

Introduction of Selenium & Architechture

JDBC in java

Introduction of Selenium & Architechture

What is selenium :- Selenium is an open source tool which is used to automating the tests carried out on web browsers.
In other words Selenium is an open source tool to automate the browser only.
Always remember only testing of web application is possible with selenium.
Also we can neither test any desktop application(Software) nor test any mobile application using selenium.
But there are many tools for testing software and mobile applications like IBM's RFT, HP'QTP, Appium etc.

Since Selenium is an open-source, there is no liecensing cost involved, which is a major advantage over other testing tools.
Selenium is now a day's getting popularity due to following reasons :-
1). Test scripts can be written in any of there programming languages :- Java,Phython,C#,PHP,RUBY,Perl,.Net,etc.
2). Tests can be carried out in any of these OS: Windows, Mac, or Linux
3). Tests can be carried out using any browser like HtmlUnit, Mozilla firefox, Internet Explorer, Google chrome, Safari or Opera.
4). It can be integrated with tools such as TestNG & JUNIT for managing test cases and generating reports.
5). It can be integrated with Maven, Jenkins & Docker to achieve Continuous Integration Testing.

Limitation of selenium :- 1). There is no support available for selenium. We need to leverage on the available customer communities.
2). We can use selenium only to test web applications. We can not test desktop applications or any other software.
3). There is no native reporting facility but we can overcome that issue by integrating iy with frameworks like TestNG&JUnit
4). It is not possible to perform testing on images. we need to integrate selenium with sikuli for image based testing.
Architecture of selenium

What a tester needs to do in selenium
1).Identify web Elements, using identifiers like id, xpath etc.
2).Add Actions, usiing your preferred programming language along with the test data.
3).and finally run the test.

No comments:

Post a Comment