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 / ankit
the first one will not print any message because the
condition is not true
the second one will print message pass 2 times
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
How will you get a string with the specified character the specified number of times in vbscript?
For a webbased application:- what should be code in expert veiw, for retrieving a single column name "username" from a server and checking whether exported "username" from datatable doesn't exist in server. suppose i have saved in excelsheet a username="gayatri" , which is exported, then checked for whether this username "gayatri" exist in server database or not ? if exist then allow to enter new username, which should be again checked for in loop , or else come out of loop and enter a distinct "username". plz let me have this answer in my id gayatrisahooin@hotmail.com
How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.
What is the use of the formatdatetime function in the vbscript language?
Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.
What are the 2 ways in which a variable can be declared in the vbscript language?
Mention what is the technology used by vb script?
How will you get a combined string from array of string in vbscript?
Explain about scrrun.dll in vbscript?
How regexp.execute method works?
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com
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.
Hi Friends, I have an issue like the describe below: I'm using QTP and I'm testing on SharePoint. As you knoe, SharePoint has a customize function for user, so that, If I add an object Web Table at the first time, that object was recognized by "index" and "html tag", after that, if someone change the display of web part, the "Index" of my object was changed as well and QTP unable to select that Web Table. Can you guide me how to identify or anyway to keep that Web Table object as unique object? Thanks a lot.
Mention how you can call vbscript functions?