Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Does quicktest professional (qtp) is unicode compatible?

1013


What does mean by Scope of Automation?n How we defined it?

2038


What is keyword view in qtp?

932


What is the qtp testing process?

1037


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?

2070


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);

3996


Where can I find and view run-time data table?

969


What is difference between Recording time object identification and Run time (Execution) time.

1636


How QTP support all types of applications (platforms)?

4535


What is Cross browser testing? Does UFT support it?

1115


Explain different types of checkpoints?

1022


Hai anyone please "Explain about Framework in QTP?"

2165


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)

1974


I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?

2198


How to capture all the data of a webtable, weblist and combolist using QTP?

3337