Yash91 Posted April 8, 2017 Posted April 8, 2017 Dear Team, I am working on windows based application in which i have to read the error msg which is coming on the bottom of the the windows application screen.its a kind of status bar msg but not status bar because when i find it using AutoIT finder the complete panel of the screen is getting selected. PFA and request you to give your inputs on it. OS: Windows XP Java: 1.7 AutoIT: 3.1.3 I tried jubula and sikuli and java OCR also but unable to get text of that panel.
Danp2 Posted April 8, 2017 Posted April 8, 2017 So you are trying to access details on an application within a TightVNC session? Probably not going to work... Latest Webdriver UDF Release Webdriver Wiki FAQs
InunoTaishou Posted April 8, 2017 Posted April 8, 2017 You'd have to run the autoit application on the computer you're connecting to to read the status bar. Another option is to create screenshots of each of the available errors and use imagesearch to see if any of them are shown. This may or may not work depending on the colors from the vnc client. At a lower connection speed vnc, well any remote connection, will lower the bitrate of the screen (so colors may get dulled or not look as pretty), which can affect ImageSearch. Always worth a shot though. (Note, this is not OCRing the error. This is creating a small image of each of the error messages and just searching for that image on the screen. Doesn't matter what the text really is, if it finds the image you can know what the error actually is) YashShrivastava 1
YashShrivastava Posted May 17, 2017 Posted May 17, 2017 @Danp2 i tried to run the same code on the execution computer also without VNC access, but getting the same result.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now