Microsoft UI Automation,6 - Software Development for Windows Vista,
Recent update: 2008-3-21

Unable to click the MS Forms button that is on Excel Sheet

624 byte By SunilSinha at 2008-3-7
HiThere is one excel sheet where some values are in cells and some controls present on sheet like button, checkbox, datafilter button. I want to click the button that is on excel sheet from another application may be C# based code application. I tried but unable to click on button. I can access ...

UIA XPSP2 Availability

167 byte By someoneanonymous at 2008-3-6
Almost all downlevel components and APIs from Vista are now available on Windows XP SP2. When will UI Automation be available? Or is it installed with the Windows SDK?

UI Spy misreporting the UI heirarchy for our App.

874 byte By JustSumGuy at 2008-3-5
If I view a Table object (Infragistics) with UI Spy, it lists the rows as expected. However, when I use the Treewalker and navigate down to the Table object, the rows do not exist where they do in the UI Spy. If I use the parent windows AutomationElement and use the Findfirst() method using the ...

Can't recognize a user control

411 byte By mohanbabud at 2008-3-3
Hi,I have a user control devloped to dispaly the information in a calender fashion. The funcrion of this control is to draw the date and time slider with the graph along with it. Bu this control is not recognizable with one of our tool.Can any one please let mw know what could go wrong if any ...

Automation ID

279 byte By NickJournals at 2008-3-1
Hi guys, I was wondering, how is the automation ID retrieved? Is this done via a certain Windows API call? I was wondering because functions that I have used in an application doesn't return any id, just numbers... I use Getwindowlong with GWL_ID. Thanks, Nick

AutomationID Best Practices

682 byte By JAtkins at 2008-2-28
I am trying to find out whether or not it is a best practice to set Automation properties (AutomationId, HelpText, Name) for WPF controls as a standard development procedure. It doesnt appear that you need to define these properties unless you are creating a custom control, and that in their ...

Preventing UI Automation access to an application

197 byte By rosebud75 at 2008-2-27
Hi Congratulations of the new forum, it should be a great thing to have. I just wanted to know - is there a way of preventing or limitting UI Automation access to an application?

Hang with InvokePattern - Invoke

1518 byte By NickAsseloos at 2008-2-26
Hi guys,I'm having a problem with the invoke functionality.I made a small test application which contains one button.The code in the click event is the following:Thread.Sleep(1000);MessageBox.Show("MSGBOX1","MSGBOX1");Now from my other application that uses UIAutomation, I click the button ...

UI Spy can't navigate portions of FireFox

639 byte By staja2 at 2008-2-25
I was hoping to automate FireFox, but I am unable to navigate to certain controls. UI Spy is also unable to navigate to the controls and gives the following exception:UI Automation tree navigation is broken. The parent of one of the descendants exist but the descendant is not the child of the ...

Modal Dialogs and UI automation

1278 byte By FriedrichB at 2008-2-24
Hi,I am playing around with WPF and Automation trying to do the following.Application A: Display a WPF window with a Button. The button has a handler - when clicked you get a message box.Application B: Automation Controller (unit test). The code starts an in instance of A, and programatically ...

UI Automation events

394 byte By sachinkumarrana at 2008-2-23
hi,Is UI Automation possible for any application ..I tried the delegates based on patterns & events on IE 6.0 xp . SP2 .. It more or less works ..But when i tried on Outlook Express with same delegates .. Many delegates doesn't response .. Selection Pattern , ToggleSatepatterns etc... Plz ...

Automation.AddAutomationEvent and WinForms

867 byte By senthilkumar at 2008-2-22
Hi All, I've been playing around with the UI Automation API and I found that the Invoke automation event does not work for WinForms applications. I'm running Vista Beta 2 with VS .NET 2005. The WinForms app as well as the app using UI Automation are both built using VS .NET 2005. The ...

Hello UIAutomation World with WPF

13352 byte By bitbonk at 2008-2-22
I am currently trying to figure out how the new UIAutmation works. I tried the "Hello World" approach, i.e. the (almost) simplest possible example wich uses UIAutmation to simply click a WPF Button. The Apps UI looks like this:<Window x:Class="UIAutomationTest.Window1" ...

