WinAppDriver does not detect controls/component in LabVIEW executable - windows

I am using WinAppDriver to automate my LabVIEW app UI testing. Inspect.exe can detect top level of active window but couldn't locate element inside the window.
So I couldn't get the text inside the window. Does anyone know how I could get the text?
Thanks!
Mary

As it was said, standard UI automation tools do not work with programs written in LabVIEW. However, there are alternative solutions such as LabVIEW UI Automation Tool. You should check this out, it may be helpful for you.

Related

Does anyone know what this is called on Visual Studio?

I want to figure out what this is called on visual studio.
I am trying to develop a small program that shows different lists depending on the time. This list references a database
I am trying to change the list that appears when i right click the program on the background task. Similar to this example where i right click outlook's background app and receive a list
This (system tray icon and its context menu) dates back at least two decades, and has been extensively covered in Windows programming books a long while ago.
You can still find legacy materials like NotifyIcon in Windows Forms,
https://learn.microsoft.com/en-us/dotnet/desktop/winforms/controls/notifyicon-component-windows-forms?view=netframeworkdesktop-4.8
If you are going to write your own program, make sure you choose a proper UI framework first (Windows Forms is too old but still supporteD), and then use the equivalent control to achieve the same functionalities.

Automated Testing on Outlook Add-in

I currently have a Microsoft Outlook add-in that I would like to run automated testing on. I can't seem to find much out there on automation of Outlook so any advice would help. A quick run down of what the script should do is simply open Outlook, click on the correct tab containing the add-in, open the add-in (will appear in a pop up window), and fill out the necessary fields in the add-in and submit. This should all be done without interfering with the user (no moving the mouse etc).
I've taken a look at AutoIT and it seems to be able to handle what I want to do, but I wanted to see if there was anything out there that would be better suited for this task. Thanks for any help or advice.
For anyone interested in the answer, I'm using a combination of AutoIT and
Selenium to handle my automation. This link was extremely helpful.

Can we number tag items on a window like in speech recognition

I'm using a voice command software and its still in its beta but really good The only thing that I find a big problem is navigation in folders and files
In windows speech recognition software we can number tag the items on the window so we can select one
Is there a vb scripting way to do this.
eg; I give a command and it runs the vbs file which gives numbers to the clickable items on screen. I tell which number then vbs script shows a confirmation box and i give an ok the item is clicked
Is there a way to code this??
Thank you
Not easily with anything, not at all with vbscript. If you want to know more search on UI Automation - it's the accessability API. Note there are security hurdles with this so programs can't use UI Automation to steal info from other programs.

Detecting GUI state and generating user input programmatically in Windows Xp

I am looking for a lightweight solution that would allow me to detect which form/ dialog is open in an application, then emit some keystrokes / mouse moves and clicks. I do not have control over (nor the source-code for) the application.
I am familiar with MacroMaker, also testing products like SQA / Mercury offer similar functionality. The last time I had hands on exposure in this are is late 2004, I welcome any pointers to bring my knowledge up to date.
AutoIt is a scripting environment for Windows with a long history. It's quite easy to use and flexible to do things like detect the open window or dialog, change to another one, type something, etc. I would definitely recommend it.
In case anybody is curious, in the end I decided to use Microsoft UI Automation. Here is nice intro:
http://msdn.microsoft.com/en-us/magazine/cc163288.aspx

In Applescript, how do you debug the Menus and Menu Items of GUI scripting?

I often see all this crazy stuff with Apple scripting, involving telling menus and menu items, and UI elements and all that crazy soft of stuff to do things. I don't mind that it's kind of a crazy way to get things done - as long as it works - but my question is this: How do you debug that stuff? I mean, how do you know what your options are?
I have apple script editor and script debugger, but I'm not sure how to use them to see what the options are. I've tried searching with google but I haven't come up with anything.
I do some web development so I'm used to using Firebug to examine the DOM of a web page, I just assume that there should be something easy and similar to help with Applescript.
Thoughts?
I'm not sure if you're asking how to script the GUI or how to tell which GUI elements are available in an application. If the former, try starting with Graphic User Interface (GUI) Scripting.
If you want to find out what the GUI hierarchy is for an application, check out UI Browser, which will allow you to see the UI elements of an application and provide the information you need to target one of them.

Resources