What will be the test script in QTP to test a ComboBox
where a user has to select more than two items????

Answer Posted / xxxx

Look at it might be useful for you

Browser("XXXX").page("page1").WebEdit("editbox").set "dsgagfdsa"
value1=Browser("XXXX").page("page1").WebEdit("editbox").GetROProperty("Text")
Browser("XXXX").page("page1").webButton("Button1").click

Browser("XXXX").page("page2").WebList("List1").select value1

Is This Answer Correct ?    3 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi All, we are using QTP Automation Scripts to test SAP. I recorded QTP Automation Scripts in English-based SAP GUI. Now we have to test a French-based SAP sytem and use the same scripts. The QTP scripts are failing when executed on the French-based SAP System due to Object Recognition Issues. What can we do? Do I re-record the scripts in the French-based SAP system?

2314


what are the frame work models of qtp?which frame work you follow in your company?and explain it process?

1947


How to import a test case present in ".xls" file to TD under a Test set?

736


What is the meaning Work bench?

1756


What are the different recording modes and how do they work?

610






What is the XML file architecture ?

1544


.have you ever written compiled module? if yes , tell me about some of the function that you wrote.

1678


you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva

1488


Can we use index on view?

1594


what is meant by Implicit and explicit requirements?

3612


Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar

2794


breef description of batch testing ?

1703


write a script to verify the image path(src property) of the images which are in web pages.

1797


Define object spy ?

556


1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?

979