write a vb script to generate hello 5 times using do until
loop

Answer Posted / monika

dim ivar
ivar=0
do
msgbox "hello"
ivar=ivar+1
loop until ivar=5

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

2020


what is diff between static and dynaic arrys?

1580


How regexp.execute method works?

581


How to replace junk code recorded by QTP with a mall function.

1637


A folder is there inside no of textfiles are avilable. How do count the textfiles. Normally folder means we are using subfolder methods but textfiles is not working for subfolder methods and how do get file name also.

1500






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?

3549


Is vbscript a case-sensitive or case-insensitive?

747


Anyone have qtp11.0 crack?

2376


How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.

2565


Mention the rules for using option explicit statement?

474


I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.

1778


How to create a function in vbscript?

574


What is the scope of a constant declared using public?

545


How to write VB script for login module?

2669


Which in-built function is used to format the number in the vbscript language?

569