write a vbscript for traffic signal
Answer / 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 |
How will you get the last occurrence of one string within another string using vbscript?
1)How to test whether items in a weblist are in alphabetical order or not?
How can you test font size, type and color using QTP tool?
What is the output of a + b in vbscript if a = 5 and b = 10?
How will you get the octal value of the given number in vbscript?
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?
write script to open Gmail.com, and to write script for entering username and password and show whether the result as pass or fail
How will you get the largest subscript of an array in vbscript?
How to create pull down menu box using vb script
can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.
hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?
What is vbscript procedures?