Selenium Set Of Tools:
• Selenium RC (Now deteriorated)
• Selenium IDE
• Selenium Grid
• Selenium WebDriver
Selenium RC (Remote Control) –
RC defeated the issue by including an HTTP intermediary server to “stunt” the program into accepting that Selenium Core and the web application being tried originated from a similar space. Accordingly making RC a two-part device.
1. Selenium RC Server
2. Selenium RC Client
RC Server imparts utilizing basic HTTP GET/POST demands. Take a gander at the underneath picture for understanding the RC design.
Selenium venture’s lead device was Selenium RC as it was their first apparatus and it could be utilized to compose experiments in various programming dialects. In any case, the disadvantage with RC is that each correspondence with the RC server is tedious and consequently RC is exceptionally moderate. So moderate, that it would here and there take hours to finish single tests.
From Selenium v3 onwards, RC has been deteriorated and moved to inheritance bundle. You can anyway download and work with RC, however, lamentably you can’t profit support for it. Be that as it may, on the other side, for what reason would you need to utilize an instrument which is obsolete, particularly when there is an increasingly proficient apparatus called Selenium WebDriver. Before I talk about WebDriver, let me examine IDE and Grid, which are different apparatuses that makeup Selenium v1.
Selenium IDE (Integrated Development Environment)
Shinya Kastani an origin from japan had given his Selenium IDE model to Apache’s Selenium venture. It was a Firefox module for the quicker formation of experiments. IDE actualized a record and playback model wherein; experiments are made by recording the cooperation which the client had with the internet browser. These tests would then be able to be played back any number of times.
The preferred position with Selenium IDE is that tests recorded by means of the module can be traded in various programming dialects like Java, Ruby, Python and so forth. Look at the underneath screen capture of Firefox’s IDE module.
Be that as it may, the related deficiencies of IDE are:
• Module accessible for Mozilla Firefox; not for different programs
• It is absurd to expect to test dynamic web applications; just basic tests can be recorded
• Experiments can’t be scripted utilizing programming rationale
• Doesn’t bolster Data-Driven testing
Selenium Grid was created by Patrick Light’s body and it was utilized in mixture with RC to run tests on remote machines. Actually, with Grid, different test contents can be executed simultaneously on various machines.
Parallel performance is achieved with the help of Hub-Node design. One machine will accept the job of Hub and the others will be the Nodes. Center controls the test contents running on different programs inside different working frameworks. Test contents being executed on various Nodes can be written in various programming dialects.
Matrix is still being used and works with both WebDriver and RC. Be that as it may, keeping up a network with every single required program and working framework is a test. For this, there are various online stages that give an online Selenium Grid that you can access to run your selenium mechanization contents. For instance, you can utilize the Lambda Test. It has in excess of 2000 program situations over which you can run your tests and really computerize cross-program testing.
Established by Simon Stewart in 2006, Selenium WebDriver was the main cross-stage testing structure that could control the program from OS level. As opposed to IDE, Selenium WebDriver gives a programming interface to make and execute experiments. Experiments are composed with the end goal that, web components on website pages are distinguished and afterward activities are performed on those components.
WebDriver is a move up to RC on the grounds that it is a lot quicker. It is quicker in light of the fact that it makes direct calls to the program. RC then again needs an RC server to communicate with the internet browser. Every program has its own driver on which the application runs. The distinctive WebDrivers are:
• Firefox Driver (Gecko Driver)
• Chrome Driver
• Web Explorer Driver
• Show Driver
• Safari Driver and
• HTM Unit Driver
Advantages Of Selenium WebDriver
• Backing for 7 programming dialects: JAVA, C#, PHP, Ruby, Perl, Python, and .Net.
• Supports testing on various applications like Firefox, Chrome, IE, Safari
• Tests can be made on several working frames like Windows, Mac, Linux, Android, iOS
• Beats confinements of Selenium v1 like document transfer, download, pop-ups, and exchanges hindrance
• Weaknesses Of Selenium WebDriver
• Point by point test reports can’t be produced
• Testing pictures is unimaginable
Regardless of the test, these deficiencies can be overwhelmed by mixes with different systems. For testing pictures, Sikuli can be utilized, and for producing definite test reports, TestNG can be utilized.
With the goal that reaches the inference to this blog on what is Selenium. To become familiar with Selenium WebDriver and TestNG, read different online journals in this Selenium instructional exercise blog arrangement. You can, on the other hand, observe the video beneath conveyed by an industry master where she has imparted her insight of Selenium as a computerization testing device.
Automation Testing over Manual Testing-
Automation testing beats manual testing inevitably. Why? Since it is quicker, needs less interest in the human asset, it isn’t inclined to blunders, visit execution of tests is potential, underpins lights out the execution, supports relapse testing and furthermore functional testing.
How about we take a comparative guide to the one referenced before. Assume there is a login page and we have to confirm on the off chance that all the login endeavors are fruitful, at that point it will be extremely simple to compose a bit of code which will approve if all the exchange/login endeavors are a success or not (automated test execution).
Additionally, these tests can be arranged so that they are tried in various situations and internet browsers. What else should be possible? You can automate the age of the result document, by booking it for a specific time during the day. At that point, you can likewise automate the age of reports dependent on those outcomes and so forth. The key point is that automation testing makes an analyzer’s activity a mess more straightforward.
Advantages of using Selenium-
• Language and structure support
• Open source availability
• Multi-browser assistance
• Ease of Implementation
• Support over different OS’s.
• Limited hardware usage
• Reusability and combinations.
• Simple to learn and use
• Regular updates.
Prerequisites to learn selenium-
1. You should have knowledge of Software testing.
2. Basic knowledge in automation testing.
3. You should be aware of HTML basics.
4. Experience or knowledge of Core JAVA.