I was wondering is there a way to look for a perticular string from the body of a page I just requested? For example i have a page called blah.htm all it has in there is a paragraph of some sort. And i'm trying to see if a string:"stuff" exists in that paragraph. I'm using test complete 3 with VBScript.
Index = InStr(,Request.ResponseBody.Contents,"stuff",0)
but since HTTPBody.Contents does not return a string so i got an type mismatch error.
But I can't seem to find any method that i can call either. Or am i suppose to save the whole body into a file then look for it?
Please help!!! Thanks