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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / vcskiran

response.write("<html><body>kiran<" & chr(47) & "body><" &
chr(47) & "html>

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More VB Script Interview Questions

who will create the object?

0 Answers   Estuate,


Explain the support of asp for vb script functionality?

0 Answers  


What are the 2 ways to pass a value to the function?

0 Answers  


How to access array data?

0 Answers  


How do you create a recordset object in VBScript?

3 Answers  






write a program to display configuration of a local system with the help of vb script.

0 Answers  


write a function to read the items from combobox of Flight reservation & save in excel (QTP)??

0 Answers  


What is sql loader? Explain the files used by sql loader to load file?

0 Answers  


how to increasing the numbers in a given text box please write a vb script

0 Answers  


If anyone knows abt Test Complete material, Pls let me Know. if u have any material or any documents..... Pls mail me on this mail Id...... This is very Urgent Requirment..... for my Project.....

3 Answers  


How to generate 3 digit random number?

3 Answers   IBM, Virtusa,


I want to count the total no of links present in yahoo home page. The script like Set fileSysObject=createobject("Scripting.FileSystemObject") Set linksFileName=fileSysObject.opentextfile("D:\samplelinkfile.txt",2,true) Set linkDescObj=description.Create linkDescObj("micclass").value="Link" Set noOfLinks=browser("yahoo").Page("Yahoo!India").ChildObjects(linkDescObj) For i=0 to noOfLinks.count-1 linkName=noOfLinks(i).getROProperty("name") linksFileName.writeline(linkName) Next linksFileName.close Set fileSysObject=nothing But while running the script it is fail (the object not present in the object repository).How to overcome please tell me the detail steps...for QTP9.30

1 Answers  


Categories