Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 12728

Sanity Check of search functionality from Front End using powershell

$
0
0

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


Viewing all articles
Browse latest Browse all 12728

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>