is itpossible to check the content of static or dynamic HTML pages
1. Two different URLs display the same content (let say, a paragraph
of lengthy words(more than 120 charecters))
2. Compare and check the different between the wordings of these two pages or paragraghs
How it's feasible to do that with QTP?
Possible. Use the Internet Explorer DOM to retrieve the innerHTML and use the StrComp function.
An example to get you started.
Please do go through the IE DOM info at Microsoft MSDN.
i would suggest using outertext/innertext instead of outerhtml/innerhtml as it will give you the text displayed on the page
Tarun Buy the NEW QTP Descriptive Programming Unplugged Book ** Download QTP Unplugged 2nd Edition eBook for FREE **