Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Start application from windows system tray
#1
Not Solved
Sorry,

A small correction of the post.

In fact we can find system tray with application in it and activate it. Just like this,

Code:
For i = 1 To Window("System Tray").WinToolbar("System Tray").GetItemsCount
name = Window("System Tray").WinToolbar("System Tray").GetItem(i)
If InStr(name,i)>0 Then            
Window("System Tray").WinToolbar("System Tray").Press i,micMiddleBtn
etc...

But when there are appears a menu and the spy identify it like
object class
System.Windows.Forms.ContextMenuStrip

native class
WindowsForms10.Window.808.app.0.33c0d9d

and in this menu there are several items that must be selected.
No more details. No objects of this menu are identified, etc...
Does anybody meet with such...
Thank you!!!

<---------------->
old post
<---------------->

Hello!

Could you please, help... The case is following - our application is placed in win system tray. And according to a test case we should test how the app starts by double clicking on the icon.
We have used by bitmap checkpoint but you know sometimes it works not properly...

Thank you!!!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Windows Application Custom Combo box selection change event not firing in uft RamUFT 0 981 02-06-2020, 08:10 AM
Last Post: RamUFT
  System Utility Syntax chita26 1 4,997 11-04-2014, 12:41 PM
Last Post: vinod123
  Delete icon in System tray arpan 2 4,084 07-12-2013, 07:38 PM
Last Post: arpan
Exclamation How to get the system time using QTP qtplearner88 1 11,901 05-30-2012, 05:42 PM
Last Post: ssvali
  QTP11 is not able to record on windows application sowmya 3 3,895 02-24-2012, 09:52 AM
Last Post: sowmya

Forum Jump:


Users browsing this thread: 1 Guest(s)