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
Does quicktest professional (qtp) is unicode compatible?
What does mean by Scope of Automation?n How we defined it?
What is keyword view in qtp?
What is the qtp testing process?
Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?
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);
Where can I find and view run-time data table?
What is difference between Recording time object identification and Run time (Execution) time.
How QTP support all types of applications (platforms)?
What is Cross browser testing? Does UFT support it?
Explain different types of checkpoints?
Hai anyone please "Explain about Framework in QTP?"
How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)
I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?
How to capture all the data of a webtable, weblist and combolist using QTP?