write a vb script to generate hello 5 times using do until
loop
Answer Posted / monika
dim ivar
ivar=5
do until ivar=0
msgbox "hello"
ivar=ivar-1
loop
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the properties of regexp object?
How are arrays declared in the vbscript language?
How will you get the last occurrence of one string within another string using vbscript?
Which operator can be used to change the value of the operand or change the state of the condition?
Explain the operator precedence in vb script?
how to set one column as primary key in QTP and fetch values accordingly
Hello Friends , I am the new joinner of this website. I am working with Sapient ,Gurgoan I would like to ask few qurries regarding the QTP Tool of (Testing) Currently working on QTP Tool . I would like to no learn VB Script can u name some Books which i get in market. And a small issue in QTP I had 2 users right i have to login and send the document from this user to second user right. when i am send this doc some contendId number generates right. now i am loging into second user and i have to search for that contentId right i found it now i dont want to accept the document so i had an opption of check out ok i have to click on check out my QTP Code is like this Browser(" ").Page(" ").WebTable(" ").ChildItem (3,5,"Image",0).click Browser(" ").Page(" ").Link("ChecK Out").Click i new this code is perfectly right but when i am run the script i have to click on that particular contentId and click on check out but now the Problem is started the error is the document has been already checked out remeber every time my content id changes means it is the new contentId which is not been used atleast once Please help me out in this issue i am in big trouble
Explain the arrays in vb script?
what is the standards used for writing the script in QTP
Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?
What is the difference between javascript and vbscript?
how to write validation function for date in vb script
What is the use of the formatdatetime function in the vbscript language?
How will you get the smallest subscript of an array in vbscript?
What is select case statement?