UI Automation using Windows Service
I was using UI automation using windows forms, it was working fine , but when i am trying to use it with Windows Service , i cannot access automation element .Please suggest what i am missing
View ArticleNeed a sample on how to select a tab item from tab control using UI...
I'm currently working with a WPF application in which I need to select items from a tab control. I can't find any articles about the tab control. When I used the SelectionItemPattern it tells me that...
View ArticleHow to set value under the "TextPattern" by AutomationElement...
Some widget of the software I want to control by AutomationElement technique owns only TextPattern and ScrollPattern. But I want to change its value by program not inputing mannually. So, how could I...
View ArticleHow to get current user logon and logout time in windows 7 using VB.NET or C#
I want get current user logon and logout time and print them it to a Textbox. I am using VB.NET and SQL Server. Please guide me how to get this.Thanks in advance.
View ArticleUnable to Show Tree in Inspect
Hello,I'm using Windows 8.1 and Inspect.exe to view UI control information. However, I'm unable to see the option to show the UI tree in inspect. I can only see the currently focused item.Is there an...
View ArticleGet bounding rectangle for treeitem including icon
Hi,I have a requirement of getting bounding rectangle for a treeitem in a treeview. The treeview control used is a VB6 treeview (TreeView20WndClass).I came across TVM_GETITEMRECT. But, it says that if...
View ArticleUIAComWrapper vs UIAutomationClient for GUI Automation
Hi, I am working on 2 different projects related to GUI Automation. One uses UIAutomationClient & the other one uses UIAComWrapper. I have a vague idea that both provide accessibility to controls...
View ArticleQuestion about the update "Windows 10 Version 1607"
Hello, I am a developer of this device mentioned in the page below.https://www.plus-vision.com/en/product/copyboard/n20/feature04.html#save02We built the solution, called "Direct computer connection",...
View ArticleAutomation
I have to find all the controls in a specific url and print the name property of those controls. [TestMethod] public void CodedUITestMethod1()...
View ArticleUI automation
I have to find all the controls in a specific url and print the name property of those controls. [TestMethod] public void CodedUITestMethod1()...
View ArticleException with UIA
Environment: Win10 Pro 64bitScreenario: When a pop up shows up , our tool tries to click the 'Yes' button by Invoke(). However , sometimes , a exception is thrown up .I want to know the root cause...
View ArticleHow to check whether IRawElementProviderFragmentRoot is in playback mode or...
Currently i am working on providing the Coded UI support for my custom control. I have implemented the Coded UI implementation as like the steps provided in the following link,...
View ArticleWhy can not assert my custom control while using VS2015 enterprise?
I have implemented the Code-UI support for my custom control. It was working fine in vs2012,vs2013 but i can not assert my control when using the VS2015 enterprise version. The below code is the root...
View ArticleWhy InvokeRequired property value differed between VS2012 and VS2013?
I am developing UI automation for my control. The below code working fine in VS2012.MyControl.PointToClient(p);But this code not working in VS2013. It was throws an following exception Also i have used...
View ArticleSmartBeart Test Complete automation software cannot locate Unique...
Dear Team, The matter is that, we've developed an WPF application on MVVM design pattern using prism. Our entire application has been developed .We needed to create the Test Automation framework for...
View ArticleWhat is the inteded logic of TreeWalker with condition?
I observe an illogical behavior of TreeWalker for filtered trees. Let us assume that we try to find all buttons in some application window using walker. So we create a walker with the corresponding...
View ArticleIs it OK to use multiple threads to work with UI Automation Client API?
UI Automation documentation recommends to "make all UI Automation calls from a separate thread" (seehttp://msdn.microsoft.com/en-us/library/ee671692%28v=VS.85%29.aspx)However it says nothing about...
View ArticleGet image of ListItem with UI Automation
Hi! I have a list of WinListItem. Each item has a text and an image. The image represents a green check or a red cross. I need to access to this image to know if the UI is displayed in concordance with...
View ArticleWindows 10 - Set tablet buttons to perform certain tasks.
Hi Sir,In Control Panel > Hardware and Sound > Tablet PC Settings > Set tablet buttons to perform certain tasks.There is error popup message but we really install button drivers on the system....
View ArticleWhy code generation was failed when save the designer level changes?
I had two collection one is column and another one is BaseStyleCollection and I had two forms. One form inherited another form.public partial class Form2 : Form1 { public Form2() {...
View Article