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
How you can find length of array in qtp?
What is contained in the object repository?
How do I get the QTP scripts result in xml format by using vb script function?
How to find array size in qtp?
what are the mandatory properties for a tex boxc (scenario?)
What is parameter in qtp?
What is QTP and the use of QTP in TD?
Explain quicktest professional testing process?
Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers
Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B
Can we create user defined functions in qtp?
when u script reveiwing in which area u more concentrates?
What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?
What is regular expression?
What are the recording modes in wave event?