200 likes | 215 Views
Greens Technology is a leading Training and Placement company in Chennai. We are <br><br>known for our practical approach towards trainings that enable students to gain real-<br><br>time exposure on competitive technologies. Trainings are offered by employees from <br><br>MNCs to give a real corporate exposure.
E N D
Introduction:- • Selenium is a prevalent open-source electronic mechanization instrument. This class will make you an expert in Selenium Automation. • Selenium suite is contained 4 essential parts; • Selenium IDE • Selenium RC • Web Driver • Selenium Grid. • The client is relied upon to pick admirably the correct Selenium apparatus for his/her needs. Selenium IDE is appropriated as a Firefox module and it is less demanding to introduce and utilize.
Selenium IDE: • Selenium coordinated advancement condition, acronym as Selenium IDE is a robotized testing device that is discharged as a Firefox module. • It is one of the most straightforward and least demanding apparatuses to introduce, learn and to proceed with the formation of test contents. • The device is laid on a record and playback key and furthermore permits altering of the recorded contents. • The most noteworthy part of utilizing selenium IDE is that the client isn't required to have any earlier programming information. • The base that the client needs is the little colleagues with HTML, DOMS and JavaScript to make various test contents utilizing this device.
Being a Firefox module, Selenium IDE bolsters just Firefox, therefore the made test contents could be executed just on Firefox. • A couple of more escape clauses make this device improper to be utilized for complex test contents. Along these lines, different apparatuses like Selenium RC, Web Driver comes into the photo. • Selenium IDE test cases can be traded into following configurations/programming languages.java (IDE sent out in Java),rb (IDE traded in Ruby),py (IDE traded in Python),cs (IDE traded in C#)
The whole Selenium IDE content creation process can be grouped into 3 lumps: Process 1: Recording – Selenium IDE helps the client to record client connections with the program and along these lines the recorded activities in general are named as Selenium IDE content. Process 2: Playing back – In this area, we execute the recorded content in order to confirm and screen its dependability and achievement rate. Process 3: Saving – Once we have recorded a steady content, we might need to spare it for future runs and relapses.
Web Driver:- • Web Driver is a standout amongst the most effective and famous apparatuses of Selenium toolbox. WebDriver comes as a broadened variant of Selenium RC with unnecessary favorable circumstances and addresses a significant number of its restrictions. • Web Driver stretches out its help to numerous most recent programs and stages, not at all like Selenium IDE. • Web Driver additionally doesn't require Selenium server to be begun preceding execution of the test contents, not at all like Selenium RC.
Selenium RC in conglomeration with WebDriver API is known as Selenium 2.0. • Selenium was so created with a specific end goal to help dynamic site pages and Ajax calls. • It additionally underpins different drivers to practice online versatile testing. • Web Driver Architecture:- • WebDriver is an electronic testing instrument with an inconspicuous contrast with Selenium RC. • Since the device was based on the major where a disconnected customer was made for every one of the web programs, no JavaScript Heavy lifting was required as we talked about in our first instructional exercise. • WebDriver makes guide calls to the Web program and the whole test content is executed in this design. WebDriver utilizes the programs support and capacities to mechanization.
Extraordinary Cases when Selenium Server is required with WebDriver:- • At the point when the client wishes to execute test contents on the remote machine. • At the point when the client wishes to execute test contents on HtmlUnit Driver. • At the point when the client wishes to execute test contents on numerous stages.
WebDriver is an absolutely question arranged structure that deals with OS layer. • It uses the program's local similarity to robotization without utilizing any fringe substance. • With the expanding request, it has picked up a huge prevalence, client base and has progressed toward becoming by a long shot a standout amongst the most broadly utilized open source computerization testing apparatuses. • WebDriver bolsters a differing scope of web programs and their renditions. • It underpins all the regular programs notwithstanding some remarkable and uncommon programs like HtmlUnit program dissimilar to Selenium RC and Selenium IDE.
HtmlUnit Browser executes the test contents practically equivalent to different programs with the exception of the way that it keeps running in the headless mode i.e. GUI-less mode and the client won't have the capacity to see the test content execution. • Said that the test content execution unfolds in headless mode, in this way the execution speed takes a roll and revives the execution. • WebDriver additionally underpins online portable testing. In this way it gives AndroidDriver and IphoneDriver to back online versatile testing.
JUnit:- • JUnit is an open source unit testing device and used to test little/extensive units of code. • To run the JUnit test you don't need to make a class protest or characterize the primary technique. • JUnit gives attestation library which is utilized to assess the test outcome. Comments of JUnit are utilized to run the test technique. • JUnit is likewise used to run the Automation suite having various experiments.
TestNG:- • TestNG is a propel system planned in an approach to use the advantages by both the designers and analyzers. For individuals as of now utilizing JUnit, TestNG would appear to be the same with some propel highlights. • With the initiation of the structures, JUnit picked up a tremendous notoriety over the Java applications, Java designers and Java analyzers, with astoundingly expanding the code quality. • Despite being an easy to use and straightforward framework, JUnit has its own limitations which give rise to the need of bringing TestNG into the picture. • TestNG was created by an acclaimed programmer named as “Cedric Beust”. TestNG is an open source framework which is distributed under the Apache Software License and is readily available for download.
Talking about our requirement to introduce TestNG with WebDriver is that it provides an efficient and effective test result format that can, in turn, be shared with the stakeholders to have a glimpse of the product’s/application’s health thereby eliminating the drawback of WebDriver’s incapability to generate test reports. • TestNG has an inbuilt exception handling mechanism which lets the program to run without terminating unexpectedly. • Both TestNG and JUnit belong to the same family of Unit Frameworks where TestNG is an extended version to JUnit and is more extensively used in the current testing era.
Highlights of TestNG:- • Support for explanations . • Support for parameterization . • Propel execution technique that does not require test suites to be made . • Support for Data Driven Testing utilizing Data suppliers . • Empowers client to set execution needs for the test techniques . • Backings danger safe condition when executing different strings • Promptly bolsters joining with different instruments and modules like form apparatuses (Ant, Maven and so forth.), Integrated Development Environment (Eclipse). • Encourages client with powerful methods for Report Generation utilizing ReportNG.
Selenium customer API:- As an other option to composing tests in Selenese, tests can likewise be composed in different programming dialects. These tests at that point speak with Selenium by calling techniques in the Selenium Client API. Selenium as of now gives customer APIs to Java, C#, Ruby, JavaScript and Python. As a contrasting option to composing tests in Selenese, tests can likewise be composed in different programming dialects. These tests at that point speak with Selenium by calling strategies in the Selenium Client API.
Selenium right now gives customer APIs to Java, C#, Ruby, JavaScript and PythonWhile Selenium IDE may appear a gainful and productive instrument for composing experiments, it needs numerous fundamental highlights of a testing apparatus: • 1. Restrictive articulations • 2.Circles,Logging • 3.Exemption taking care of • 4.Revealing • 5.Test installations and information driven tests • 6.Test conditions • 7.Taking screen captures • Selenium RC is the response to an all the more intense test-suite for your applications. • It takes after a customer/server display enabling customer libraries to execute tests on a program controlled by the server.
Selenium Grid:- • Selenium Grid is utilized to run various tests all the while on various programs and stages. • The center point is the essential issue wherein you stack your tests. • Hubs are the Selenium occurrences that will execute the tests that you stacked on the center point.
Thank You Visit our Website: www.greenstechnologys.com http://www.trainingintambaram.net Contact : 8939925577,9384637514 Place: Chennai,Bangalore