THREE TIMES yesterday my automation suite ran just fine--all test cases passing and happy-happy reports showing up in my inbox.
Then our Win10 VM suddenly started failing today--spectacularly so. There are multiple controls that are no longer being found by Ranorex, and I'm finding myself looking at the prospect of wading through the repository re-mapping multiple control paths. I am beside myself trying to understand WTH happened overnight.
The AUT did not change. The test suite did not change. All I can see is that "Feature update to Windows 10, version 1709" was "Successfully installed on 12/28/2017", and now my automation is blowing up.
Is anyone else experiencing this?!
Windows 10 version 1709 update--causing failures?
Re: Windows 10 version 1709 update--causing failures?
To note, this is version 7.2.1. I am looking to upgrade to 8.0 after the New Year.
In the meantime I'd just like to know why my entire test suite went from passing with flying colors to suddenly being unable to find a whole slew of controls. The AUT did not change. The test automation code did not change.
The only thing new that I can find is Windows 10 being updated. I tried uninstalling those updates, but two of the six entries would not let me. Then upon rebooting the damn thing just reinstalled several of the updates.
I find myself having to re-map controls, like the button below, as if this is a brand-new AUT.
Original XPath:
New XPath:
Microsoft Updates (terse descriptions from MSFT as usual):
4058043 -- "Microsoft Store" updates
Security Update for Adobe Flash Player
4054022 -- "This update makes stability improvements for the Windows 10 Version 1709 servicing stack."
4057247 -- "This update includes reliability improvements for the upgrade experience to Windows 10 Version 1709"
In the meantime I'd just like to know why my entire test suite went from passing with flying colors to suddenly being unable to find a whole slew of controls. The AUT did not change. The test automation code did not change.
The only thing new that I can find is Windows 10 being updated. I tried uninstalling those updates, but two of the six entries would not let me. Then upon rebooting the damn thing just reinstalled several of the updates.
I find myself having to re-map controls, like the button below, as if this is a brand-new AUT.
Original XPath:
Code: Select all
/form[@wpfnative='True' and @title~'^Data\ Management\ So' and @processname='JobCreator']/?/?/container[@automationid='mainWinGrid']/container[@automationid='deviceListPage']//button[@automationid='deviceListPageNextBtn']
Code: Select all
/form[@classname='Window' and @orientation='None']/button[@automationid='deviceListPageNextBtn']
4058043 -- "Microsoft Store" updates
Security Update for Adobe Flash Player
4054022 -- "This update makes stability improvements for the Windows 10 Version 1709 servicing stack."
4057247 -- "This update includes reliability improvements for the upgrade experience to Windows 10 Version 1709"
Re: Windows 10 version 1709 update--causing failures?
That Windows 10 update seems to install a complete new OS version, maybe that screwed up your Ranorex installation?
Do you get any warning or technology limitation messages?
Have you tried to reinstall or repair Ranorex?
Regards,
Alex
Ranorex Team
Do you get any warning or technology limitation messages?
Have you tried to reinstall or repair Ranorex?
Don't do that already, the paths you posted indicate that the Ranorex WPF plugin is not jumping in where it should. Can you also post a Ranorex snapshot of you app?Darwin wrote: I find myself having to re-map controls, like the button below, as if this is a brand-new AUT
Regards,
Alex
Ranorex Team
Re: Windows 10 version 1709 update--causing failures?
Thanks for the follow-up. I did upgrade to Ranorex 8.0--I figured what do I have to lose at this point--and it alleviated some of the problems. However there are still a few controls not being found.
I will have to update later with snapshot and such. I'm under the weather currently.
I will have to update later with snapshot and such. I'm under the weather currently.
Re: Windows 10 version 1709 update--causing failures?
OK--so in course of addressing this I did the following:
1. Installed Ranorex 8.0 -- partially addressing issue
2. Uninstalled AUT
3. "Repaired" Ranorex installation (this was probably unnecessary)
4. Re-installed AUT
Looks like XPaths are back to normal--I've had one successful run of suite so far.
1. Installed Ranorex 8.0 -- partially addressing issue
2. Uninstalled AUT
3. "Repaired" Ranorex installation (this was probably unnecessary)
4. Re-installed AUT
Looks like XPaths are back to normal--I've had one successful run of suite so far.
Re: Windows 10 version 1709 update--causing failures?
Great, thank you for reporting back!
Regards,
Alex
Ranorex Team
Regards,
Alex
Ranorex Team