Mention what is the use of option explicit in vbscript?
No Answer is Posted For this Question
Be the First to Post Answer
what is the object hyrarchy in QTP for a web based application
write a vbscrpit to swap values
Mention how you can call vbscript functions?
When to use function procedures and what are its characteristics?
Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.
how to set one column as primary key in QTP and fetch values accordingly
How will you check that a variable is an array in vbscript?
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....
how to write validation function for date in vb script
What is vbscript?
How do you write an SQL insert statement?
Explain the .wsf files?