We are using the test framework to automate the Telerik backstage control and have had success while testing on Window 7 and windows 8 enterprise editions however now we are trying with 8.1 and we are finding that all tests are failing because when we find the vertical menu tab controls on the left by Automation ID, the code always find the next tab in the list.
Now when I debug and investigate the returned control properties it has the correct text of the tab that I need but when I tab.Highlight() of tab.User.Click(MouseClickType.LeftClick) it always goes for next tab.
I have even tried this below where "this" is the parent control, in our case the RadRibbonBackstage, and it still fails by clicking on the next tab in the list.
var xPoint = tab.GetScreenRectangle().GetCenterPoint().X;
var yPoint = tab.GetScreenRectangle().GetCenterPoint().Y;
this.User.Click(MouseClickType.LeftClick, xPoint, yPoint, ArtOfTest.Common.OffsetReference.AbsoluteCenter);
Is Windows 8.1 supported. Is there some reason that windows 8.1 might react differently from other operating systems? Is there something you can think of i can try to find out why this might be happening?
I must admit that we currently have only 1 windows 8.1 physical machine to run these tests on at the moment until infracstucture give us a win 8.1 Hyper V template to test with.
Now when I debug and investigate the returned control properties it has the correct text of the tab that I need but when I tab.Highlight() of tab.User.Click(MouseClickType.LeftClick) it always goes for next tab.
I have even tried this below where "this" is the parent control, in our case the RadRibbonBackstage, and it still fails by clicking on the next tab in the list.
var xPoint = tab.GetScreenRectangle().GetCenterPoint().X;
var yPoint = tab.GetScreenRectangle().GetCenterPoint().Y;
this.User.Click(MouseClickType.LeftClick, xPoint, yPoint, ArtOfTest.Common.OffsetReference.AbsoluteCenter);
I must admit that we currently have only 1 windows 8.1 physical machine to run these tests on at the moment until infracstucture give us a win 8.1 Hyper V template to test with.