write a vb script to generate hello 5 times using do until
loop
Answers were Sorted based on User's Feedback
Answer / abhishek mallabadi
dim ivar
ivar=0
do until ivar=5
msgbox "hello"
ivar=ivar+1
loop
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / monika
dim ivar
ivar=0
do
msgbox "hello"
ivar=ivar+1
loop until ivar=5
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / monika
dim ivar
ivar=5
do until ivar=0
msgbox "hello"
ivar=ivar-1
loop
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mudaseer
dim ivar
ivar=5
do until ivar=1
msgbox "hello"
ivar=ivar-1
loop
Is This Answer Correct ? | 0 Yes | 4 No |
can anybody tell vb script code for alphanumeric and special character .which is used in qtp the name text field.
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?
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 about tristate constants?
What is the difference between vbscript and vba?
how to find greatest of n numbers!
How to write VB Script for selecting a particular row in a WebTable?
how to operate webobjects in a webpage using getobject function and then using generic methods?
what does create object actually do when you call it in vbscript?
Mention the rules for using option explicit statement?
What are keywords in the vbscript language?
How to capture a runtime error in vbscript?