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
Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar
How to add actions in driver script to run those actions in QTP?
What are the data types supported by vbscript?
Can u describe what kind of testing are for OTC derivates by banks.
Mention what are the rules to name variable in vbscript?
give me any information abou vb script books learn quckly
What are keywords in the vbscript language?
What is the use of the date function in the vbscript language?
what is the standards used for writing the script in QTP
How will you get the natural logarithm of the given number in vbscript?
How are values assigned to the variables in the vbscript language?
I am working on QTP, got struck in one place.. In my application depending upon configuration WebEdit count is increasing/ decreasing.. how to get these webedits..
How to write VB script for login module?
How are comments handled in the vbscript language?
when we use filter funtiom invb script(QTP)