write script for "dropdown button having how many words? for ex.SELECT CITY is dropdown name.. find out how many cities in that?

Answer Posted / sandhya

Browser().page().weblist().getroproperty("items count")
here we use items count property to find the count in a drop
down list

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi.. I want to do parametrization for selecting perticular flighr say XYZ by using local table: criteria: 1.If flight is available msgbox "Flight is available" and then select flight from flight table and click to ok button after that as enter username and ticket no and then stop 2. otherwise msgbox " Flight is not available" and stop Please help me out ..and let me know your responses on dipak.bachhav@gmail.com Regard, Dipak

1633


how will you load the test cases in ddt?

1598


how do you parameterize search button from the website? the page is a single winobject and i have made a virtual object button of search button but search box can't be converted into a winedit and if we try to convert it into winedit the value we enter in a searchbox appears as numbers in the script so we arent able to parameterize.help!!!

1739


In qtp, explain what is keyword driven automation framework?

619


What are the check points can be inserted without recording?

600






how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)

1435


how to disable the pop ups through QTP using a script

1731


What are the recording modes in qtp?

584


Explain how Does Run time data (Parameterization) is handled in QTP?

559


What are the key elements available in test result window?

627


How to record a qtp script ?

562


How does quicktest professional (qtp) identifies the object in the application?

583


Explain the new feature of UFT regarding the export of test results?

579


give me an example where u used good judgement and logic in solving a problem

3362


How would you directly trigger javascript in a test?

1473