write a vb script to generate the following pattern
*****
****
***
**
*
Answer Posted / mudaseer
for i=5 to 1 step -1
for j=i to 1 step -1
vstr=vstr & "*" & " "
next
vstr=vstr & vbnewline
next
msgbox vstr
| Is This Answer Correct ? | 30 Yes | 6 No |
Post New Answer View All Answers
What purpose does ‘on error resume next’ serves?
What is the output of a + b in vbscript if a = 5 and b = 10?
How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.
Explain a few date functions in vbscript
In the Web page we have a table link, if we click on that link all the contents under that link will be sorted (asscending/Descending). Now i want to check in which order the list is ? for that i need to get the data in to some var How can i get that cells data?
When are redim statement and preserve keyword used in the vbscript language?
how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.
what is the use of QCUtil? explain with one example?
Explain the adodb.stream class?
How can you fetch the value of a cookie?
i am having some basic knowledge in c and VB 6.0. i qtp i want to know how to write the codings. by recording it is generating lot of codings. for example i want to test the text box. senerio is text box should not accept alphabets if it accept alphabets we should return fail status if it get number we should return pass status. how to write coding in vb script please help me
1) How can we use VB script in testing the application? 2) What all are the things(Software application to be installed in PC) we need to learn VBscript?
i have a problem with this error(this error related edit and
delete button,when i click this button in datagrid..i will
get this error)"Invalid postback or callback argument.
Event validation is enabled using
write a program to display configuration of a local system with the help of vb script.
Which function is used to perform string comparison?