Create a URL like this:
String URLString = "https://www.google.com/search?hl=en&site=imghp&tbm=isch&source=hp&q="+TestString;
Run it like this:
Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(URLString));
startActivity(i);
Make sure your test script is URL safe
source
to share