Cannot identify storage spaces virtual disk type

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
Posts: 30
Joined: Thu Feb 13, 2014 10:29 pm

Cannot identify storage spaces virtual disk type

Post by fester13579 » Thu Oct 27, 2016 9:23 pm


I'm trying to automate Microsoft Storage Spaces for a test.
On this screen, the best I can do is to click on 'simple' but have yet to figure out how to select 'mirror' and 'parity' for other parts of the test.

Ranorex 6/ Win 2012R2

I am stumped - Any ideas?
Spaces.jpg (32.81 KiB) Viewed 860 times
Spaces X path2.jpg
Spaces X path2.jpg (59.49 KiB) Viewed 860 times
storage spaces - new vdisk wizard.rxsnp
(149.21 KiB) Downloaded 47 times

User avatar
Posts: 135
Joined: Mon Jul 11, 2016 4:01 pm

Re: Cannot identify storage spaces virtual disk type

Post by N612 » Thu Oct 27, 2016 9:44 pm

First, try running Ranorex and the application with administrative rights and see if you get object recogniton on these elements.

If this does not work, you can try to perform a relative click on the object. Using the //container/list as a reference point, we will click at X,Y within this object (0,0 is very top left corner).

Full path to //container/list based on snapshot

Code: Select all

/form[@wpfnative='True' and @title='New Virtual Disk Wizard']/element[@automationid='Wizard']//container[@automationid='LayoutRoot']/list[@automationid='lbRedundancy']
Simply edit the 'action spot' for the mouse click action to the cordinates you want. The below example will click 25 pixels right and 100 pixels down from the top left corner of my list repository element. It may take some tweaking to get right, but should be a reliable workaround. You may run into issue with executing test on other machines though, since resolutions/DPI can vary.
2016-10-27 16_37_48-SampleSolution - Ranorex Studio (Administrator).png
2016-10-27 16_37_48-SampleSolution - Ranorex Studio (Administrator).png (8.8 KiB) Viewed 856 times
Note: You can also move left/up from 0,0 by using negative coordinate (IE: -25;-100)