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 delete excel file in qtp?
Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..
what is error and fault in terms of software quality?
I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com
How qtp recognizes the object?
am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)
What is the file extension of the code file and object repository file in QTP?
I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=", Second button "html id:=btnSave "outerhtml:=", Third button "html id:=", outerhtml:=",
What is the use of sendkeys and what are send keys
How do you synchronization point through DP?
Explain QTP using different development techniques ?
This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10
What is meant by a Check Point in UFT? Also, explain the applicable Check Points.
What are the types of object repository?
How to remove the associated function library?