As a user writing a search query
I can write keywords, operators and values
In order to create a valid query.
**Scenario 1**
Given I have the list of email
| **SUBJECT **| **DATE **| **NAME **| **STATE **|
| KDE : Dynamics Project | 2016/02/16 | John | unread |
| KDE : Dynamics PAQL KMail | 2016/02/17 | Franck | unread |
| Qt : Assasin project | 2016/03/15 | Francis | unread |
When I write "receiver is" a value list appear :
|John|
|Franck|
|Francis|
and if i press enter the first value is selected
Then the query "receiver is John" is written.
**Scenario 2**
Given I have the list of email
| **SUBJECT **| **DATE **| **NAME **| **STATE **|
| KDE : Dynamics Project | 2016/02/16 | John | unread |
| KDE : Dynamics PAQL KMail | 2016/02/17 | Franck | unread |
| Qt : Assasin project | 2016/03/15 | Francis | unread |
When I write "receiver is f" a value list appear :
|Franck|
|Francis|
and if i press enter the first value is selected
Then the query "receiver is Franck" is written.
**Scenario 3**
Given I have the list of email
| **SUBJECT **| **DATE **| **NAME **| **STATE **|
| KDE : Dynamics Project | 2016/02/16 | John | unread |
| KDE : Dynamics PAQL KMail | 2016/02/17 | Franck | unread |
| Qt : Assasin project | 2016/03/15 | Francis | unread |
When I write "Date=" a value list appear :
|2016/02/16|
|2016/02/17|
|2016/03/15|
and if i press enter the first value is selected
Then the query "Date=2016/02/16" is written.
**Scenario 4**
Given I have the list of email
| **SUBJECT **| **DATE **| **NAME **| **STATE **|
| KDE : Dynamics Project | 2016/02/16 | John | unread |
| KDE : Dynamics PAQL KMail | 2016/02/17 | Franck | unread |
| Qt : Assasin project | 2016/03/15 | Francis | unread |
When I write "State=" a value list appear :
|read|
|unread|
and if i press enter the first value is selected
Then the query "State=read" is written.