selenium training in Bangalore (6) - PowerPoint PPT Presentation

About This Presentation
Title:

selenium training in Bangalore (6)

Description:

Infocampus is a training institute that provides practical oriented selenium training in Bangalore with better job opportunities. It is a center where candidates will be practical oriented classes on each day. Flexible Batch timings for selenium course on both weekdays and weekends. To get more information on best selenium training institute in Bangalore – INFOCAMPUS, then visit or call on 9738001024. – PowerPoint PPT presentation

Number of Views:7

less

Transcript and Presenter's Notes

Title: selenium training in Bangalore (6)


1
TestNG- Advantages from SELENIUM point of view
  • Presented by INFOCAMPUS

2
  • Testing is the way toward checking the
    usefulness of an application to guarantee it
    functions according to necessities.
  • Here we are adapting more about TestNG, its
    advantages, explanations.
  • Unit testing comes into picture at the designer
    level where satisfactory measures are taken to
    test each and every substance to guarantee the
    last item meets the necessities.

INFOCAMPUS
3
  • JUnit has driven engineers to comprehend the
    value of tests, particularly of unit tests, when
    contrasted with whatever other testing system.
  • Utilizing a somewhat straightforward, down to
    business, and strict engineering, JUnit has
    possessed the capacity to "contaminate"
    extraordinary number of designers.

INFOCAMPUS
4
  • JUnit, in the meantime, has a few weaknesses
    too, which are recorded underneath
  • Initially intended to empower unit testing just,
    now utilized for a wide range of testing.
  • Cannot do reliance testing.
  • Poor design control (setUp/tearDown).
  • Intrusive (drives you to augment classes and name
    your techniques a specific way).
  • Static programming model (constrains you to
    recompile superfluously).
  • The administration of various suites of tests in
    complex undertakings can be extremely precarious.

INFOCAMPUS
5
What is TestNG?
  • TestNG is a trying structure motivated from
    JUnit and NUnit however presenting some new
    usefulness that make it all the more intense and
    less demanding to utilize.
  • It is an open source computerized testing
    system where NG of TestNG means Next Generation.
    TestNG is like JUnit yet it is a great deal more
    intense than JUnit yet it's roused by JUnit.

INFOCAMPUS
6
  • It is intended to be superior to JUnit,
    particularly when testing coordinated classes.
    Pay uncommon on account of Cedric Beust who is
    the maker of TestNG.
  • TestNG disposes of a large portion of the
    constraints of the more seasoned structure and
    gives the engineer the capacity to compose more
    adaptable and effective tests with help of simple
    comments, gathering, sequencing and
    parameterizing.

INFOCAMPUS
7
Advantages of TestNG
  • There are number of advantages yet from Selenium
    point of view, real favorable circumstances of
    TestNG are
  • It gives the capacity to create HTML Reports of
    execution
  • Annotations made analyzers life simple
  • Test cases can be Grouped and Prioritized all the
    more effortlessly
  • Parallel testing is conceivable
  • Generates Logs
  • Data Parameterization is conceivable

INFOCAMPUS
8
Writing Test case
  • Composing a test in TestNG is very
    straightforward and essentially includes taking
    after strides
  • Step 1 Write the business rationale of the test
  • Step 2 Insert TestNG explanations in the code
  • Step 3 Add the data about your test (e.g. the
    class names, techniques names, bunches names and
    so on) in a testng.xml record
  • Step 4 Run TestNG

INFOCAMPUS
9
Explanations in TestNG
  • _at_BeforeSuite
  • The clarified strategy will be keep running
    before all tests in this suite have run.
  • _at_AfterSuite
  • The clarified strategy will be pursued all tests
    in this suite have run.
  • _at_BeforeTest
  • The clarified technique will be keep running
    before any test strategy having a place with the
    classes inside the tag is run.
  • _at_AfterTest
  • The explained strategy will be pursued all the
    test strategies having a place with the classes
    inside the tag have run.

INFOCAMPUS
10
  • _at_BeforeGroups
  • The rundown of gatherings that this setup
    strategy will keep running some time recently.
    This strategy is ensured to run right away before
    the main test technique that has a place with any
    of these gatherings is conjured.
  • _at_AfterGroups
  • The rundown of gatherings that this setup
    technique will pursue. This strategy is ensured
    to pursue presently the last test technique that
    has a place with any of these gatherings is
    conjured.
  • _at_BeforeClass
  • The explained technique will be keep running
    before the principal test strategy in the present
    class is conjured.

INFOCAMPUS
11
  • _at_AfterClass
  • The explained technique will be pursued all the
    test strategies in the present class have been
    run.
  • _at_BeforeMethod
  • The explained technique will be keep running
    before each test strategy.
  • _at_AfterMethod
  • The explained technique will be pursued each
    test strategy.
  • _at_Test
  • The commented on strategy is a piece of an
    experiment.

INFOCAMPUS
12
Advantages of utilizing Annotations
  • It recognizes the strategies it is keen on by
    looking into explanations. Thus technique names
    are not limited to any example or configuration.
  • We can pass extra parameters to explanations.
  • Annotations are specifically, so the compiler
    will signal any slip-ups immediately.
  • Test classes no longer need to augment
    anything

INFOCAMPUS
13
  • In any venture, you will wind up to a place
    where you have to execute such a large number of
    experiments on a run. Running an arrangement of
    experiments together is call executing a Test
    Suite.
  • Those experiments can be needy to each other or
    may must be executed in a specific request.
    TestNg gives us the capacity to deal with our
    test execution.

INFOCAMPUS
14
TestNG Test Suite
  • In TestNG system, we have to make testng.xml
    record to make and handle various test classes.
  • This is the xml record where you will design
    your trial, set test reliance, incorporate or bar
    any test, technique, class or bundle and set need
    and so on.

INFOCAMPUS
15
To Learn More
  • JOIN INFOCAMPUS

INFOCAMPUS
16
  • Infocampus is a training institute that provides
    practical oriented selenium training in Bangalore
    with better job opportunities.
  • It is a center where candidates will be
    practical oriented classes on each day. Flexible
    Batch timings for selenium course on both
    weekdays and weekends.

INFOCAMPUS
17
  • To get more information on best selenium
    training institute in Bangalore INFOCAMPUS,
  • then visit http//infocampus.co.in/best-selenium-
    testing-training-center-in-bangalore.html or call
    on 9738001024.

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

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