{"action":"created","issue":{"url":"https://api.github.com/repos/TestStack/White/issues/298","labels_url":"https://api.github.com/repos/TestStack/White/issues/298/labels{/name}","comments_url":"https://api.github.com/repos/TestStack/White/issues/298/comments","events_url":"https://api.github.com/repos/TestStack/White/issues/298/events","html_url":"https://github.com/TestStack/White/issues/298","id":72526370,"number":298,"title":"Why cant I do window.Get<Tab> even though its an UIItem?","user":{"login":"bpp9614","id":12203604,"avatar_url":"https://avatars.githubusercontent.com/u/12203604?v=3","gravatar_id":"","url":"https://api.github.com/users/bpp9614","html_url":"https://github.com/bpp9614","followers_url":"https://api.github.com/users/bpp9614/followers","following_url":"https://api.github.com/users/bpp9614/following{/other_user}","gists_url":"https://api.github.com/users/bpp9614/gists{/gist_id}","starred_url":"https://api.github.com/users/bpp9614/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpp9614/subscriptions","organizations_url":"https://api.github.com/users/bpp9614/orgs","repos_url":"https://api.github.com/users/bpp9614/repos","events_url":"https://api.github.com/users/bpp9614/events{/privacy}","received_events_url":"https://api.github.com/users/bpp9614/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-01T21:21:57Z","updated_at":"2015-05-07T01:36:59Z","closed_at":null,"body":"I want to navigate to a particular Tab with name \"myTab\". I should be able to do this...\r\nTab tab = Window.Get<Tab>(\"myTab\");\r\n\r\nWhy cannot I do this? \r\n\r\n![tab](https://cloud.githubusercontent.com/assets/12203604/7437579/c1c5a604-f015-11e4-9cca-b80c181acfc0.png)\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/TestStack/White/issues/comments/99672260","html_url":"https://github.com/TestStack/White/issues/298#issuecomment-99672260","issue_url":"https://api.github.com/repos/TestStack/White/issues/298","id":99672260,"user":{"login":"maxinfet","id":3291391,"avatar_url":"https://avatars.githubusercontent.com/u/3291391?v=3","gravatar_id":"","url":"https://api.github.com/users/maxinfet","html_url":"https://github.com/maxinfet","followers_url":"https://api.github.com/users/maxinfet/followers","following_url":"https://api.github.com/users/maxinfet/following{/other_user}","gists_url":"https://api.github.com/users/maxinfet/gists{/gist_id}","starred_url":"https://api.github.com/users/maxinfet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxinfet/subscriptions","organizations_url":"https://api.github.com/users/maxinfet/orgs","repos_url":"https://api.github.com/users/maxinfet/repos","events_url":"https://api.github.com/users/maxinfet/events{/privacy}","received_events_url":"https://api.github.com/users/maxinfet/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T01:36:59Z","updated_at":"2015-05-07T01:36:59Z","body":"In your example what is no window?\r\n\r\nI just made a test application using the WpfTestApplication and I was able to use a tab control fine. If you post more code I might be able to give a more specific answer. Here is the code I used to test a tab control using the WpfTestApplication in TestStack.White.TestApps.WpfTestApplication.\r\n\r\n    using System.Windows;\r\n    using TestStack.White.UIItems.TabItems;\r\n    using Application = TestStack.White.Application;\r\n\r\n    namespace MyTestApp\r\n    {\r\n        public partial class MyTestWindow : Window\r\n        {\r\n            public MyTestWindow()\r\n            {\r\n                InitializeComponent();\r\n            }\r\n\r\n            private void Button_Click(object sender, RoutedEventArgs e)\r\n            {\r\n                Application application = Application.Attach(\"WpfTestApplication\");\r\n                var window = application.GetWindow(\"MainWindow\");\r\n\r\n                var tabControl = window.Get<Tab>(\"ControlsTab\");\r\n                tabControl.SelectTabPage(\"Input Controls\");\r\n            }\r\n        }\r\n    }"}}