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
Explain what is loose binding? Why is it not a good practice to use it?
Is vbscript a case-sensitive or case-insensitive?
Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.
How will you format a number in percetage format in vbscript?
What are class variables?
Why is error handling required?
1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)
Which operator is used to concatenate the 2 values in the vbscript language?
i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click
How to find the font in qtp. Scenario:After entering the username and passwd you will be navigate into the "welcome:Username" page.Now I want to extarct font for this message.
Explain the arrays in vb script?
Why to use option explicit in vb script?
How to create a cookie using vbscript?
Which command is used for writing text on a page?
How can constants be declared in the vbscript language?