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

What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?

795


How to use actions in qtp ?

778


What is Distributed testing? How does UFT support it?

816


If I change the object name in one action will it be updated in all the actions? Or not?

834


tell me QTP standards ?plz

1701


WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT

1948


how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?

1532


which type of testing process are you following in ur company? how to recognize a qtp page?

1592


What are the various types of Actions in UFT?

804


i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer

3788


hou can we use vb script in qtp could u tell me breafly

1950


I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me

1659


Explain how qtp identifies object?

834


How you calling actions in qtp?

835


What is a reusable action?

754