Click here to Skip to main content
16,012,223 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: (untagged)
This is first time i am trying to do the automation using white framework for WPF application.

I am trying to automate but facing issue related to the ItemType.

Development side they have given only ItemType as unique id for every controls. But it's very difficult to use and automate the application.
I am using the below namespace:
C#
using System.Diagnostics;
using TestStack.White.Factory;
using TestStack.White.UIItems.Finders;
using TestStack.White.InputDevices;
using System.Threading;
using TestStack.White;
using TestStack.White.UIItems.WindowItems;
using System.Windows.Automation;
using TestStack.White.AutomationElementSearch;
using TestStack.White.UIItems.Custom;
using TestStack.White.UIItems.WindowStripControls;

When i am trying to get the ItemType for any controls then it is not appearing in the SearchCriteria.

I request any one to provide the solutions.

Thanks,
Vivek
Posted
Updated 7-Sep-15 0:56am
v4
Comments
Richard MacCutchan 7-Sep-15 6:57am    
Solution to what? All you have in your question is the statment that "it's very difficult to use"

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900