HI All,
I am working on a requirement to sanity check if Search functionality of some sites is working on end user side(from Internet/End user perspective)
The requirement is to sanity check the portal on internet and see if search is giving results for some specific keywords. I am thinking powershell could be helpful in this . I am thinking of something like this
$req = [net.webRequest]::create($url)
$req = [system.Net.WebRequest]::Create($url)
[net.httpWebResponse] $res = $req.getResponse()
and then search for any string related to search results in the rendered page and give success/failure based on the string present on webpage.
Is there any more efficient and reliable way to do it rather then string search in webpage. ????
Any help will be appreciated