when you use For Loop, While..do, do..while? at what
situations which loop will use.
Answer Posted / 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 View All Answers
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?
How to open browser in vb script?
When to use function procedures and what are its characteristics?
Mention what is byref and byval parameters in vbscript?
How will you get the exponent of the given number in vbscript?
How are comments handled in the vbscript language?
I need to get some data from data base and store this
(retrieved) data in a excel sheet using VB script in QTP9.0
I have created connection for data base
I have created as excels sheet by using
Set XL=CreateObject("Excel.Application")
XLworksheet.cells(1,1).value= rs.fields.item("<
how to write validation function for date in vb script
Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?
Which operator can be used to check if two numbers are equal or not in vbscript?
Which function allows you to instantiate an object given its programmatic identifier or progid?
1. How do declare public variable in vb scripts?
How to add actions in driver script to run those actions in QTP?
Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.
Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?