2. *Open source automation Tool used to test web
applications across multiple browsers and
different operating systems.
*It is a set of tools such as
*Selenium IDE(Selenium Integrated Development
Environment)
*Selenium RC(Remote Control)
*Selenium WebDriver
*Selenium Grid
3. *
*It allows us to write web application UI tests
with the help of powerful programming
language to create more complex tests like
reading and writing files, querying a database,
emailing test results.
*Working:
*The Client libraries communicate with the
Selenium RC Server passing each selenium
command for execution.
4. *
*Three types:
1.Actions:commands that manipulate the
state of the application
2.Accessors: evaluate the state of
application and store the results in a
variable which are used in assertions.
3.Assertions: enables us to verify the state
of the application and compares against the
expected.
5. *
*Webdriver uses a different underlying
framework which directly interacts with
the browser unlike selenium RC.
*It supports headless execution.
*Purely Object Oriented API
*Can test iPhone/Android applications.
6. *
*We need to interact with the application
using some basic actions or even some
advanced user actions by developing user
defined functions for which there are no
predefined commands.
8. *
*It is powerful testing tool provides
1.Annotations
2.Flexible test configuration
3.Grouping of test cases
4.Parallelization of test
5.data-driven testing
6.Inbuilt Reporting
9. *First add testng software to eclipse with
url
http://beust.com/eclipse
Then add the testng library after creating
the project
10. *
*It is a tool that distributes the tests across multiple
physical or virtual machines so that we can execute
scripts in parallel.
*It has a Hub and Node
*Certain protocol is needed to work with Selenium Grid
1.Configuring Hub
2.Configuring Nodes
3.Develop Script
4.XML Preparation
5.Test Execution
6.Result Analysis