Access to Tab in WPF Application

Jun 10, 2011 at 1:25 PM

Hi ;)

Simple example.

A WPF application with TabControl and two TabITem ("tabItem1" and "tabItem2"). UI Automation Test should Click on each TabItem, how ?

I' tried something like this:

WhiteTabControl tab = window.Get<WhiteTabControl>("tabConrol1");

tabsy.SelectTabPage(1);

 

But, it's doesn't work...