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

How can i check items sorted or not in a weblist ? Give me the script for this...

1580


How to integrate the qualitycenter with qtp

1776


Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in

1603


what is the difference between data driver & data driven and driver script?

2143


What is the extension of the recovery scenario file in qtp?

548






If you are testing a web application then what will you test in that application?

1544


Can we run test with out adding object in object repository? How it is possible?

550


How will you check a web application for broken links using qtp?

554


Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...

1796


Write a script to customize the test results in PDF and HTML format.

2086


HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com

1540


Is it possible to merge two object repository files in qtp?

624


Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?

608


I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian

1574


What is quicktest professional (qtp)?

567