Jump to content

Recommended Posts

Posted

Ok I understend a littlebit more thanks to you people :)

I did a lot of websitetest with selenium,
but that was more for webautomation
it was easy you just go to lets say chrome 
inspect element and you know where it is
id or xpath etc.

So you are telling me it should be the same with this too?

Like you mentioned many of java programs and UIAutomation MS

this is interesting, so I need to dig more to find out,
what is optimal tool to find the elements?

If any suggestion more like take this one only then please share :)

Posted
2 minutes ago, Daka said:

what is optimal tool to find the elements?

For UIAutomation: Inspect from Windows Development Kit and Simple Spy supplied in @junkew's wrapper.

EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time)

DcodingTheWeb Forum - Follow for updates and Join for discussion

Posted
8 hours ago, TheDcoder said:

@Earthshine UIAutomation might be a more universal alternative for automating GUIs:

 

I use Coded UI myself. Straight from the MS UI Automation source 

My resources are limited. You must ask the right questions

 

Posted (edited)

I looked it up. It’s embedded on a device. No info on what it’s written in

si even Inspect.exe did not find anything useful?

Edited by Earthshine

My resources are limited. You must ask the right questions

 

Posted

Ok I made video to show you, that there is no text like Longitudinal cross-section of head, there are some ids but no text
https://youtu.be/tkXywZ4Pp6s

then I have other thing is where the organ is I cant access any id,
and all those triangles are clickable. Also other links the tool cant find it
it just find the above box and doesn't go deeper.
that's why I went to x y position, but it changes on the resolutions :( 

here is what Im talking about 

 

Posted (edited)

@TheDcoder, hey, I can run Simple Spy on my Win10 box but my Server 2008R2 box, it crashes.

 

Edit, well, under the AutoIt editor it crashes windows explorer, but compiled runs fine? weird. I'll figure this out. thanks @TheDcoder and @junkew

Edited by Earthshine

My resources are limited. You must ask the right questions

 

Posted

@Earthshine UIAutomation should be available by default from Windows Vista and Server 2008 and you can get it on XP and Server 2003 by installing .NET Framework 3.0. So I doubt your server lacks something important, is it a hard crash (i.e Windows shows a "This program has crashed" dialog) or an error thrown by AutoIt?

EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time)

DcodingTheWeb Forum - Follow for updates and Join for discussion

Posted (edited)

thank you mate! today it works. I probably just needed a reboot. that server runs 24x7 and RARELY goes down unless power outage and the battery puts it to sleep. rebooted, now it runs compiled and in the editor. it would crash with an error and I was trying to get that error and post. now it works fine. lol it looked like an app crash and I never bothered to get the details. I will if i ever see it again.

Edited by Earthshine

My resources are limited. You must ask the right questions

 

Posted (edited)

well, I spoke too soon, this was behind VMware, crashed...

Before that, it requires a restart of Windows Explorer shell before getting to this error below

Capture.PNG

Edited by Earthshine

My resources are limited. You must ask the right questions

 

Posted (edited)

here you go.

Capture.PNG

 

btw, thanks for all the help! it's not so important that runs on the host, but in VMs where I do the development I could use it. I'll make sure it works in my 2008R2 VMs

Edited by Earthshine

My resources are limited. You must ask the right questions

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...