Mention what is select case statement?
Answer / Ramesh Chanda
Select Case statement in VBScript is used to perform conditional tests and execute different blocks of code based on the specified conditions. It's similar to if-else constructs, but more readable and easier to manage complex conditions.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why is error handling required?
Explain the support of asp for vb script functionality?
which is the bset training centre to learn automation tools?
Can any 1 modify the code whr in want to add\rename a excel sheet in qtp?
Mention how to assign a date value to a variable?
What is the purpose of folders object of scripting.filesystemobject class in vbscript?
How to insert snapshot during manual scripting in QTP?
What is select case statement?
What is Querystring collection?
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 about the asc function?
HOW TO OPEN NEW TAB USING VB SCRIPT IN QTP?