Testing: Selenium: ZimbraSelenium Interview: Difference between revisions
(→Setup) |
(→Setup) |
||
Line 39: | Line 39: | ||
## Click Finish | ## Click Finish | ||
[[Image:ZimbraSeleniumIntProjectStructure.jpeg | [[Image:ZimbraSeleniumIntProjectStructure.jpeg]] | ||
Use these steps to execute tests: | Use these steps to execute tests: |
Revision as of 20:58, 10 August 2011
General Information
The Zimbra Selenium Interview is an interview test given to prospective candidates for QA Engineer positions.
The main purpose of the test is gauge candidates knowledge of relevant test methodologies and relevant test technologies, such as Java, TestNG, Selenium.
Questions
Candidates must address these problems and questions
- There are various compilation issues in the project. Fix them.
- The existing test cases should report: "Total tests run: 4, Failures: 0, Skips: 0". Fix the existing test cases.
- Implement Login03: "Verify the invalid password error message contains the text: 'The username or password is incorrect.'"
- Implement Login04: "Verify the copyright message contains the text: 'Copyright © 2005-2011'"
- What test cases would be required to test the login screen?
- Create a list of test case "objectives", which clearly state the intent of the tests
- There are various email messages in the mailbox. Create a test case to click on the message with subject = "interview"
Source Code
Source code is delivered to candidates by mail.
Setup
The source code has been tested using:
- Operating System: Windows XP
- Java: 1.6.0_24
- Eclipse: Eclipse Version 3.2
- Browsers: firefox, iexplore
Use these steps to load the test code into eclipse:
- Unpack the software into a folder
- Open ecplipse and set the workspace to the folder
- Add the java project
- Choose File -> New -> Java Project
- In the dialog, set Project Name: "ZSelenium"
- Click Finish
Use these steps to execute tests:
- Open build.xml
- In the Outline view:
- Right click on "Execute Tests"
- Choose Run As -> Ant Build
Project Layout
Project Structure
The following folders are located in the ZSelenium java project.
- conf: contains configuration files for how the harness executes
- jars: contains third party external jar files
- src/java: contains java source code
- build.xml: project ant build file
Java Structure
The following major packages are located in the ZimbraSelenium java project.
- com.zimbra.qa.selenium.interview.main: utility classes
- com.zimbra.qa.selenium.interview.tests: test classes