How can I write HTML text to the window in VB Script?

Answer Posted / saravanan

You can use the Document.write method to write any text,
HTML or otherwise, to the window.
These commands must be executed before the document has
finished loading. The best way is to execute VBScript
commands that are inline, not subroutines or functions that
are triggered by events.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between sub procedures and function procedures?

514


Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?

517


Which command is used for writing text on a page?

571


Explain the .wsf files?

525


Capture the Unique label changes on google home page for I am feeling lucky button and save those label changes to Notepad Note: Using QTP

1866






Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder

1562


What is the use of the date function in the vbscript language?

554


Which operator can be used to check if two numbers are equal or not in vbscript?

641


Why is it recommended to close the database connection every time after the work is completed?

492


How will you reverse a string in vbscript?

615


What is the difference between vbscript and vba?

598


how to operate webobjects in a webpage using getobject function and then using generic methods?

2536


Hello Guys, If any body looking for "worksoft certify tool training in bangalore", please contact me aimansaud@gmail.com

1038


Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?

3027


I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?

1541