Tests behaviour is different on windows 8.1

2 posts, 0 answers
  1. Max
    Max avatar
    17 posts
    Member since:
    May 2012

    Posted 19 Nov 2013 Link to this post

    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.
  2. Velin Koychev
    Velin Koychev avatar
    88 posts

    Posted 22 Nov 2013 Link to this post

    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.

    Velin Koychev
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top