If there are 10 notepads opened on desktop. how can we
close a particular 2nd notepad using script

Answer Posted / rm

The particular NOTEPAD can be activated using the title
text.

E.g: Window("text:=3-17 defects - Notepad").Activate

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is ODC and GDC?

7593


What are the views available in quicktest professional (qtp)?

786


How to find the path of folder in which the test is saved in qtp?

723


What are the different types of checkpoints?

785


How to open a new test using quicktest professional?

759


Explain hybrid framework with advantages and disadvantages?

751


How to save your test using quicktest professional (qtp)?

827


How can you close the second opened browser?

1054


we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?

1945


what are the challenges you have faced while testing web based application using the automation tools ?

825


How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks

1757


What is the use of running the scripts in Hidden-mode in UFT?

915


assume i have few url link how will i dynamically call then using descriptive programming?

1781


How to customize checkpoints with parameters?

3217


Explain different types of checkpoints?

763