This is a migrated thread and some comments may be shown as answers.

Tests behaviour is different on windows 8.1

1 Answer 39 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Max
Top achievements
Rank 1
Max asked on 19 Nov 2013, 09:16 AM
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.

1 Answer, 1 is accepted

Sort by
0
Velin Koychev
Telerik team
answered on 22 Nov 2013, 09:05 AM
Hello Max,

I am sorry to hear that  you are experiencing this issue.

We are not aware of these issues during execution on Windows 8.1 machines. 

Please provide us with a copy of your test and if it is possible grant us access to your application so we can reproduce the issue on our end and give you a solution.

If direct access is not possible, capture a Fiddler trace and attach it to this support ticket in a zip file. If you are unfamiliar with how to do so, this link will provide you with step-by-step instructions for download and use. If taking a Fiddler trace please be sure to:
1. Click Clear Cache first
2. Check Store binaries
3. Check Decrypt HTTPS traffic

Hope to hear from you soon.

Regards,
Velin Koychev
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Max
Top achievements
Rank 1
Answers by
Velin Koychev
Telerik team
Share this question
or