If there are some browsers opened and I don't how many browsers are open, Now I want to close all the browsers that I don't know how many are opened.
What would be Descriptive programming for this in QTP using VB Script..???
Please send your answers.

Answer Posted / dinesh1433

systemutil.CloseProcessbyName("iexplore.exe"

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..

1275


Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?

2134


what is run action?

1428


What is qtpro? What is a quick test professional?

577


What are the disadvantages of recording test cases in qtp?

589






How is a Step generator used in UFT?

646


Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?

3267


what are the utilities and drivers

1834


What is checkpoints for quicktest professional?

540


Can any one tell me how to write a script for selecting open option in File menu of A word document.here you have to add objects to OR.try like that and give me the ans.i asked this question to so many but no one knows.if any one know the answer plz let me know

1395


what is profile tool?

1597


Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?

1480


what is the latest version of QTP? Main difference between 9.2 and 10 version

1536


What is the Difference between test object and run time object?

599


What are the different kinds of test steps?

561