write a vb script to display
*****
*****
*****
*****
*****
Answer Posted / mudaseer
for i=1 to 5 step 1
for j=1 to 5 step 1
vstr=vstr & "*" & " "
next
vstr=vstr & vbnewline
next
msgbox vstr
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What are the 2 ways in which a variable can be declared in the vbscript language?
I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?
Which operator can be used to check if two numbers are equal or not in vbscript?
How to find the font in qtp. Scenario:After entering the username and passwd you will be navigate into the "welcome:Username" page.Now I want to extarct font for this message.
How are comments handled in the vbscript language?
How are values assigned to string type and numeric type variables?
Explain about tristate constants?
write a function to read the items from combobox of Flight reservation & save in excel (QTP)??
1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)
How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.
What is the difference between vbscript and vba?
how to automatically update the sql server2005 database records when insert in vb6?
i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click
I need to get some data from data base and store this
(retrieved) data in a excel sheet using VB script in QTP9.0
I have created connection for data base
I have created as excels sheet by using
Set XL=CreateObject("Excel.Application")
XLworksheet.cells(1,1).value= rs.fields.item("<
Is VB Script Case sensitive or Case insensitive?