Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to create dropdown menu in QTP
#2
Solved: 11 Years, 4 Months ago
Well i can think of using a simple inputbox

choice=inputbox ("Enter your choice:"&vbNewLine& " Press 1 for Addition" &vbNewLine& " 2 for Subtraction" &vbNewLine& " 3 for Multiplication" &vbNewLine& " 4 for Division")

Select Case choice
Case "1":'call addition function
Case "2":call sub function
Case "3":call mul function
Case "4":call div function
Case else:msgbox "invalid choice"
End Select
Reply


Messages In This Thread
RE: How to create dropdown menu in QTP - by rajpes - 07-04-2011, 05:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Different Type of Dropdown Selector zunebuggy 6 3,430 05-01-2018, 06:46 PM
Last Post: zunebuggy
  cannot create java virtual machine on QTP 12.02 version richa5685 0 1,975 02-23-2016, 11:18 AM
Last Post: richa5685
  Not able to click text inside the grid dropdown szkapoo 6 4,656 12-20-2014, 09:43 PM
Last Post: supputuri
  Issue related to dropdown selection(Please help urgent) excellentpawan123 2 4,293 05-31-2014, 12:00 PM
Last Post: excellentpawan123
  Handling .NET framework menu in webpage using QTP 10 vishnu1067 0 2,343 05-15-2014, 05:30 PM
Last Post: vishnu1067

Forum Jump:


Users browsing this thread: 1 Guest(s)