How can i select multiple values from drop down list using
vb script in qtp?
and wt is the script for clicking msg box box automatically
with a specific time.

Thanks in advance...Kalyani.

Answer Posted / bhargavi

Set x =CreateObject(”WScript.Shell”)
x.Popup “message content”, 5, “msg header”, (0+48)

the above code will close the msgbox after 5sec

but where as selecting multiple items in a list box i never
tried it

Is This Answer Correct ?    5 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is quicktest professional?

768


How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")

1632


I have some real time based question.. 1.what are the challenges you have faced in your current project. 2.what are the bugs you found in your current project. 3.what are the strategies you follow to convert manual test cases into automation test cases. 4.how QTP identify two different browsers. 5. When you create a function library and share object repository what are the problems you have faced 6. How to solve the tool tip problem 7.what are the interesting bug you have found in your current project. 8.what is your daily work as a automation test engg. 9. how to create a weekly status report. 10. how many test cases you write,review and execute per day. 11.what are the uses of SQL in automation. 12.How to retrieve the data in html through vb script. 13.If application is very slow how to test the application in qtp.

3799


How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?

2085


I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?

885


What are the methods of the TextStream object that are used for reading from a text file?

1902


hi all here i have tab named "Workbench" By clicking on "workbench" tab.it displays 4 tabs like below workbench common cargo commercial charter "common" tab have 10tabs inside,"cargo" tab also haveing 15 tabs inside and remaining two tabs also having few tabs inside. when clicked on "common" tab.it displaying the script like tab("workbench").select"common" if i clicked on "cargo".it displaying the script like tab"workbench_2").select"cargo" if i clicked on "commercial".it displaying the script like tab"workbench_3").select"commercial" if i clicked on "charter".it displaying the script like tab"workbench_4").select"charter" I have used a "FOR LOOP" for common,commercial,cargo,charter tabs.it was stopped at second tab SO, CAN I RECOGNIZE "WORKBENCH_2,_3,_4" AS A SINGLE VARIABLE if not, can anyone plese help me to solve this

1758


How to use parameterization in qtp?

837


What is qtpro? What is quick test pro?

819


Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)

1613


describe some problems that u had with automating testing tool?

1599


how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods

1639


supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?

1561


hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company

1676


In what occasion we can specify global sheet and action sheet?

774