Done
Details
Assignee
Sobha DuvvuriSobha DuvvuriReporter
Khalilah GambrellKhalilah GambrellTestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Sobha Duvvuri
Sobha DuvvuriReporter
Khalilah Gambrell
Khalilah GambrellTestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created June 13, 2018 at 5:33 PM
Updated August 3, 2024 at 2:08 PM
Resolved July 16, 2018 at 1:29 PM
Support Boolean/Exact Phrase/Wildcard Character operators when searching Titles
General Requirement
Assume we want to always pass advancedsearch=true in the GET Titles request.
Developer documentation: http://10.80.3.221:4662/guides/overviewsearch.html
Boolean Search
Can only conduct a Boolean search when advancedsearch=true and Boolean operators NOT/OR/AND are in all caps
If both requirements are not met then the search will be no different than the current search behavior
Exact Phrase Search
Can only conduct an exact phrase search when advancedsearch=true and search query is enclosed by "double quotation marks"
If both requirements are not met then the search will be no different than the current search behavior
When conducting an "exact phrase search" then RM API will return any title that contains the exact phrase. Example below.
Wildcard
Can only conduct an exact phrase search when advancedsearch=true and search query includes an asterisk
If both requirements are not met then the search will be no different than the current search behavior
When conducting a wildcard search then RM API will return any title that contain the characters in the search query. Example below.
NOTE: per Mohan this behavior will be corrected but no timeframe right now. The better behavior is for the search to return results that start with the characters entered to search.
Nested search
Nested searches are supported as long as search is enclosed with parentheses AND advancedsearch=true. Example below.
Search query
Search Type
Expected Outcome
"Harvard Business Review"
exact phrase
Returns only titles that contain the phrase Harvard Business Review
Radical Equations Civil
search without boolean operators
Should return titles that contain Radical or Equations or Civil. In other words, search behaves as current.
"Civil War" OR "War between the states"
exact phrase using Boolean operator
only return results that contain the Civil War or War between the states
comp*
wildcard search
return results that contain comp (i.e. computer, compute, non-compete)
fashion OR dress
boolean OR operator since OR is in all CAPS
should conduct a Boolean OR search
fashion or dress
or is not in all CAPS
search will behave as current. RM API will return results with fashion, or, dress.
(physical OR mental) AND illness
nested search and multiple boolean operators
returns results with physical OR mental and illness in the title