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
about vb scripting programs this type of all question& answers
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...
regular expression that will recognize a browser as long as its name property starts with mybrowser
How to add actions in driver script to run those actions in QTP?
How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.
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
why do u choose to go for testing why cant for devoloping
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.
Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?
What is sql loader? Explain the files used by sql loader to load file?
How will you get the last occurrence of one string within another string using vbscript?
Mention how to assign a date value to a variable?
what types of bugs will we find out in banking projects for automation testing?
how to automatically update the sql server2005 database records when insert in vb6?
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...