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 |
Diff between web table ,datatable and data base (QTP)
how to find number of characters(letter a) in the sentence Rain Rain Go away
Can anyone help me in write coding to get this pattern * ** *** ****
write a qtp script to count the number of minimized windows
a;;b;c;;;d in this string output is abcd will come how can we do that in vbscript in QTP testing?
How will you get the smallest subscript of an array in vbscript?
compare the string without using stringcomp function?
write a vb script to generate the following pattern ***** **** *** ** *
What is the differene between QTP 8.2 and QTP 9.0 and QTP 9.1,Pls give me answer ASAP.
What is the scope of a constant declared using public?
Explain few date functions in vbscript?
Mention what is the main difference between function and sub-procedure?