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
How will you release the memory acquired by an array variable in vbscript?
How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.
how to increasing the numbers in a given text box please write a vb script
How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.
How can the spaces from the string be removed?
Does VB/Win make standalone .EXE files?
write a function to read the items from combobox of Flight reservation & save in excel (QTP)??
What are the data types supported by vbscript?
How should i Create Email invite with server-side Coding?
What is the purpose of on error resume next statement?
Write a Script for ATM in QTP
Explain the constants in vbscript?
What is loose binding? Why is it not a good practice to use it?
what is the differance between BYVAL,BYREF?
How can you create a file object to work with the files in the vbscript language?