write a vb script to print even numbers from 1-50?
Answer Posted / smitha
for i = 1 to 50
if i mod 2 = 0 Then
evenStr = evenstr & i & " , "
end if
Next
MsgBox evenStr
| Is This Answer Correct ? | 34 Yes | 20 No |
Post New Answer View All Answers
How many types of recording modes in qtp? Which will be used when?
What are the features supported by UFT?
How to find Operating system information using QTP script?
Where you get the run time data table?
Explain the types of properties that quick test learns while recording?
For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?
What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.
Explain about business process component? types and usage?
Explain the differences between table and db checkpoints?
Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks
How to use conditional loops in qtp ?
How to add verification steps to tests?
Where we can use the analog mode and where we can use the low – level mode?
how interviews will be on QTP?
If object is not recognized by qtp but the object is standard object what is your approach?