Akashrai Posted January 8, 2016 Posted January 8, 2016 I want to automate a client application but auto it info tool is not detecting the GUI components. I don't know what to do. please help me out. Screenshot of first login page of application is in attachment
JohnOne Posted January 8, 2016 Posted January 8, 2016 I don't know what to do.You could start by reading replies to your threads AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Akashrai Posted January 8, 2016 Author Posted January 8, 2016 Please help It is very important. Alternate of auto it is also welcome.
RTFC Posted January 8, 2016 Posted January 8, 2016 There are lots of alternative GUI inspection tools, many of them free. I use Ranorex myself, but that one is now proprietary. Akashrai 1 My Contributions and Wrappers Spoiler BitMaskSudokuSolver BuildPartitionTable CodeCrypter CodeScanner DigitalDisplay Eigen4AutoIt FAT Suite HighMem MetaCodeFileLibrary OSgrid Pool RdRand SecondDesktop SimulatedAnnealing Xbase I/O
Akashrai Posted January 8, 2016 Author Posted January 8, 2016 Yes but what about auto it why it is not detecting the GUI components and what and way to achieve the solution i am attaching page after login it also has same problem.
LarsJ Posted January 8, 2016 Posted January 8, 2016 The "AutoIt Window Info" tool generally only detects standard Windows controls implemented with the functions in ComCtl32.dll. These controls have existed since Windows XP. You can find a list of the controls in the Control Library.Many modern controls including modern MicroSoft controls are not detected by the "AutoIt Window Info" tool. These controls can be detected with Inspect.exe in Windows SDK or the "Simple Spy Tool" in the UI Automation framework. 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
junkew Posted January 9, 2016 Posted January 9, 2016 please give a little more details on supplier or on the mainwindow component that is recognizedCheck with Au3Inf and SimplespyBased on that you get an indication if its build in C/C++, Java, .NET, QTxx or other frameworks FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets
Akashrai Posted January 11, 2016 Author Posted January 11, 2016 (edited) I have fetched info by Autoit info tool and attached please help. You can see it is not detecting any thing.Please help Edited January 11, 2016 by Akashrai
junkew Posted January 11, 2016 Posted January 11, 2016 the HwndWrapper gives an indication its a WPF Control and if you check with simplespy you probably can see more as WPF supports IUIAutomation. FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets
Akashrai Posted January 12, 2016 Author Posted January 12, 2016 Where I will get simplespy.au3 file . I am new so please help. I have searched on google as well as in auto it setup but did not got .
junkew Posted January 12, 2016 Posted January 12, 2016 Did you click the link i gave on iuiautomation there it is or tried search in autoitforum. FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets
Akashrai Posted January 14, 2016 Author Posted January 14, 2016 Yes, Gone through your given link and also searched on google but . Could you provide link to download the same.
junkew Posted January 14, 2016 Posted January 14, 2016 its in the zip in the link given FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets
Akashrai Posted January 18, 2016 Author Posted January 18, 2016 (edited) I have tried it . It is also not detecting . The VISA application which i am automating is a java (Applet ) application. I have searched for that and got "FEST" but do not know how to get id/class name of GUI component of the VISA application. Is there any spy tool in fest. Other that FEST any other open source tool to automate applet desktop application? Please help. Edited January 18, 2016 by Akashrai
junkew Posted January 18, 2016 Posted January 18, 2016 Search for jabsimplespy Akashrai 1 FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets
Akashrai Posted January 19, 2016 Author Posted January 19, 2016 (edited) Thanks for support. Here it says ctrl+w. After pressing Ctrl+w it gives me following code - Mouse position is retrieved 133-54 JAVA window found <> Java Window Title= Handle=0x00000000002A0740 res: 1 Result getAccessibleContextFromHWND is <> ubound: 4 We have a VMid 789588 ac 369080852 Call version info: PASSED VMID found : 789588 VMVersion: <1.8.0_65> bridgeJavaClassVersion: <1.8.0_65> bridgeJavaDLLVersion: <1.8.0_65> bridgeWinDLLVersion: <AccessBridge 2.0.4> *** getAccessibleContextAT result is <369081228> *** getAccessibleContextAT result is <369081228> Paste push button push button enabled,focusable,visible,showing enabled,focusable,visible,showing 2 0 98 35 46 0 End of getAcceccibleContextAt info How to use above info in my autoit script. By which Detail of button i cab use. The application on which i am testing is bellow Edited January 19, 2016 by Akashrai
junkew Posted January 19, 2016 Posted January 19, 2016 For that you have to read a lot on java accessibility bridge and study source of jaws and other open source implementations of java accessibility bridge. It all starts with building a ui tree and traversing that to get the right item. And if its internally developed explain developers that they have to fill the accessibility properties. Akashrai 1 FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets
Akashrai Posted January 20, 2016 Author Posted January 20, 2016 Thanks for reply. But the application i want to automate is on client side and and we do not know any thing except GUI. In the case it seems impossible by auto it. I have searched for any other tool/spy(FREE) but did not get much. I went through Fest but do not know how to start. Any way thanks again.
junkew Posted January 20, 2016 Posted January 20, 2016 search harder ;-) https://github.com/ckundo/nvda/tree/master/source http://www.oracle.com/technetwork/java/javase/downloads/downloads-jsp-138220.html ferret and monkey it is possible from AutoIT and the JAB Simplespy shows you the basics 1. Get an element : BOOL GetAccessibleContextAt(long vmID, AccessibleContext acParent, jint x, jint y, AccessibleContext *ac) 2. Get an info reference BOOL GetAccessibleContextInfo(long vmID, AccessibleContext ac, AccessibleContextInfo *info); 3. Get the text by using the reference you get in step 2 BOOL GetAccessibleTextInfo(long vmID, AccessibleText at, AccessibleTextInfo *textInfo, jint x, jint y); FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets
junkew Posted January 20, 2016 Posted January 20, 2016 I searched a little further and played with JABSimpleSpy Its all working with demo's as can be found in JDK ..\jdk-8u25-windows-i586-demos\jdk1.8.0_25\demo\jfc\SwingSet2 And as you have shown you get with JABSimpleSpy the text of your button the concept fully works Combined with this where we iterate the tree from top to bottom another AWT monitor found using same Java Access Bridge https://docs.oracle.com/cd/E17802_01/j2se/javase/technologies/accessibility/docs/jaccess-1.3/doc/AWTMonitor.html FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets
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