write a vb script to print even numbers from 1-50?
Answer Posted / pradeep
For i=1 to i=50
if (i mod 2=0)then
messagebox i&"is even number"
else
messagebox i&"is odd number"
endif
next
| Is This Answer Correct ? | 23 Yes | 36 No |
Post New Answer View All Answers
What is checkpoints for quicktest professional?
What is accessibility check point?
Explain the concept of object repository and how qtp recognises objects?
I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?
How can you identify the browser and its information using QTP script?
Create flight reservation login descriptive programing (Condition: Remove the value and substitute with a variable, and then call the validation from Excel) Plz help me....... very urgent.........
can any one say that where we can download the QTP trail version ??????????
How would you export a script from one pc to another in qtp?
What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);
What is qtpro? What is a quick test professional?
How did you use regular expressions in QTP and also in WR?
I am a new tester that needs to create an automatic script involving security questions. On a webpage I need to select a security question(which are random) from a drop down menu, and then input the answer as the last word from the security question. I have the script set-up to automatically select the first security question from the drop down. The problem I am having is trying to insert the security answer. How do I insert the security answer based on the selection from the security question?
How many types of actions are there in quicktest professional?
what is the difference between built-i function and In-built function?
How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?