Could you please suggest the code for the way of displayinng results in web page, can u please suggest us with your code so that we will also implement this.
I am familiar with how to get the results in webpage that can be stored in "Log" folder which may not display the results in the format which you uploaded.
Buddy,
if you really looked at the source code you wouldnt have asked the question back.
What you see in the html report source code is actually what he has scripted in the script.
Basanth Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Venkat,
It is very simple. What he is doing is nothing but filesystem edit and display.
1. Open a file with .html to write using filesystemobject.
2. Write the html content you want.
3. Save the file.
You will see that QTP has created a HTML page you wanted. Now the challenge is for you to know what html content you want to write. refer to w3schools if you want to know more about html syntax.
Basanth Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Hi -
After reading this thread and viewing the source code for the table, which I really like by the way, I was wondering how this source code is embedded into a QTP statement in QTP or is the code in an external file that QTP calls after the test is finished.
Thanks
Bill