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 |
I am running a windows based application.While running the script on QTP ,The Application pop-up an Error Message as "object Disabled" in two different scenarios Scenario 1-->The Application pop-up up a Message for Max Session Reached(as the application is set to hold 2 session and if if crosses the pre-defined limit then the error message pop-up) Scenario 2-->When Network connectivity is disabled the Application screen gets greyed out in colour with no operation possible. Now through Exception handling features in QTP ,we need to do the following For Scenarion 1-->Through Exception handling we need to just accept the Message pop-up in the Application and and resume with the call function as is for Scenario 2--> Through Exception Handling featutes on QTP we need to shut down the client , restart the client and resume the call functions as it is Note: The Application returns an Error Message as "object disabled" in both the cases i.e for pop-up message and when the Apllication getting greyed out due to Network failure how can we enhance the script in such a way that for the same error message retured by the application in two different and how to handle them????
why variable name should not exceed 255 characters?
did any one attended interview in applabs if you had gone through plz tell me the procedure
how to check whether link is disabled in QTP??
write a qtp script to count the number of minimized windows
What is the use of the instr function?
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
Can anyone help me in write coding to get this pattern * ** *** ****
int a=4857 i need output as 7584.without using any inbuild function?
Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji
How can you destroy an object in vbscript?
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?