Which loop is used in case of arrays in the vbscript language?
No Answer is Posted For this Question
Be the First to Post Answer
How to generate 3 digit random number?
what is the standards used for writing the script in QTP
write a qtp script to count the number of minimized windows
Differentiate javascript and vbscript?
What are string functions in vbscript?
how to delete folder test3,test4 and test5 using vbscript?
How you can call vbscript functions?
Mention what is the use of option explicit in vbscript?
Mention what are the rules to name variable in vbscript?
how to write basic programs in VB Script like addition, multiplication?
write a vb script to display the reverse of vbs
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....