Implementing focus tracking
Hello,I am working on a Automation Testing project where user can create scripts and run them to automate the Desktop application testing.To automate testing with an external application, user has to...
View ArticleIssue reading text from html with
Hi All, I am reading some string from html file the string is appearing as 2x2 s. I understand that this contain non breaking space . But after reading them in C#app . How do i check if string...
View ArticleHow to set up Huawei 4G dongle driver in Windows 10 to use AT commands via...
I want to send and receive SMS messages using code in Visual Studio (C#) with AT commands via serial connection.The device I am using is Huawei E3372, 4G cellular USB dongleWhen I plug the dongle into...
View ArticleListen to Click event from external application
Hello,I am working on a automation project. I want to listen the click event for ANY element from external application.AutomationEventHandler UIAEventHandler = new AutomationEventHandler(OnUIAEvent);...
View ArticleRaise UIA_Invoke_InvokedEventId for Win32 menu items
I'm developing a Win32 application and now want to add UI Automation for menu items but my application does not raise any Invoke_Invoked event (using AccEvent) when a menu item is selected.I've checked...
View ArticlePosting a very large application
I have a class PInvokeWin32 that I used in the past but now it does not run. I tried to post it but it turned out to be too large (>60,000) characters. Is there a solution for such large codes? I...
View ArticleZooming IN and drawing on screen
I'd like to develop app similar to Windows full screen zoom feature but with multi-screen support. How can I access and transform screen contents in efficient way? The best solution would be to have...
View ArticleUI Automation API find all blocked by dialog
Hi all,I useAutomationElementCollection elements = AutomationElement.RootElement.FindAll(TreeScope.Children, new Prope(AutomationErtyConditionlement.ControlTypeProperty, ControlType.Window));to find...
View ArticleHow to unblock UIAutomation when Invoke triggers modal dialog
Using UI Automation I invoke a button in Excel 2010 (let's say the View > Zoom Button) which triggers a modal dialog.My problem is that I can't use UIAutomation until after I (manually) close that...
View ArticleReg RunOnce - Open script in Notepad.
I am trying to execute a Powershell script via the runonce reg-key, each time it is executed, the script is opened in notepad instead of executing. Not sure what i can change Associated PS1...
View ArticleNew to UI Automation
Hello everyone! I am building an automation application that is supposed to be installed on multiple machines, as an exe. I am not as familiar with Microsoft as my time is mostly dedicated to linux....
View ArticleControl a SaveFileDialog with UI Automation
I want to control a SaveFileDialog (WinForms) from UI Automation (for product testing).In the SaveFileDialog, I want to set the folder to write to and press the "Save" button. I haven't been able to...
View ArticleUI Element not visible unless clicked, is there a work around?
Hi,I'm trying to automate the selection of an element from a drop down menu in an app. The problem is, I'm unable to access the menu in the first place. It does not show up when I hover over it in with...
View ArticleNeeds (Plugin)code for implementing UIA
Hi Thej, I am also looking for a sample code to implement using UIA instead of MSAA ..can you please mail me sample code attest.house@hotmail.com . Thanks.
View ArticleLocation of active element varies according to Edge version
I Used Selenium package for C#.Net and opened a website and pressed tabs and tried to get the active element location. I am getting wrong location values for the below edge version.Not working...
View ArticleWinAppDriver Couldnt Recognize App Elements
I am trying to Automate our Windows Forms App which is developed based on Visual basic. I am facing issue in recognizing elements by WinAppDriver.Issue seems like WinAppDriver isn't recognizing the...
View ArticleMicrosoft Active Accessibility Direct Annotation is not working on Windows 10
Following MFC code sets accessible Name for popup menu item to "accessible text". It works on Windows 7/8 but on Windows 10 accessible name remains "item text". Please help with fix / workaround. CMenu...
View ArticleWindows 10 blurry appilication icon in the taskbar.
I have created an .ico for my application in WPF, I included the following resolutions in it: 16x16, 24x24, 32x32, 48x48 and 256x256. The icon of the application is displayed correctly in every place...
View ArticleUIAutomation WPF COM Access Violation Exception
Hi, I am using UIAutomation to test a WPF app where I have created a few of my own peers. Occasionally I get an exception in the COM layer which completely crashes my application under test. I have...
View ArticleCoded UI Tests WaitUntilClickable on AutomationElement timing out
Hi,I'm facing a strange situation where the WaitUntilClickable function seems to time out while attempting to right click on a Grid that is visible and enabled. What makes it perplexing is that it...
View Article