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

Answer Posted / sri satya

Hi Radha,

If you want to close the second Notepad, you can use the
below script:
Window("Notepad_2").Close

or by using Descriptive Programming you can use:
Window("text:=Untitled - Notepad","Location:=1").close


Here the Location value keeps changing.

Pls try it...

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.

1780


WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT

1860


What is standalone database?

1910


Print the Prime numbers in below format only up to 20(Need commas also) 1,2,3,5,7,9,11,13,17,19

1361


How to replay a script in qtp?

775






hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)

1553


why text area checkpoints cannot used for web applications

2046


Tell me about your project? please help me how to tell about insurance project

1720


What is quick test pro? What is a quick test professional?

715


How do you compare the structure of 2 tables in database and check whether they are similar using qtp.

1623


What is keyword view in qtp?

682


Diff b/w test scenario's and test Procedures?

1795


Which recording modes need more memory?

732


How will you compare keyword and expert view?

685


How to add synchronisation points in qtp?

713