If there are 10 notepads opened on desktop. how can we
close a particular 2nd notepad using script
Answers were Sorted based on User's Feedback
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 |
Answer / 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 |
CreationTime is best for it
While Browser("CreationTime:=0").Exist
Browser("CreationTime:=0").Close
Wend
http://motevich.blogspot.in/2008/06/qtp-descriptive-programming-browsers.html
Is This Answer Correct ? | 1 Yes | 2 No |
can any one explain with an example how to test Web application using qtp
can objects recogonised without repository?
1. What is diffrence between Analog Recording And Lomlevel Recording ?
hai, i completed my b.tech in 2010 with 62.3%. i having knowledge on manual testing and Qtp. i want Relavent experience in testing.watever may be d salary i dont bother..I just want to gain knowledge. i dont have good communication skills.
how do find current links in webpage for ex: in yahoowebsite today mainpage is having 50 links and next day same page is having 60 links. if i run same programe it should display total links in webpage ?
What is the difference between rational rose and QTP?
In Login two edit box which object class property value is same, How to enter into 2nd edit box in qtp by vbscript.
How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")
What is the difference between wait and synchronization point?
results.xls file is automatically generated while running the script in QTP.But it is showing error to open the file
How good are you in writing VBscript code for your application? Can you completely write VBscrit for your project with out using recording mode in QTP?
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)