rwestbury
14 years agoContributor
How to download the HTML source code into a String?
Hi,
This is for anyone who is having problems using the WebTesting WebCompare feature. The challenge I'm having is that there's a random session ID stored in the HTML source code that is different every time I go to the web page. That causes WebCompare to fail due to that random session ID.
Is there a workaround for this? Can I wildcard out the session ID? I tried to no avail. If it's possible please show an example.
Is there a way I can download the HTML source code into a String in TestComplete? What would the code be to do that?
Thanks,
Robert.
This is for anyone who is having problems using the WebTesting WebCompare feature. The challenge I'm having is that there's a random session ID stored in the HTML source code that is different every time I go to the web page. That causes WebCompare to fail due to that random session ID.
Is there a workaround for this? Can I wildcard out the session ID? I tried to no avail. If it's possible please show an example.
Is there a way I can download the HTML source code into a String in TestComplete? What would the code be to do that?
Thanks,
Robert.