selenium training in Bangalore (47) - PowerPoint PPT Presentation

About This Presentation
Title:

selenium training in Bangalore (47)

Description:

The Well Known Institute for selenium training in Bangalore is Infocampus. Infocampus guides you in and out information about selenium with real-time live projects. Register for demos, 8+ Experience Mentors, Weekdays and weekends classes are available, 100% job support. Contact: 9738001024. Visit: infocampus.co.in for much more details on selenium courses in Bangalore. – PowerPoint PPT presentation

Number of Views:30

less

Transcript and Presenter's Notes

Title: selenium training in Bangalore (47)


1
Usage of Selenium for Testing Dynamically
Generated Pages
2
  • Selenium turned into a viral arrangement in
    testing web applications because of the way that
    the HTML components utilized as a part of
    advancement have a tendency to be increasingly
    confused and differing.
  • WebDriver permits running tests in any sort of
    program and in addition distinguishing
    application components.

3
Dynamic applications-
  • Site page components for the most part have
    novel identifiers that assistance limiting them
    inside the page. They are executed utilizing the
    traits of HTML labels ID or Name. These qualities
    can be static, which makes testing simple.
  • In any case, late patterns constrained these
    ascribes to be progressively created. This is
    basic for JavaScript applications.

4
About Selenium-
  • Selenium WebDriver is an open source-venture for
    testing web applications in various programs,
    utilizing diverse programming dialects that
    permit the robotization of program controls.
  • Selenium will likely supply a very much composed
    question situated API that gives enhanced help to
    current propelled web-application testing.

5
Obstacle-
  • Testing a dynamic web application gets
    troublesome when tedious undertakings that ought
    to be mechanized don't generally get similar
    parameters. Accordingly, the components that
    ought to be transmitted towards these assignments
    change starting with one test then onto the next.
  • This happens in light of the fact that dynamic
    web applications are database-driven. Each time a
    component is refreshed in the database, it
    influences one or a few zones of the application.
    In any case, dislike these components can't be
    recognized and controlled.

6
  • Another trouble frequently experienced in web
    applications is the measure of time you have to
    sit tight for the page substance to stack.
    Components just show up after the execution the
    JavaScript code and subsequent to getting an
    answer from the server.
  • This time interim can't be resolved on the
    grounds that different startling occasions may
    happen while executing the application. The tests
    are intended to be pursued each other. When one
    test closes, another test begins without sitting
    tight for the HTML components of the page to
    stack. This will in the long run influence the
    tests to fizzle.

7
Solutions-
  • Selenium effectively takes care of the
    considerable number of issues introduced
    previously.

8
Utilizing locators-
  • The WebDriver gives a locator to distinguishing
    progressively produced components of a similar
    sort inside a website page. There are 8 sorts of
    locators Id, Name, Identifier, DOM, Link Text,
    Xpath, CSS, UI.
  • Utilizing the right locator guarantees quicker
    and dependable tests that can be all the more
    effectively kept up amid application improvement
    or successive application discharges. For testing
    computerization you can work just with IDs and
    Names they make your work a ton simpler.

9
  • ID select component with the predefined _at_id
    quality
  • Name select first component with the predefined
    _at_name quality
  • Identifier find component utilizing a label
    name
  • DOM find components that match a JavaScript
    articulation
  • Link Text select connection component which
    determines interface content
  • Xpath find a component utilizing a XPath
    articulation
  • CSS select component utilizing CSS selectors
  • UI select all around characterized component.
  • In some cases, picking a locator can turn into a
    bad dream, in light of the fact that there's no
    real way to tell if it's the ideal locator or on
    the off chance that it will just vanish amid
    testing

10
Verifiable Wait versus Explicit Wait-
  • Once in a while another component utilized as a
    part of the test can't be distinguished. For such
    circumstances, Selenium created WebdriverWait.
  • Since the components are refreshed in DOM
    without reloading the website page, it is
    prescribed to confirm a condition each time a
    component has been adjusted either by sitting
    tight for a specific measure of time (Implicit
    Wait), or by checking each second that the
    condition is met, before following the subsequent
    stage in the content (Explicit Wait).

11
  • The Implicit Wait strategy advises the WebDriver
    to sit tight for a specific measure of time, at
    whatever point it tries to discover one or a few
    components that are not instantly accessible, for
    fear that an exemption is returned. The default
    esteem is 0.

12
  • The Well Known Institute for selenium training
    in Bangalore is Infocampus. Infocampus guides you
    in and out information about selenium with
    real-time live projects.
  • Register for demos, 8 Experience Mentors,
    Weekdays and weekends classes are available, 100
    job support. Contact 9738001024.
  • Visit infocampus.co.in for much more details on
    selenium courses in Bangalore.

13
(No Transcript)
14
Visit Here.
  • Infocampus Training Institute,
  • 1st 4th Floor, Above HDFC Bank,
  • Near Kalamandir,
  • Outer Ring Road,
  • Marathahalli,
  • Bangalore-560037
Write a Comment
User Comments (0)
About PowerShow.com