Monday, 24 September 2018

Selenium – Introduction and History of Selenium Testing Tool


Selenium is a suite of devices to mechanize internet browsers crosswise over numerous stages. This is the official meaning of Selenium and in this article; will clarify what is selenium, selenium testing, and selenium history.
Selenium's chronicled enhancements will appreciate understanding a standout amongst the most critical test automation arrangement –. In any case, first need to begin with the nuts and bolts. For what reason do we do automate? For what reason do we require this?
For what reason Should We Learn Test Automation?
·         Automated tests are an awesome assistant for the tedious test undertakings, for example, relapse tests, and agendas.
·         It will lessen the bulky test costs and decrease the relapse test execution time.
·         It will enable you to run tests in parallel and it lessens test execution time significantly.
·         It can keep running whenever and intermittently with coordinated CI apparatus.
·         It will build the analyzer's inspiration. Analyzers learn new apparatuses, systems, dialects…
·         It will build the efficiency and helps the two analyzers and engineers.
·         And design mechanizes the redundant procedures.
·         And so on…
Focal points of Selenium:-
·         Selenium is a standout amongst the most widely recognized test robotization systems that numerous associations are utilizing today to computerize their web applications and furthermore portable applications by consolidating it with Appium.
·         Learning selenium at selenium training in Bangalore will open new entryways and open doors for analyzers both locally and universally.
·         It bolsters test executions while the program window is limited or with a headless program.
·         It underpins all real programming dialects (JAVA, Python, Perl, Ruby, C# Etc.)
·         There is a colossal network that offers the learning with an assortment of Best practices, Articles, and Tutorials on Selenium.
·         It is anything but difficult to introduce and design.
·         It enables you to run your test in parallel.
·         It underpins distinctive working frameworks Windows, MacOS, Linux, and so forth.
·         It is OPEN-SOURCE.
·         Selenium Webdriver bolsters cross-program testing. (Chrome, IE, Firefox, Etc.)
·         And so on…
Prologue to Selenium:-
What is Selenium?
It is a free (open source) mechanized testing suite for web applications crosswise over various programs and stages. It has four principle ventures:
·         Selenium Integrated Development Environment (IDE)
·         Selenium Remote Control (RC)
·         WebDriver
·         Selenium Grid
Who Developed Selenium?
Selenium was made by Jason Huggins in 2004. He was an architect at ThoughtWorks and he was chipping away at a web application that required a considerable measure of testing occasionally.
He had understood that the occasional manual testing exertion of their application was turning into a weight and afterward, he composed a JavaScript code that consequently controls the program. He gave a name to that program and it is called as JavaScriptTestRunner. At that point, he publicly released this answer for the world and later he called Selenium Core.
In those days alternate renowned testing system was created by the Company called Mercury Interactive. This was the organization which initially made QTP before it was gained by HP and presently that structure is called as HP-UFT (Unified Functional Testing). Thus, Jason Huggins made another test computerization system and he was contemplating its name and he came up a thought identified with Mercury. As we as a whole realize that Selenium is a notable remedy for Mercury Poisoning. Hence, he needed to give a name to his structure as Selenium.
Selenium exceeds UFT in the accompanying regions:
·         Cost (Selenium is totally free)
·         Flexibility  
The Same Origin Policy Issue:-
Same Origin Policy says that you need to get to the components of an area by Javascript code where the Javascript code was propelled. For instance, in the event that you need to get to test.swtestacedemy.com web components with swtestacademy.js program, the program must be opened the swtestacaedemy's test condition. It can not achieve the components of creation since they are at various areas. In this way, in the event that you need to utilize Selenium Core javascript program to mechanize your venture, Selenium Core Javascript program and your web application under test must be in a similar area. Along these lines, you need to introduce nearby duplicates of Selenium Core and the Application to a similar area and it is a noteworthy weight for analyzers.
·         Selenium Remote Control – Selenium RC
Downloading and introducing the entire application and the web server on nearby PCs was a significant issue for analyzers who utilized selenium center. Keeping in mind the end goal to take out this issue, another ThoughtWork's representative Paul Hammant came up an extraordinary trap. He made a server that functioned as a HTTP intermediary. Along these lines, Selenium Core and the web application under test imparts through that server and they imagine that they are in a similar space. This arrangement is called as Selenium Remote Control or Selenium RC. Likewise, selenium courses in Bangalore we can call this adaptation as Selenium 1.0. Selenium RC is additionally the primary web test mechanization device that enabled clients to utilize diverse programming dialects, for example, JAVA, C#, PHP, Python, Perl, Ruby.
·         Selenium Grid
The maker of Selenium Grid is Partick Lightbody. He made Selenium Grid to limit test execution times. To begin with, he called this arrangement as Hosted QA and it was sending Selenium guidelines to a few hubs at the same time. Selenium Grid works like center point hub idea and the center fills in as a focal correspondence purpose of every single associated hub. Along these lines, we can run our test in parallel on different programs and conditions.
·         Selenium IDE
Selenium IDE is a record and play answer for Firefox. It is an expansion which was created by Shinya Kasatani in 2006. You can begin recording, do the activities on Firefox and afterward stop your account. At that point, you can run your account to mechanize your activities on Firefox. Tragically, Selenium IDE advancement wrapped up. One of the comparative apparatuses is created by Katalon and it is called as Katalon Recorder for Chrome.
·         Selenium Webdriver
In 2006 Simon Stewart made WebDriver (Selenium 2.0) venture. It was a cross-stage testing arrangement which controls the program from Operation System level with program drivers. He additionally exhibited Selenium Webdriver at Google Automation Conference 2007. In a similar meeting, Cedric Beust likewise introduced TestNG. What a meeting!
WebDriver controls page components in a more practical manner. For instance, on the off chance that you have an impaired content box on a site, WebDriver can't enter any content in it. It acts like a human and it is quicker than Selenium RC. The ongoing form of Selenium Webdriver is called as Selenium 3.0. In Selenium 3.0, there are some compositional changes were finished. Webdriver is W3C Candidate Recommendation on 30 March 2017.

No comments:

Post a Comment