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 |
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 will you get a string with the specified character the specified number of times in vbscript?
How to Import data from a file (file is on the desktop) to the data table
I need help to write a function in vbscript to click on a link. That link looks like a tab. There are 6 tabs. When I click on 1 tab it should show as "on". when I spy the class property is on. But for the one which is not clicked the class property is blank. I have objects created in our custom object repository. Please give me some idea.
How to create MSAcess table foriegn key
When importing an excel file that has several columns each with different number of rows into QTP's Global datatable, how can you count the number of rows in a particular column?
3 Answers Logica CMG, McGraw Hill,
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.
What is the difference between VBScript and JavaScript?
Give examples where vb script can directly run on users system with windows as os?
How to get 120 using 5 zeroes, you can use any operator(+, *, /...) in qtp.
Which loop is used in case of arrays in the vbscript language?
How will you get the natural logarithm of the given number in vbscript?