complexity of finding UI elements with TreeWalker or FindFirst/FindAll in HTML

342 byte By dudeness at 2008-2-21
Hi, I was amazed to see that it takes plenty of time (~100-200ms) to for GetNextSibling (of TreeWalker) in HTML,so if i am going through 400 siblings it takes forever.it is also happens if i use element.FindAll. Does anyone know what can i do to avoid this. Thanks in ...

Radio Button Patterns in WPF?

554 byte By DavidSL at 2008-2-20
I am trying to write an automation provider for a collectionof radio buttons in a WPF application. The help files seem to indicate that Ishould implement a selection provider pattern for the collection, which wouldmean that the Radio Buttons support the Selection Item provider pattern. ...

Radio Button Automation in WPF

257 byte By akuhad at 2008-2-19
hi, plz help me to automate the radio button in WPF. plz give me some code so that i can select the radio button in WPF application. there is not any good help availble in msdn for this. i need it urgently. plz plz help.

UI Automation

394 byte By sachinkumarrana at 2008-2-18
hi,Is UI Automation possible for any application ..I tried the delegates based on patterns & events on IE 6.0 xp . SP2 .. It more or less works ..But when i tried on Outlook Express with same delegates .. Many delegates doesn't response .. Selection Pattern , ToggleSatepatterns etc... Plz ...

UI Automation events

394 byte By sachinkumarrana at 2008-2-17
hi,Is UI Automation possible for any application ..I tried the delegates based on patterns & events on IE 6.0 xp . SP2 .. It more or less works ..But when i tried on Outlook Express with same delegates .. Many delegates doesn't response .. Selection Pattern , ToggleSatepatterns etc... Plz ...

Radio Button Patterns in WPF?

550 byte By DavidSL at 2008-2-16
I am trying to write an automation provider for a collection of radio buttons in a WPF application. The help files seem to indicate that I should implement a selection provider pattern for the collection, which would mean that the Radio Buttons support the Selection Item provider pattern. ...

Hello UIAutomation World with WPF

13352 byte By bitbonk at 2008-2-15
I am currently trying to figure out how the new UIAutmation works. I tried the "Hello World" approach, i.e. the (almost) simplest possible example wich uses UIAutmation to simply click a WPF Button. The Apps UI looks like this:<Window x:Class="UIAutomationTest.Window1" ...

ClientSideProviders

527 byte By MarcoAchtziger at 2008-2-15
Hi,i am working on a framework for automated testing. In a special case i need to obtain the Font information of a label. In UIA this is not implemented so i thought i am going to implement a ClientSideProvider for my special case. But i cannot obtain access to the control in my ProviderClass. ...

Radio Button Patterns in WPF?

554 byte By DavidSL at 2008-2-15
I am trying to write an automation provider for a collectionof radio buttons in a WPF application. The help files seem to indicate that Ishould implement a selection provider pattern for the collection, which wouldmean that the Radio Buttons support the Selection Item provider pattern. ...

chevron command bar

488 byte By rosebud75 at 2008-2-15
HiUI Automation (as of Vista RC1) seems to have a problem with identifying the "chevron" item on a command bar (the arrows that you see when IE menu is too long for the window).This problem can be seen when using UI Spy - there is no element for the chevron item.When using Active ...

UI Automation on Web Browser(IE)

431 byte By sachinkumarrana at 2008-2-15
Hi All ,I am Working on UI Automation and i am trying to acess each and every control and its related information ( Say name , Control type ) .. Now when when i click on hyperlink then on StructureChangeEvent i get the Controltype as "Pane" .. What is the issue ? ... Though Hyperlink ...

Accessibilty

256 byte By ManuKhullar at 2008-2-14
Hi, I'm trying to right click the tray icon of our Software from the C# code. Using the MAUI library I could obtain the tray window. Now I'm not able to obtain the specific icon in the window. Can anybody help me out. -Manu

Name property empty?

