Explain about constants in vb script?
Answer / Shailesh Maheshwari
Constants in VBScript are named storage areas for values that do not change during the execution of a script. They are declared using the Const keyword and have a fixed value throughout the script. Once defined, a constant cannot be changed.
| Is This Answer Correct ? | 0 Yes | 0 No |
hey please tell me how to retriev data from excel sheet which puts the login name and password in the application? plz send me the code..please help me
write a function to read the items from combobox of Flight reservation & save in excel (QTP)??
what is the use of QCUtil? explain with one example?
Hi Friends, I am facing some issues with If,else condition,i.e. i am working on some web page for ex:gmail page.now if i want to check if username is incorrect or already exist,i want to display error message in my test report,for this i am using a simple code first,i.e. If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "Shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If But still i am getting a syntax error If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If I don't feel any thing wrong in this syntax but i don't understand why it shows such error,i am confused what went wrong,please help me out & do the favor,thanks a lot....
Explain the arrays in vb script?
hi Set myobj=Description.Create() myobj("type").value="submit" myobj("name").value="google search" myobj("html tag").value="button" browser("title:=google").page("title:=google").webButton (myobj).Click i was running above code in one weak back it was working fine i got result,again i opened after few days ,again i was trying to run the code it shows run time error in last line of my code ,why ?pls answer my question?
How to create a cookie using vbscript?
What is dictionary object in vbscript? Explain?
write a Vb script to find a whther a selected drive exits.
accept a string & display whether a is present or not
write a vb script to display the reverse of vbs
How to write functions and sub in vb script?