write a vb script to display apple that is 1st a should be
displayed then ap then app then appl then apple
Answer Posted / mudaseer
above answer is almost correct but there is one mistake
val="apple"
For i=1 to len(val)
val1=mid(val,1,i)
msgbox val1
Next
instead of msgbox he has used print
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
How to Import data from a file (file is on the desktop) to the data table
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?
Mention how you can call vbscript functions?
What methods are used to create text files and open text files in the vbscript language?
did any one attended interview in applabs if you had gone through plz tell me the procedure
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?
what is the differance between BYVAL,BYREF?
Mention how to assign a date value to a variable?
Explain about operator precedence in vb script?
Mention what is variant in vbscript?
what is the standards used for writing the script in QTP
Explain sga memory structures?
Explain about scrrun.dll?
Which in-built function is used to format the number in the vbscript language?
Explain the asc function?