Answer Posted / manjunathareddy
Dim Red
Dim Green
Dim Orange
Dim Traffic
Traffic=InputBox("1.Red"&Vbnewline&"2.Green"&vbnewline&"3.Orange","Traffic
Signal")
Select Case Traffic
Case 1
Msgbox "Stop"
Case 2
Msgbox "Move"
Case 3
Msgbox "Ready to Move"
Case Else
Msgbox "Invalid Selection"
End Select
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
hi all, i had a question, that how to find out hiding a coloumn in a table i had a table having the following column names NAME DESCRIPTION CREATED TIME CREATED USER if i right clicked on a NAME column it will displays a menu having the same column names in a list like NAME DESCRIPTION CREATED TIME CREATED USER with check boxes.if i unched any check box, that column name should not be appear in the main table column names could anyone please solve this problem?
how to increase the values in text box in a given text box increament by two values by clicking on button
What is dictionary object in vbscript? Explain?
What are the different types of operators and their order of precedence?
what is the features of visual basic?
How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.
What are events in the vbscript language?
What is select case statement?
i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click
wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......
What is the extension of the vbscript file?
What are the uses of vb script?
Which command is used for writing text on a page?
Explain about the functionality of vb script?
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...