when you use For Loop, While..do, do..while? at what
situations which loop will use.



when you use For Loop, While..do, do..while? at what situations which loop will use...

Answer / satyanj

"For" loop can be used when the range of the iteration is
known. For ex: For i = 1 to 100....
"While..do" or "do..While" can be used when, the scenario
should satisfy the condition.
For Ex: While (<Condition>)...

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More VB Script Interview Questions

how does vb script help in web page designing? explain with example.

0 Answers  


Write a program to resize an array of 5 elements to 4 elements and display all the elements.

1 Answers  


how to display all the links in one page using vb script in qtp.

1 Answers   DST Global Solutions,


write a function to read the items from combobox of Flight reservation & save in excel (QTP)??

0 Answers  


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?

0 Answers  


which is the bset training centre to learn automation tools?

2 Answers  


write a vb script to display the size of the folder,date created and name of the folder

1 Answers  


What are the differences between sub procedures and function procedures?

0 Answers  


Why to add checkpoint in QTP What's the purpose of checkpoints & how to add it

2 Answers  


1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.

0 Answers  


this q asked in applabs, q is: QTP should open google.com page and enter "qtp" in one edit(search) box and click search and should open google.com again and enter "job" in edit(search) box and click on search. I tried this but getting error "Edit(search) box matches more than one object", could anyone this question plz..

1 Answers   AppLabs,


Which date function is used in the vbscript language to find the difference between the 2 dates?

0 Answers  


Categories