I have a general question, which pretty much is, How do I test SOLR queries using Selenium?
Suppose we have a SOLR query JSON file, which pretty much looks like a huge pile of text containing values in form of Key-Value pair. From this file, I want to assess particular value(s), e.g. the title of an article list page which may have a lot of different title values. Then I need to match this value(s) to the front end to see if they are equal or not, e.g the SOLR query text/JSON file has a value like
"title":"2006 Ford Expedition: Used Car Review". I want to test this thing with Selenium to see if it matches correctly to the article list page value.
If the SOLR results were a web page it will be easy to do this but since the SOLR query gives a text file, I can't access the value. And the SOLR query always gets updated so its result might change. Thus, I need a convenient affirm way to access particular values and test this scenario.