no Element name, no control name, no controlid ???
no Element name, no control name, no controlid ???
I wrote a chat application myself with C#. Now I want to select the text in a textbox where the arrow is pointing but I'm lost trying that out. Can you give me any solution to my problem? pls an example code would be appreciated.
Thanks
Andrew
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Hi Andrew,
It seems to me, that you're application is based on WPF (.NET 3.5). To automate your textbox control you have to set a value for the property AutomationProperties.Name within your WPF-XAML code as follows:
After that, you should be able to identify your text box with Ranorex Spy.
kind regards,
Christoph,
Ranorex Support Team
It seems to me, that you're application is based on WPF (.NET 3.5). To automate your textbox control you have to set a value for the property AutomationProperties.Name within your WPF-XAML code as follows:
Code: Select all
<TextBox Margin="135.389,128.05,184,124.95" Name="textBox1" AutomationProperties.Name="MyTextBoxID"/>
kind regards,
Christoph,
Ranorex Support Team