Mention what is select case statement?



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

Post New Answer

More VB Script Interview Questions

Why is error handling required?

1 Answers  


Explain the support of asp for vb script functionality?

1 Answers  


which is the bset training centre to learn automation tools?

2 Answers  


Can any 1 modify the code whr in want to add\rename a excel sheet in qtp?

1 Answers  


Mention how to assign a date value to a variable?

1 Answers  


What is the purpose of folders object of scripting.filesystemobject class in vbscript?

1 Answers  


How to insert snapshot during manual scripting in QTP?

1 Answers  


What is select case statement?

1 Answers  


What is Querystring collection?

0 Answers  


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....

1 Answers  


Explain about the asc function?

1 Answers  


HOW TO OPEN NEW TAB USING VB SCRIPT IN QTP?

1 Answers   TCS,


Categories