Selenium Flashcards
1
Q
What is Selenium ?
A
A set of tools that supports rapid development of test automation for web-based applications.
- Can be recorded and written as HTML
- Cross programming languages: Java, C#, Perl, PHP, Python, Ruby
- Cross browsers support: IE, Firefox, Opera, Safari and Google Chrome
- Cross platform support: Windows, Linux, and Macintosh.
2
Q
Automation - Advantages
A
- Reliable: Tests perform precisely the same operations each time they are run, thereby eliminating human error.
- Repeatable: You can test how the software reacts under repeated execution of the same operations.
- Reusable: You can reuse tests on different versions of an application, even if the user interface changes.
-Speed: Run tests significantly faster than human users.
Cost Reduction: As the number of resources for regression test are reduced.
- Better Quality Software: Rapid feedback to developers during the development process as a result of frequent regression testing.
3
Q
Automation - Disadvantages
A
- Proficiency is required to write the automation test script.
- Debugging the test script is major issue. If any error is present in the test script, sometimes it may lead to dadly consequences.
- Test maintenance is costly in case of playback methods. Even though a minor changes occurs in the GUI, the test script has to be rewritten.
- Maintenance of test data files is difficult, if the test script tests more screens or web-pages.
- Short iteration or very tight deadline, can lead to not enough time to build test automation.
4
Q
Selenium IDE - User interface
A
Test case list view Menu list (File, Edit, Options, Help) Record/Review Table/Source Log/Reference/UI Element/Roll Up View