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
what is the standards used for writing the script in QTP
What is the purpose of the err object in the vbscript language?
Explain about adodb.stream class?
Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?
Explain about the support of asp for vb script functionality?
Can anyone send me a vb script function for verifying the functionality of active links on a web page
How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.
How you can call vbscript functions?
What is variant in vb script?
1) How can we use VB script in testing the application? 2) What all are the things(Software application to be installed in PC) we need to learn VBscript?
Explain the tristate constants in vbscript?
What is dictionary object in vbscript? Explain?
What is vbscript language used for and which earlier language is it modeled upon?
How to Enter Values on the Command promt using VB script
Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)