Schoto Posted March 3, 2015 Share Posted March 3, 2015 Hello Community, I started to script some stuff in autoIT and need some help. I need to test a Application which are delivered by a Therminal Server. So if im using the AutoIT Window Info ill only see the Title from the Application + Remote. Basicly i have to check the performence of the Application. e.G. i press a Button or Type something into a Textbox and Press Enter. So i have to protocoll the time between execute and beeing ready. The Applicationtitle do not change. The Window Info cannot send me any uniqe information so i can handle this by any chance. Is there any way to wait until the mask has been changed? I am not able to look into the Application Code because the Application is from a another Company. I hope you can understand what i am looking for. Kind Regards Schoto Link to comment Share on other sites More sharing options...
JohnOne Posted March 3, 2015 Share Posted March 3, 2015 Post full summary tab from AutoIT Window Info. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Schoto Posted March 3, 2015 Author Share Posted March 3, 2015 Thank you for the fast Respond! I'll do that tomorrow morning when i am at my Workstation. Thanks! Greetings Link to comment Share on other sites More sharing options...
Schoto Posted March 4, 2015 Author Share Posted March 4, 2015 (edited) Hello It's me again, i did a screenshot from the Window Info... It look likes this: Hope that can help Edit: The Application is based on Java. Greetings Edited March 4, 2015 by Schoto Link to comment Share on other sites More sharing options...
Schoto Posted March 6, 2015 Author Share Posted March 6, 2015 No One got a Clue? Still got the Problem... and i have absolutly no idea .... Could it be the Software which is bad programmed? Greetings Schoto Link to comment Share on other sites More sharing options...
markyrocks Posted March 6, 2015 Share Posted March 6, 2015 This is kinda a dumb question but how do you know the application isn't ready? Spoiler "I Believe array math to be potentially fatal, I may be dying from array math poisoning" Link to comment Share on other sites More sharing options...
JohnOne Posted March 6, 2015 Share Posted March 6, 2015 "Is there any way to wait until the mask has been changed?" Can you explain what you mean by that? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
markyrocks Posted March 6, 2015 Share Posted March 6, 2015 (edited) Maybe I'm a noob but I don't know what you mean by mask. I asked how do you know it's not ready bc usually when you type something and hit return there's usually some kinda results. Or some kinda confirmation or sign that the program is working. Edited March 6, 2015 by markyrocks Spoiler "I Believe array math to be potentially fatal, I may be dying from array math poisoning" Link to comment Share on other sites More sharing options...
Schoto Posted March 6, 2015 Author Share Posted March 6, 2015 Well the Point is. Im working @ the Java "Black Box" i cannot see any components in my GUI. If i press the Enter Button, a process will go on working and opening another Mask. When this Mask is fully loaded the Process should be done. But i cannot analyse a single process. It's Backend stuff .... I Only can see with my eyes when the Mask changed completly at the moment :/ Link to comment Share on other sites More sharing options...
JohnOne Posted March 6, 2015 Share Posted March 6, 2015 What is this "Mask". Remember, we do not know what you do, please explain. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
markyrocks Posted March 6, 2015 Share Posted March 6, 2015 (edited) I'd say go old school with a stop watch lol. But if it has unique process or if you can get a hwd of a process just hook a timer on there and just keep checking if the process existshttps://www.autoitscript.com/autoit3/docs/functions/WinGetProcess.htmhttps://www.autoitscript.com/autoit3/docs/functions/TimerInit.htm Edited March 6, 2015 by markyrocks Spoiler "I Believe array math to be potentially fatal, I may be dying from array math poisoning" Link to comment Share on other sites More sharing options...
LarsJ Posted March 6, 2015 Share Posted March 6, 2015 (edited) Schoto, If it's a Java based application, then take a look at JAVA object automation and simple spy.You can use the JavaMonkey tool to get the structure of the Java window. See link in top of example. Edited March 6, 2015 by LarsJ Controls, File Explorer, ROT objects, UI Automation, Windows Message MonitorCompiled code: Accessing AutoIt variables, DotNet.au3 UDF, Using C# and VB codeShell menus: The Context menu, The Favorites menu. Shell related: Control Panel, System Image ListsGraphics related: Rubik's Cube, OpenGL without external libraries, Navigating in an image, Non-rectangular selectionsListView controls: Colors and fonts, Multi-line header, Multi-line items, Checkboxes and icons, Incremental searchListView controls: Virtual ListViews, Editing cells, Data display functions Link to comment Share on other sites More sharing options...
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