427 byte By NickAsseloos at 2008-2-14
Hi guys,The last CTP i was using, was the may CTP. With this version I had the problem that the name property was not filled in for any controls. It was always empty.Now I installed the july CTP and the problem still exists...Does anyone else have this problem? Is this a know issue?Note: When ...

Textpattern giving exception by UIAutomation on AMD64

897 byte By vbhatia at 2008-2-13
I am using Mita to do some development, which is dependent on UI Automation. MitaSpy exposes properties of my control as ControlType.Document and supported patterns as Scroll. The classname being displayed as richedit.The control doesn't support the text pattern.This is occuring only on a ...

Hang with InvokePattern - Invoke

1518 byte By NickAsseloos at 2008-2-13
Hi guys,I'm having a problem with the invoke functionality.I made a small test application which contains one button.The code in the click event is the following:Thread.Sleep(1000);MessageBox.Show("MSGBOX1","MSGBOX1");Now from my other application that uses UIAutomation, I click the button ...

Hang with InvokePattern - Invoke

1379 byte By NickAsseloos at 2008-2-12
Hi guys,I'm having a problem with the invoke functionality.I made a small test application which contains one button.The code in the click event is the following:Thread.Sleep(1000);MessageBox.Show("MSGBOX1","MSGBOX1");Now from my other application that uses UIAutomation, I click the button ...

uiAccess

717 byte By Stefan_S at 2008-2-11
My application is used to provide accessibility in other applications. I need to be able to drive input in other applications using Journal Playback Hooks. From the documentation it seems as if what I want is to include the uiAccess=true flag in the application manifest.However, when I use that ...

AutomationID and Templates

3739 byte By EliaNoris at 2008-2-10
I want to access elements which are dinamically generated through a template:I define the following ListBox <ListBox ItemsSource="{Binding Source={StaticResource contactsView}}" HorizontalAlignment="Right" Margin="0,100,70,160" Name="listBox1" ...

Thread Synchronization between Automation Client and UI Program

1066 byte By JLutz at 2008-2-10
Hi all,I have a question about thread synchronization and UI automation.Say I have a GUI application and an automation program similar to the one in the TreeWalker sample in the SDK documentation. Now say that in my automation program, I start up the GUI app by using the methods in the Process ...

Textpattern giving exception by UIAutomation on AMD64

897 byte By vbhatia at 2008-2-8
I am using Mita to do some development, which is dependent on UI Automation. MitaSpy exposes properties of my control as ControlType.Document and supported patterns as Scroll. The classname being displayed as richedit.The control doesn't support the text pattern.This is occuring only on a ...

System.Xml.XmlException: '0' is an unexpected token. ?

5268 byte By XML_JR at 2008-2-8
Hello,In my UI automation, I have a code which gets me the inner HTML of the page. I save that in a string variable strXml. When I do a View source of that page.... the HTML is well-formed and has all the tags and double quotes etc..... as shown ...

Issue: "Specified element is already the logical child of another element. Disconnect i

