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...

what is diff b/n these 2 programs
1) for i=5 to 1 step 2
msgbox "pass"
next
2_) for i=5 to 1 step -2
msgbox "pass"
next

Answer Posted / veer

From the first one will not display any message box because the condition is not true but it shows result as "done" in the result window .

From the second one will display a message box "pass" 3 times

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

about vb scripting programs this type of all question& answers

2095


Hi Friends my Question is very simple,in Manual testing when we click on a hyper link it directs us to the relavent page or it re-directs us to the current page,so there we can easily write testcase but same thing if we do in automation script using QTP & need to generate report using Reporter.report event how we will do it?thanks in advance...

2034


regular expression that will recognize a browser as long as its name property starts with mybrowser

2176


How to add actions in driver script to run those actions in QTP?

1891


How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.

2968


Hi, Can anyone please send me vb script examples to practice vb and also material to learn vb scripting in QTP? my email id : hareen_11@yahoo.com

2232


why do u choose to go for testing why cant for devoloping

2014


if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.

1800


Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?

3407


What is sql loader? Explain the files used by sql loader to load file?

1086


How will you get the last occurrence of one string within another string using vbscript?

1121


Mention how to assign a date value to a variable?

1019


what types of bugs will we find out in banking projects for automation testing?

2165


how to automatically update the sql server2005 database records when insert in vb6?

1884


How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...

3379