02-04-2008, 09:36 PM
Hi all,
I am using QTP on a commercial Website and want to test if a portion of text exist in the webPage. The objects and webelement are'nt always defined with an id or a property and sometime it take me very long time to reconize it with a Description / childObjects method when i make my scripts.
I was wondering if there is any method to get the full source code from a page object in a single string, so i could compare it with the portion of text I want with a InStr() vb fonction.
Any Idea ?
Thx
I am using QTP on a commercial Website and want to test if a portion of text exist in the webPage. The objects and webelement are'nt always defined with an id or a property and sometime it take me very long time to reconize it with a Description / childObjects method when i make my scripts.
I was wondering if there is any method to get the full source code from a page object in a single string, so i could compare it with the portion of text I want with a InStr() vb fonction.
Any Idea ?
Thx