Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a64bad5

Browse files
add readme
1 parent bd1ecd5 commit a64bad5

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

‎Readme.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Project Assessment:(XO_GMAIL_1)
2+
The provided repository contains an incomplete automated test for email sending functionality via Gmail.
3+
4+
The test is supposed to:
5+
- Login to Gmail
6+
- Compose an email from subject and body as mentioned in src/test/resources/test.properties
7+
- Label email as "Social"
8+
- Send the email to the same account which was used to login (from and to addresses would be the same)
9+
- Wait for the email to arrive in the Inbox
10+
- Mark email as starred
11+
- Open the received email
12+
- Verify email came under proper Label i.e. "Social"
13+
- Verify the subject and body of the received email
14+
- Generate test execution report at the end
15+
16+
# Notes
17+
- Update the src/test/resources/test.properties file to replace dummy credentials and chromedriver path before you run the tests. You may remove your login details before submitting this assessment.
18+
- Don't include downloaded packages or auto-generated folders in your submission.
19+
- Please enable "Social" label for your Gmail account using the following steps:
20+
-Go to Settings of your Gmail account
21+
-Click on the "Labels" tab and click on "Show" for "Social" label under Categories
22+
-Click on "Inbox" tab and mark the checkbox for "Social" and "Primary" under Categories so that "Social" and "Primary" tabs appear on the main page of your Gmail account
23+
- DO NOT change the project structure and use Gradle only
24+
25+
# Tasks:
26+
1. Complete the automated test to include the missing functionality, refer to the section titled 'Project Assessment' for requirements.
27+
2. There are a few bugs in the existing code that we'd like you to fix, the test case seems to be failing right now. Even though the project might not be in a great structure, please do not spend your valuable time on structure modifications unless explicitly asked to, just focus on fixing bugs.
28+
29+
PLEASE NOTE THAT ALL THE TASKS LISTED ABOVE ARE MANDATORY. We'll be evaluating your submission on the following parameters:
30+
31+
- Complete the incomplete unit test.
32+
- Bug fixes.
33+
34+
# Prerequisites:
35+
- ChromeDriver 2.44 , JDK 8+
36+
- Any IDE
37+
38+
# Development Environment:
39+
- Modify src/test/resources/test.properties to point to ChromeDriver's path on your system
40+
- On any terminal, move to the project's root folder and execute the following command:
41+
- ./gradlew clean test
42+
43+
# How to deliver:
44+
This is how we are going to access and evaluate your submission, so make sure you go through the following steps before submitting your answer.
45+
46+
1. Make sure that the tests are passing, there are no errors, and any new dependencies are specified in build.gradle.
47+
2. Zip your project folder and name it 'cross-mail-selenium-java_<YourNameHere>.zip'.
48+
3. Store your file in a shared location where Crossover team can access and download it for evaluation. Do not forget to paste the shared link in the answer field of this question.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /