Quantcast
Channel: Windows Desktop Development for Accessibility and Automation forum
Viewing all 585 articles
Browse latest View live

Cortana in Windows 9

$
0
0

I have purchased the Guile 3d virtual assistant program (using current AI programming) and have enjoyed it for the most part but it's somewhat limited without using supplementary software. I was particularly attracted by the avatar part of it. However, the avatar is fairly limited in movement.

https://guile3d.com/

I'm really hoping that when Cortana comes out it will tie in to Kinect for Windows and have an avatar. I also think it will be helpful for the system to have improved speech to text capabilities. Certainly this should be on a much improved scale over what is included in Windows itself. If Microsoft does this well it could be a knockout punch for any other operating system available today.

Although I'm not a programmer, I was curious what people in the field think the chances are that this could happen.

Thanks.



Need a direction on start developing text to speech using .net in visual studio, thank you.

$
0
0

My current tool is Visual Studio 2008.

I want to develop something windows application to convert text to human language (Chinese).

It would be appreciated if someone can point me a direction. Thanks in advance.

Testing WPF application using UI automation - dynamic elemets

$
0
0

Hi,

Our team have an WPF application with lots of dynamic elements that are created , the id is not slimier in each creation.

Each elements is created as new, not all creation are deterministic.

How can I approach this kind of testing ?

Can any one describe how to make compression with UI ?

Any suggestion will be helpful.

Thanks


ClientSettings class not found in UIAComWrapper in VS 2013

$
0
0

Hi,

In VS 2012, we referred "UIAutomationClient" and "UIAutomationTypes" dlls. We want to migrate our project to VS 2013. 

We have updated our project to use "UIAComWrapper" instead of UIAutomationClient and UIAutomationTypes.  But, our project compilation is failing because there is no "ClientSettings.RegisterClientSideProviderAssembly" in UIAComWrapper.

We want to know where can the class ClientSettings be found other than UIAutomationClient?  We do not want to use UIAutomationClient or UIAutomationTypes because we are getting other compilation errors like "System.Windows.Automation.AutomationElement is present in both UIAutomationClient or UIAComWrapper".

Any help is highly appreciated.

Regards,

Rajendar

AutomationElement.FromPoint takes long time on some occasions

$
0
0

I noticed that in some cases the AutomationElement.FromPoint method takes long time to return. I measured it and it looks like it is almost 10 times slower for some controls.

The controls I was able to reproduce this behavior on are the sub-menus in mRemoteNG (http://www.mremoteng.org/). I couldn't notice anything special about those controls..

Any ideas what might cause this?

Thanks,

Eyal

automatically load data from database and display in textbox on form load

$
0
0

i want to load data from database and display on the text fields on my form..the data should get fetched from the db without any button click event on form but instead it should get fetched as soon as form is loaded and all the components(like textbox,label etc) gets displayed..i tried writing a function and calling it after InitializeComponent(); method but it is not working..

is there any way i can load data and display it on textbox automatically on form_load?

or can i have a hidden button which will fire automatically when the form is loaded?

log in with webcam

$
0
0
i was wondering if anyone knows how to log on to windows using my webcam

Override Applications inputs with SendInput. Some Apps local handlers seem to override. Any advice?

$
0
0

Hey there,

I have a pastebin of my c# code. I hope this is the right forum category.
http://pastebin.com/Zw50s5rE

My goal is to use SendInput and user32.dll (if appropriate) to re-write keyboard mappings.
Right now, in the example code, if the user presses 'b' it returns 1 rather than calling 'CallNextHookEx'. This stops the 'b' data from acctually getting sent to the application. Since lParam (or wParam?) is read only, I can't seem to re-write the actual key data coming from the keyboard (why not?).
So I resort to SendInput to send new key data. I found virtual key presses are not what I want, so I use scan codes. Which I think is sending raw input data and kind of works better.
Now my problem is, the particular application (Nestopia) I want to send key inputs to seems to have its own handler that overrides my global hook. I can't find anything about this application or how it does it.
So, I suppose theres a few things I'd like to try and get more information on. My ultimate goal is create a program that overrides the keyboard mapping so that it is listened to over the applications desires.
Mainly setting up my own control scheme for games and emulators.

When windows does the on screen keyboard, that seems to be different from the actual keyboard, yet works fine with other applications like Nestopia. Is there a way to mimic that?

When Data comes in from a USB from an input device like a mouse or keyboard, is there a way to grab that data on the lowest level and alter it, to give me as an admin of a machine 'full control', despite the security risks?

I'd really like to just be able to fully control my inputs. SendInput works for the most part, but for the few applications that seem to have something else going on. Perhaps this is because my hooks are global? Is there a way to write application specific hooks for applications that I didn't code?

On another note, I'd like to re-map an Xbox 360 inputs as well. But that might be for a different post. Unless there's a universal way to edit raw input data, re-written at the lowest layer to run across the system? (master remapping of some sort).

Would there be a book on this type of information? Do these types of questions fall under a field I can study more into?


UI Automation for Delphi application

$
0
0

Hi,

I have been tasked with writing automated tests for a huge legacy application written in Delphi.  I have looked at using UI Automation from a mstest or nunit harness(C#), but have come across a major stumbling block.  When I use UI Spy to look at the delphi application, the Automation ID returned from every control is a arbitrary number. It changes every time the application is launched. 

 

I have been looking at the documentation on MSDN, and I am guessing that this can be rectified by implementing a custom provider.  Any pointers as to how this can be accomplished in Delphi?  We have full access to the source code for the Delphi application.

 

Thanks,

Erling

Accessing a button on a customized backstage in Word 2013

$
0
0

Is it posible to detect a button click if the button is located in a customized backstage in Word 2013?

I'm about to start looking at MSAA documentation, hopefully somebody can clue me in if this feasible at all.

Regards,

Michael

Custom Save As button



Handle UI Automation Mouse and Keyboard events.

$
0
0

Hi Guys,

Is it possible to capture mouse and keyboard events of any application using UI Automation?

I am trying to create a UI Automation client application that handles UI Automation events like Focus Change,Menu opened,Menu closed etc.(UIA_ToolTipOpenedEventId,UIA_ToolTipClosedEventId,UIA_MenuOpenedEventId etc.)

When such events occur on any target applications , my test application is able to receive these events. However, i am unable to capture any mouse or keyboard event.

Any help will be appreciated.

Reference link: https://www.universalthread.com/ViewPageArticle.aspx?ID=199 (I am referring to method explained in this article. )

Thanks in advance!!!

Grid Automation

$
0
0

Does anyone have any suggestions on how to find and automate a control that does not show up in UI Spy.

 

I am trying to write some automation software using Microsofts UIAutomation class. The program I am trying to automate contains a Rogue Wave Software stingray grid and I cannot get any access to it.  I cannot see it using UISpy or Spy++.  Does anyone have any suggestions on how to automate this grid.

Performance inconsistency with setting text in edit control

$
0
0

We have several instances where the performance is extremely inconsistent when setting properties of a control.  Our 2 biggest areas of concern are edit controls and combo boxes with virtualized lists.  For the edit control I was able to isolate where the issue is.

This path takes from 2 seconds to over 2 minutes depending on the run.  Nothing changes on the test machine between runs.

WpfEdit myEditCtrl = GetEditControl();
myEditCtrl.Text = "New Text";

GetEditControl returns the real control, so no  searching is happening on setting the text.

The following code is so fast I am down to milleseconds

WpfEdit myEditCtrl = GetEditControl();
Mouse.Click(myEditCtrl);
Keyboard.SendKeys("New Text");
So what is the engine doing that can take over 2 minutes to set the text, and makes it very inconsistent?

Tracing a Session of Particular Id

$
0
0

I am working on Desktop application and Using RFID Reader which is like any bar-code reader which read TagId from Tags when a Tag is Placed in front or in Range of reader it start reading that Tag and store value in database (Supppose, 1AC7B this is TagId which reader is reading,  it read this tag continuously when Tag is in range of RFID reader and stop reading it when it move away , Reader read TagId per second) Now each 
time it read Tag and add this TagID to ListBox with current Date and Time

Listbox
1AC7B
1AC7B
1AC7B
1AC7B

now i want to trace the duration of Particular Tag Id means when Tag comes in range of RFID reader and move away from the reader so please help me how can i achieve this
1 idea is that store TagId with datetime in database but this fails because when Tag again come in range of reader it again start reading TagId and store this in database this cause ambiguity so please help me how can i achieve this via programming so to trace the time duration when Tag is in range of Reader.

CodedUI migration from VSTS 2010 to 2013, System.Windows.Automation.AutomationElement referencing

$
0
0

I am migrating my CodeUI Scripts from VSTS 2010 to 2013. I am getting the following error

Error 1 The type 'System.Windows.Automation.AutomationElement' exists in both 'c:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\ReferenceAssemblies\v4.0\UIAComWrapper.dll' and 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\UIAutomationClient.dll' C:\VS\SXA142\AllscriptsActions\UIAutomationFunc\UIAutomationFunc.cs 29 50 AllscriptsActions

I want to stick with UIAutomationClient.dll. How do I resolve this error?


Jacky Lok


Coded UI Accessibility for Hidden Controls

$
0
0

Hi,

I have implemented Accessibility for some custom controls, but some controls like cells are hidden (with scroll) and Coded UI Test can't find it to click.

How can I change the Accessibility support of my control even hidden to make it work?

Thank.

Screen Resolution Problem

$
0
0

Hi,

    I am Working in a 1366x768 screen  when I tried to execute the winform in higher resolution 1680x1050 or even could be more I am facing the below issue explained in detail.

    I am using tablelayout panel contains 1 picturebox in each column contain 6 columns and to be followed like this in 5 rows can calculate as 5x6=30 pictureboxes. Issue is picturebox size should be widthxheight as 3:4 ratio 

  I didn't have any issues while i am trying to execute in low resolution while i am trying to execute in higher resolution GAP between each column is getting more and i am not able to adjust even i tried with table layout dockstyle is full and picture boxes dock style and anchor properties i adjusted but i can't resolve. below is the attached code. please help me in advance so that i may proceed it faster.


Activate the Invert Color in Windows 7 from C#

$
0
0

AS we know if you star the magnifier tool it has an option "Turn on the Color Inversion"... I want to have access to this feature from my C# .net 4.0 winforms application.  I tried with out success autohotkey and modifying the registry of windows and broadcast the new configuration. I know there is an app called NegativeScreen that work perfect, but I can't use it because this is for a Gov application.

Any help would be much appreciated

Thanks

Cortana in Windows 9

$
0
0

I have purchased the Guile 3d virtual assistant program (using current AI programming) and have enjoyed it for the most part but it's somewhat limited without using supplementary software. I was particularly attracted by the avatar part of it. However, the avatar is fairly limited in movement.

https://guile3d.com/

I'm really hoping that when Cortana comes out it will tie in to Kinect for Windows and have an avatar. I also think it will be helpful for the system to have improved speech to text capabilities. Certainly this should be on a much improved scale over what is included in Windows itself. If Microsoft does this well it could be a knockout punch for any other operating system available today.

Although I'm not a programmer, I was curious what people in the field think the chances are that this could happen.

Thanks.


WPF Popup Not Showing in Inspect

$
0
0

I am attempting to write some coded UI tests for an application that displays WPF popups (actually a class that derives from WPF Popup). There are user controls that I need to access via their well-known automation IDs that are on this popup. However, the problem is that I cannot access these user controls using AutomationElement.FindFirst.  Seems like the reason is that the popup doesn't appear in the automation element tree for some reason.  I have confirmed this by walking the automation element tree in code as well as using the Inspect tool.

I have tried creating my own automation peer for the Popup-derived class, but that hasn't helped the situation.

What do I need to do to make the user controls on the popup accessible via their automation IDs?

Thanks,


Kelly Hilliard

Viewing all 585 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>