dina Posted March 11, 2008 Share Posted March 11, 2008 Hi, I have the following code while automating the Java based application using QTP, QTP Code: JavaWindow("License Authorization").JavaCheckBox("<html><body><b>Node").Set "ON" Now, I want to automate the same function of checking the checkbox labeled "Node" in the "License Authorization" window using AutoIT. Is it possible using AutoIT? Any information would be very useful. Link to comment Share on other sites More sharing options...
rudi Posted March 11, 2008 Share Posted March 11, 2008 Hi. [snip] Now, I want to automate the same function of checking the checkbox labeled "Node" in the "License Authorization" window using AutoIT. Is it possible using AutoIT? Any information would be very useful. Use the Autoit Info Window tool to check, what AutoIt can "see" for this appl window. Regards, Rudi. Earth is flat, pigs can fly, and Nuclear Power is SAFE! Link to comment Share on other sites More sharing options...
Xenobiologist Posted March 11, 2008 Share Posted March 11, 2008 Hi, or have a look at Rational Functional Tester (RFT) Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
zfisherdrums Posted March 11, 2008 Share Posted March 11, 2008 (edited) Hello dina,Or have a look see at the ThoughtWorks' open source White Project for functional testing of Win32, WinForm, WPF and SWT (java) apps.http://www.codeplex.com/whiteInteresting stuff. Requires .NET 3.0.Zach... Edited March 11, 2008 by zfisherdrums Identify .NET controls by their design time namesLazyReader© could have read all this for you. Unit Testing for AutoItFolder WatcherWord Doc ComparisonThis here blog... Link to comment Share on other sites More sharing options...
junkew Posted March 11, 2008 Share Posted March 11, 2008 I feel Java is only possible by using bitmap recognition using pixelsearch and pixelchecksum. Maybe its possible with active accessibility thru AutoIT (search forum for active accessibility and google for accexplorer or MSAA SDK) And if you are very experienced in C programming you maybe can get it done thru Java Native Interface / JNI I am not very long using AutoIT but so far I have not found easy support for JAVA objects. FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
dina Posted March 11, 2008 Author Share Posted March 11, 2008 I could only see the window title in the AutoIT window info tool. The checkboxes and other controls like buttons, edit boxes are not displayed in window info tool. I thought of recording the window using QTP and get the object properties. When I did that i just got the code which was given in my 1st post. Then I used the window title and checkbox name displayed in that code in AutoIT and it is not working. Link to comment Share on other sites More sharing options...
zfisherdrums Posted March 12, 2008 Share Posted March 12, 2008 dina,Sorry. No native support of Java objects in AutoIt. Check out this post wherein one of the head honcos bemoans the state of Java Gui Automation.Zach... Identify .NET controls by their design time namesLazyReader© could have read all this for you. Unit Testing for AutoItFolder WatcherWord Doc ComparisonThis here blog... Link to comment Share on other sites More sharing options...
daluu Posted March 16, 2009 Share Posted March 16, 2009 The free FEST framework/tool for Java might work, though it's more developer & unit test centric. Works for Java applets too. And no it's not for AutoIt.http://code.google.com/p/fest/http://fest.easytesting.org/swing/wiki/pmw...ESTAppletViewer 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