Posts: 22
Threads: 10
Joined: Mar 2010
Reputation:
0
03-01-2010, 09:30 PM
I need to doubleclick on an application in the notification area of the windows system. ie... right at the bottom you find clock.. and many other notifications.
i need to open a particular windows application from the notification.
if i use dblclick i can open. But if the co ordinates changes, i cant. how do i find in such a way tht no matter where it is , it will click on that particular application ( double click only) and open up the application.
plz help.. tried many ways but nothing works fine.
Posts: 1,199
Threads: 5
Joined: Nov 2008
Reputation:
0
04-01-2010, 04:56 PM
Great Milind! That was Awesome
Kudos to Dr M.
Posts: 22
Threads: 10
Joined: Mar 2010
Reputation:
0
04-06-2010, 01:18 AM
Thank You Miland.. tht was a great relief... I wish if you could explain. I am new to QTP.
Knowledge is Power. Share it.
Prasanna
Posts: 1,199
Threads: 5
Joined: Nov 2008
Reputation:
0
04-09-2010, 12:22 PM
Hi Prasanna,
what I was trying to do in my reply was to do the right click on notification icon which should open the contect menu options for the application. once you get the menu you can traverse (using arrow keys) through different options and select(using enter key).
in the code I have used device replay to use arrow keys. you may use the sendkeys method too.
what Milind has done is, getting the exact point (x and y co-ordinates) where the notification icon is there. and does the double click on WinToolbar object.
Posts: 22
Threads: 10
Joined: Mar 2010
Reputation:
0
04-12-2010, 08:32 PM
Hi saket,
I was able to click on the icon of the notification area by using Press but this press only clicks or presses only once and the context menu opens up. But again QTP doesn't recognize send keys or arrow. as it doesnot record anything