write a vb script to print even numbers from 1-50?
Answer Posted / ravi
dim i
for i=1 t0 50
if (i mod 2=0) then
msgbox i&"is even number"
else
msgbox i&"is odd number"
end if
next
Is This Answer Correct ? | 64 Yes | 31 No |
Post New Answer View All Answers
Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.
What is Curd testing?
How to create scenario selector
What are the types of object repositories? Which one is you are using?
What is test object model in quicktest professional (qtp)?
Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter
While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?
Explain the types of object repository?
what are all the fileds present in object repository?
what is output value in QTP and how it can be used in automation testing
Can we record using all the modes in a single script? Explanation with example is appreciated
What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?
In qtp, explain what is crypt object
HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com
How to save your test using quicktest professional (qtp)?