
Loading ...
HTML gives a variety of ways to represent the information in Reports. The native QTP reporting does not support any direct method of reporting HTML text. There are certain workarounds that can be used to report HTML text
Method 1
This using the Reporter.ReportEvent with few special tags in the text being reported. The below code demonstrated [...]
Register or Login to read the full article...
Tags used -
color, HTML, Plain, report, Reportevent, Result, Results, Table, test result, test results, text

Loading ...
HTML and XML are very common entities in the testing/automation world. At time we are required to convert the HTML/XML to a Plain text version. Example of such a conversion can be seen below
<HTML><BODY><FONT color="red">Click on the Login link</FONT></BODY></HTML>
The converted text for about HTML would be “Click on the Login link”. One example of such [...]
Register or Login to read the full article...
Tags used -
Convert, HTML, Plain, Strip, text, XML