selenium training in chennai - PowerPoint PPT Presentation

About This Presentation
Title:

selenium training in chennai

Description:

– PowerPoint PPT presentation

Number of Views:14
Slides: 6
Provided by: vickypappy
Category: Other

less

Transcript and Presenter's Notes

Title: selenium training in chennai


1
Validation of elements using the Selenium IDE
  • https//www.besanttechnologies.com/training-course
    s/software-testing-training/selenium-training-inst
    itute-in-chennai

2
Validation of elements using the Selenium IDE
  • Selenium IDE was created with a purpose to
    increase the speed of the creation of test cases.
    It has recording and playback options for user
    action that helps you create simple tests
    quickly.
  • The interface is friendly and also supports
    multiple extensions. The integrated development
    environment Selenium, abbreviated as Selenium
    IDE, is an automated test tool that is released
    as a Firefox plug-in.
  • It is one of the simplest and easiest tools to
    install, learn and continue with the creation of
    test scripts. The tool is placed in a fundamental
    record and reproduction and also allows the
    editing of recorded scripts.
  • The most impressive aspect of the use of selenium
    IDE is that the user is not obliged to possess
    any prior knowledge of programming.

3
Validation of elements using the Selenium IDE
  • The minimum that the user needs is small
    friendships with HTML, DOMS and JavaScript to
    create various test scripts using this tool.
    Being a Firefox plug-in, the Selenium IDE
    supports only Firefox, so the created test
    scripts can be run only in Firefox.
  • Plus some gaps make this inadequate tool be used
    in complex test scripts. So, other tools like the
    Selenium RC, WebDriver enters the scene.
  • it is only supported by the Firefox browser and
    basically used as a rapid prototyping tool. For a
    serious and robust test automation and to run
    your scripts in different browsers, Selenium 1 or
    Selenium 2 are recommended.

4
Validation of elements using the Selenium IDE
  • There are two mechanisms to validate elements
    that are in the application under test using the
    Selenium IDE. To understand what validation
    really means, please read the following examples.
  • validationsExample1 to check whether or not the
    user interface element exists in the application.
    If the automation tool discovers that the item is
    in the application, this will result in PASS
    otherwise it will result in FAIL as output. (From
    now on I will perform this type of validation
    using IDE Selenium)
  • Example2 To check if the hidden user interface
    element is really hidden. If the automation tool
    discovers that this element is not hidden, this
    will result in FAIL, otherwise, the result will
    be PASS.

5
Validation of elements using the Selenium IDE
  • Two mechanisms to validate elements in the
    Selenium IDE
  • Assert - This allows the test to verify if the
    element is in the page . If it is not available,
    the test will be interrupted in the step that
    failed and will not perform the remaining steps.
  • Check allows the test to verify that the item is
    on the page. If it is not available, the test
    will fail in the step and execute the remaining
    steps. Selenium IDE records several locators for
    each element with which it interacts.
  • The Selenium IDE comes with an extensive flow
    control structure, with available commands like
    if, while and times. To know more, check the
    documentation of the control flow.
  • The Selenium IDE can be extended through the use
    of plugins. They can introduce new commands to
    the IDE or be integrated into a third party
    service.
Write a Comment
User Comments (0)
About PowerShow.com