1971 byte By AlanPainter at 2008-2-7
Note: I have tried this with both the June and July CTP bits.Background: This issue occurs and the end of a succesful drag and drop operation between two XAML windows. The source is a treeview that contains a Button control (could be another kind of control object, but I don't think it matters ...

UIAutomation support for downlevel OS

416 byte By Shete at 2008-2-7
Hi, I am planning to develop tests in MITA. MITA is dependent on UIAutomation framework. But I saw winfx is supported on winxp-sp2, wso3-sp1 and onwards. Is it that UIAutomation is not at all supported on w2k, ws03-rtm? Can someone please confirm on this?thanks in advance,Shriram ...

Issue: "Specified element is already the logical child of another element. Disconnect it fi

1971 byte By AlanPainter at 2008-2-7
Note: I have tried this with both the June and July CTP bits.Background: This issue occurs and the end of a succesful drag and drop operation between two XAML windows. The source is a treeview that contains a Button control (could be another kind of control object, but I don't think it matters ...

Custom Property Conditions

1180 byte By JLutz at 2008-2-7
Hello all,I have a question regarding the TreeWalker sample and UI automation in general.Say, for example, I have a UI that contains several panes, with the automation ID's BrowsePane1, BrowsePane2, ..., etc, and I want to retrieve all of these. Assuming that I have an AutomationElement ...

control ids

1080 byte By rosebud75 at 2008-2-6
HiWe have an automation software which detects Windows built-in control according to their ids.We noticed that on Windows Vista build 5472, the ids are were totally changed comparing to the ids in Vista beta 2 and earlier. Is it not correct to rely on the ids? Is there a better way to identify ...

Name property empty?

427 byte By NickAsseloos at 2008-2-6
Hi guys,The last CTP i was using, was the may CTP. With this version I had the problem that the name property was not filled in for any controls. It was always empty.Now I installed the july CTP and the problem still exists...Does anyone else have this problem? Is this a know issue?Note: When ...

Radio Button Patterns in WPF?

554 byte By DavidSL at 2008-2-5
I am trying to write an automation provider for a collectionof radio buttons in a WPF application. The help files seem to indicate that Ishould implement a selection provider pattern for the collection, which wouldmean that the Radio Buttons support the Selection Item provider pattern. ...

Custom Property Conditions

1180 byte By JLutz at 2008-2-5
Hello all,I have a question regarding the TreeWalker sample and UI automation in general.Say, for example, I have a UI that contains several panes, with the automation ID's BrowsePane1, BrowsePane2, ..., etc, and I want to retrieve all of these. Assuming that I have an AutomationElement ...

System.Xml.XmlException: '0' is an unexpected token. ?

5268 byte By XML_JR at 2008-2-4
Hello,In my UI automation, I have a code which gets me the inner HTML of the page. I save that in a string variable strXml. When I do a View source of that page.... the HTML is well-formed and has all the tags and double quotes etc..... as shown ...

control ids

1080 byte By rosebud75 at 2008-2-4
HiWe have an automation software which detects Windows built-in control according to their ids.We noticed that on Windows Vista build 5472, the ids are were totally changed comparing to the ids in Vista beta 2 and earlier. Is it not correct to rely on the ids? Is there a better way to identify ...

Radio Button Patterns in WPF?

554 byte By DavidSL at 2008-2-4
I am trying to write an automation provider for a collectionof radio buttons in a WPF application. The help files seem to indicate that Ishould implement a selection provider pattern for the collection, which wouldmean that the Radio Buttons support the Selection Item provider pattern. ...

AutomationID and Templates

3739 byte By EliaNoris at 2008-2-4
I want to access elements which are dinamically generated through a template:I define the following ListBox <ListBox ItemsSource="{Binding Source={StaticResource contactsView}}" HorizontalAlignment="Right" Margin="0,100,70,160" Name="listBox1" ...

Name property empty?

427 byte By NickAsseloos at 2008-2-3
Hi guys,The last CTP i was using, was the may CTP. With this version I had the problem that the name property was not filled in for any controls. It was always empty.Now I installed the july CTP and the problem still exists...Does anyone else have this problem? Is this a know issue?Note: When ...

n00b vs. UI Automation

507 byte By EliaNoris at 2008-2-3
I'm the very newbie in this field. I'm looking for some resources about WPF UI Automation. So far I could just find the SDK help, which isn't meant as a starting point, and a couple of PDC presentations which give an useful overview but don't really help getting your feet wet.I couldn't ...

MenuStrip is still missing from UISpy

1385 byte By MarkAsztalos at 2008-2-2
Hi!My problem is that MenuStrip does not appear in UISpy. I generated asimple WinForms application (not using WinFx), then put a menu strip atthe bottom of the Form. The menu lookes like this: | File | Help | .Clicking on the File, a drop-down menu appears with Exit1 and Exit2 items in it. ...

problem with Removing Menubar and Toolbar from IDE at runtime

1318 byte By ryams at 2008-2-2
Hello, I am Developing a tool.for that i created instance of VS IDE(see code ). The problem is i have to Remove the Menubar and toolbar from that IDE. I am not getting how to move forward. i am new to this programming.can any one help me by giving u r suggestions and samples related to ...

Software Development for Windows Vista

Site Classified