Submitted Questions

  • Selenium Lists and Array Lists

    What are the difference between lists and array lists?

    Mohit

    • Jan 15th, 2018

    List - List is an interface which extends Collection. We can add duplicates in List. It stores elements on the basis of index and it also maintain insertion order. It allows null. ArrayList - ArrayLi...

    praveen

    • Mar 1st, 2016

    1) ArrayList internally uses dynamic array to store the elements. LinkedList internally uses doubly linked list to store the elements. 2) Manipulation with ArrayList is slow because it internally us...

  • Selenium close() & quit() methods

    What are the difference between close() & quit() methods in selenium web driver?

    mp

    • Oct 6th, 2017

    Close(): It is used to close the browser opened by webdriver. It is closes currently working or active browser only.
    Ex: driver.close().
    Quit(): It is used to close the all windows opened by webdriver.
    Ex: driver.quit().

    nagashree

    • Jul 25th, 2017

    Close(): if we have opened many tabs, and if we want to close only one tab then we go for close().
    quit(): if we want to close all the tabs which are opened at once(close browser at once), then we use
    quit().

  • Selenium Web Driver Locators

    How many locators are there in Selenium web driver?

    Mohit

    • Jan 15th, 2018

    In selenium there are 8 selectors and all the selectors are static methods of By class(abstract).
    1.tagName
    2.id
    3.name
    4.className
    5.linkText
    6.partialLinkText
    7.cssSelector
    8.xpath

    eswar

    • Feb 1st, 2016

    X-Path

  • Selenium Selection

    Why and When Selenium is selected for testing?

    nagashree

    • Jul 25th, 2017

    When we compare selenium with other tools its open source, so many companies use selenium to automate test cases. We can use different languages (groovy, Python etc) to automate test cases using Sele...

    Dipali Kalaskar

    • Apr 16th, 2016

    Selenium is open source tool so no need to invest for testing on this tool. The entire suite of selenium tool results in a rich set of testing functions specifically geared to the needs of testing of ...