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 are lbound and ubound in the vbscript language?
Is vbscript language a case-sensitive language and what does it mean?
Consider there are objects in a webapp which are identified by QTP. Suppose you know only the logical name of a object(absolutely nothing else about it). Which approach will you take to find the "micClass" of the object(You can't use Object Spy, or can't add the object in repository)?
How to add actions in driver script to run those actions in QTP?
Write a Fucntion to close all Opened browser expect desired one?
What is event handling in vbscript?
Why to add checkpoint in QTP What's the purpose of checkpoints & how to add it
what is diff between static and dynaic arrys?
Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).
How to create a function in vbscript?
How can you destroy an object in vbscript?
Explain about tristate constants?