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 |
What is the output of a + b in vbscript if a = 5 and b = 10?
How to pass argument by reference to a function in vbscript?
Write a Script for ATM in QTP
How do display output message without using msgbox function?
How will you get the octal value of the given number in vbscript?
HOW TO OPEN NEW TAB USING VB SCRIPT IN QTP?
How to map test cases with Automation script? Please explain in details.With example Thanks for your co-operation(In Advance)
Write a test case using Test if the images,a particular test exists,check if the page links match,page response is within a certain range,parameterization of the test,the test should comprise of actions,the test should use a custom function,the test should use global repository
How can you fetch the value of a cookie?
When are redim statement and preserve keyword used in the vbscript language?
w r p syed then output was deys and click eysd and click ysde and click sdey and click deys and click eysd............
Which constant is used for print and display functions and works as same as pressing enter key?