selenium training in Bangalore (16) - PowerPoint PPT Presentation

About This Presentation
Title:

selenium training in Bangalore (16)

Description:

To get more information on selenium, join selenium training in Bangalore. Infocampus is a institute that provides Selenium Courses in Bangalore. Contact 9738001024 or else visit for much more details on selenium training. – PowerPoint PPT presentation

Number of Views:29

less

Transcript and Presenter's Notes

Title: selenium training in Bangalore (16)


1
Locators and Page Objects of Selenium Testing Tool
INFOCAMPUS LOGICS
2
  • Automation being a key purpose of achievement of
    any product association, everyone is taking a
    gander at the freeware and colossal group
    bolstered instrument like Selenium.

INFOCAMPUS LOGICS
3
Selenium IDE
  • Selenium IDE is a Firefox add-on grew initially
    by Shinya Kasatani as an approach to utilize the
    first Selenium Core code without copying Selenium
    Core onto the server.
  • Selenium Core is the key JavaScript modules that
    enable Selenium to drive the program.

INFOCAMPUS LOGICS
4
  • It has been produced utilizing JavaScript so it
    can interface with the DOM (Document Object
    Model) utilizing local JavaScript calls.
  • Selenium IDE has been produced to enable
    analyzers and engineers to record their
    activities as they take after the work process
    that they have to test.

INFOCAMPUS LOGICS
5
Locators
  • Locators indicate how we can observe components
    on the page to be utilized as a part of our
    tests. We will utilize XPath, CSS, connect
    content, and ID to discover components on the
    page so we can associate with them.
  • Locators enable us to discover components on a
    page - selenium training in Bangalore that can be
    utilized as a part of our tests. In the last
    section we figured out how to conflict with a
    page which had average locators.

INFOCAMPUS LOGICS
6
  • In HTML, it is viewed as a decent practice to
    ensure that each component you have to cooperate
    with has an ID characteristic and a name
    property.
  • Sadly, taking after prescribed procedures can be
    to a great degree troublesome, particularly when
    assembling the HTML progressively on the server
    before sending it back to the program.

INFOCAMPUS LOGICS
7
Taking after are the locators utilized as a part
of Selenium IDE
  • ID - This component recognizes an ID property
    on the page.
  • Name - This component recognizes name property
    on the page.
  • Connect - This component distinguishes
    interfaces by the content.
  • XPath - This component distinguishes by XPath.
  • CSS - This component distinguishes by CSS.
  • DOM - This component recognizes by DOM.

INFOCAMPUS LOGICS
8
Selenium WebDriver
  • The essential element of the Selenium WebDriver
    is the joining of the WebDriver API and its
    outline to give a less complex, more compact
    programming interface notwithstanding tending to
    a few constraints in the Selenium-RC API.

INFOCAMPUS LOGICS
9
  • Selenium WebDriver was produced to better
    bolster dynamic website pages where components of
    a page may change without the page itself being
    reloaded.
  • WebDriver will probably supply an all-around
    outlined protest situated API that gives enhanced
    support to present day propelled web application
    testing issues.

INFOCAMPUS LOGICS
10
Discovering components
  • When working with WebDriver on a web application
    - Selenium Courses in Bangalore, we should
    discover components on the page. This is the Core
    to having the capacity to work.
  • Every one of the techniques for performing
    activities to the web application, such as
    writing and clicking require that we look the
    component first.

INFOCAMPUS LOGICS
11
Finding a component on the page by its ID
  • The primary thing that we will take a gander at
    is finding a component by ID. Looking components
    by ID is one of the most straightforward
    approaches to discover a component.
  • We begin with findElementByID(). This strategy
    is an aide technique that sets a contention for a
    more non-specific findElement call. We will see
    now how we can utilize it in real life.

INFOCAMPUS LOGICS
12
  • The technique's mark resembles the accompanying
    line of code
  • findElementById(String utilizing)
  • The utilizing variable takes the ID of the
    component that you wish to search for. It will
    restore a WebElement question that we can then
    work with.

INFOCAMPUS LOGICS
13
Utilizing findElementById()
  • We discover a component on the page by utilizing
    the findElementById() technique that is on each
    of the Browser Driver classes.
  • findElement calls will restore a WebElement
    question that we can perform activities on.

INFOCAMPUS LOGICS
14
Page Objects
  • In this area of the article, we will observe how
    we can apply some prescribed procedures to tests.
    You will figure out - selenium training how to
    make viable test suites that will enable you to
    refresh tests in seconds.
  • We will observe making your own particular DSL
    with the goal that individuals can see
    expectation. We will make tests utilizing the
    Page Object design.

INFOCAMPUS LOGICS
15
Working with FirefoxDriver
  • FirefoxDriver is the most effortless driver to
    use, since everything that we have to utilize is
    altogether packaged with the Java customer ties.

INFOCAMPUS LOGICS
16
Understanding Selenium Grid
  • Selenium Grid is a rendition of Selenium that
    enables groups to set up various Selenium
    examples and after that have one main issue to
    send your Selenium summons to.
  • This contrasts from what we found in Selenium
    Remote WebDriver where we generally needed to
    expressly say where the Selenium Server is and in
    addition recognize what programs that server can
    deal with.

INFOCAMPUS LOGICS
17
  • With Selenium Grid we simply request a
    particular program, and afterward the center
    point that is a piece of Selenium Grid will
    course all the Selenium charges through to the
    Remote Control you need.

INFOCAMPUS LOGICS
18
Conclusion
  • We have comprehended and learnt what are
    Selenium and its advancements from IDE to
    WebDriver and Grid also.
  • What's more we have learnt how to recognize the
    WebElements utilizing WebDriver, and its outline
    example and locators through WebDriver.

INFOCAMPUS LOGICS
19
  • Furthermore, we learnt on the robotization
    structure outline and usage, versatile
    application computerization on Android and iOS.
  • At long last we comprehended the idea of
    Selenium Grid.

INFOCAMPUS LOGICS
20
  • To get more information on selenium, join
    selenium training in Bangalore.
  • Infocampus is a institute that provides Selenium
    Courses in Bangalore.
  • Contact 9738001024 or else visit
    http//infocampus.co.in/best-selenium-testing-trai
    ning-center-in-bangalore.html for much more
    details on selenium training.

INFOCAMPUS LOGICS
21
(No Transcript)
22
VISIT HERE
  • Infocampus Training Institute,
  • 1st 4th Floor, Above HDFC Bank,
  • Near Kalamandir,
  • Outer Ring Road,
  • Marathahalli,
  • Bangalore-37

INFOCAMPUS LOGICS
Write a Comment
User Comments (0)
About PowerShow.com