Write the code for select the 5 values from drop down list.
drop down list having the 10 values.

Answer Posted / deven

Set WShShell = CreateObject("WScript.shell")

WShShell.SendKeys "{Down}", True
WShShell.SendKeys "{Down}", True
WShShell.SendKeys "{Down}", True
WShShell.SendKeys "{Down}", True
WShShell.SendKeys "{Down}", True

WShShell.SendKeys "{Enter}"

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How did you use regular expressions in QTP and also in WR?

2411


I am Facing Issues with learing datepicker 1)when i first learn datepicker as current system date . 2)if i wanna runtime datepicker value it gives error

2586


Does quicktest professional (qtp) is unicode compatible?

803


I had installed QTP 9.2. It is working fine but whenever I open QTP, it is trying to reinstall the below-mentioned files again and again "QTP92PS82UPGRADE.exe", "recogn.dll". If anybody has these files, please provide those files in this site or you can send that files to my mail id also (lravi4u@yahoo.com). If you don't know where the files will be in the QTP, search in the QTP software CD or path of QTP program installed (C:\Program Files\Mercury Interactive\QuickTest Professional)

1737


What does mean by Scope of Automation?n How we defined it?

1797


In the website, the protocol has been changed http: to https what you will do? Tell me your approach?

818


i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com

1678


Hello friends..... On which areas of an application we can not test with QTP

1864


How will you report the bug and explain the defect tracking sheet you handled?

2827


What is active screen?

766


Generic function to search for the unique link in webtable and click on it

2763


Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....

1717


Explain advantages and disadvantages kdf?

731


What is quicktest professional window?

781


What are parameterizing tests?

792