write a vb script to generate the following pattern
*****
****
***
**
*
Answer Posted / prathyusha
For i=5 To 1 Step-1
For j=1 To i
v=v&"*"
Next
n=n&vbCrLf&v
v=""
next
MsgBox n
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
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?
What is select case statement?
How are arrays declared in the vbscript language?
How will you convert a string to lower case string using vbscript?
How are values assigned to string type and numeric type variables?
Which data type/types are supported by vbscript language and what are their specialties?
What is difference between vbscript and vba?
Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.
Explain about vb script?
How will you reverse a string in vbscript?
What are keywords in the vbscript language?
What is dictionary object in vbscript? Explain?
wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......
write any ttest cases using check points and parameterization
What is byref and byval parameters in vbscript?