Jump to content

screen 1024x768 different screen size, how can this be possible?


Daka
 Share

Recommended Posts

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 :)

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 

 

Link to comment
Share on other sites

@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

 

Link to comment
Share on other sites

@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

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

Try running the script uncompiled and take a screenshot of the error, the screenshot of the compiled script doesn't help very much.

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

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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