write a vb script to display
*****
*****
*****
*****
*****
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / eswar
cnt =0
x = "*"
For i=1 to 25
y=y&x
cnt = cnt+1
If cnt = 5 Then
cnt = 0
y = y&" "
End If
Next
MsgBox y
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / prathyusha
for i=1 to 5
for j=1 to 5
v=v&"*"
next
n=n&vbcrlf&v
next
msgbox n
Is This Answer Correct ? | 0 Yes | 0 No |
how to genarate a random numbers in vb?
Have any one know about Test Complete 6, please let me know. If any one have good material regarding Test Complete 6, Please send to my mail id: cns.praveen@gmail.com
What is the purpose of regexp object in vbscript?
How are values assigned to the variables in the vbscript language?
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)
Why do we use Option Explicit?
How will you get the natural logarithm of the given number in vbscript?
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?
accept a string & display whether a is present or not
Hi, Can anyone please send me vb script examples to practice vb and also material to learn vb scripting in QTP? my email id : hareen_11@yahoo.com
* ** *** Please write a code to get output like above diagram? ple explain as it how the code works?
write a function to read the items from combobox of Flight reservation & save in excel (QTP)??