Sign in to follow this  
Followers 0
UNO

Automating in Oracle Apps(Oracle E-Business Suite)

3 posts in this topic

How can I get AutoIT to work in Java.

I knew what I was trying when I used Au3Info to see if the buttons in Oracle Apps can be automated.

There was no capturing of Pop-Ups and neither did it capture the Controls in that Oracle Form nor any Windows

I therefore infer that Oracle Apps is built in Java.

How can I get AutoIT to enter some info,click search button,wait till the result come,click on another button,wait for its popup, click on 3rd button,supply some file name then click upload,then reset it at the starting screen.

I searched the forums if anyone has made AutoIT to work with Java but reading all these info has made me confused.

Can you ppl guide me on this.

I need to upload around 1,00,000 image files.

Thanks in advance

Share this post


Link to post
Share on other sites



How can I get AutoIT to work in Java.

I knew what I was trying when I used Au3Info to see if the buttons in Oracle Apps can be automated.

There was no capturing of Pop-Ups and neither did it capture the Controls in that Oracle Form nor any Windows

I therefore infer that Oracle Apps is built in Java.

How can I get AutoIT to enter some info,click search button,wait till the result come,click on another button,wait for its popup, click on 3rd button,supply some file name then click upload,then reset it at the starting screen.

I searched the forums if anyone has made AutoIT to work with Java but reading all these info has made me confused.

Can you ppl guide me on this.

I need to upload around 1,00,000 image files.

Thanks in advance

Show a screen shot of the form, and what Au3Info DOES show for the window. Lots of things besides JAVA draw their own GUIs and controls (like ColdFusion/Flash). You might get away with some other techniques using x/y coords, ControlSend() with null control ID, etc.

Have you talked to whoever provided the form? They would likely be able to do a backend inport of some kind that would not involve a manually operated form.

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

I'm using AutoItX3.dll from java-based (guiserver.jar) module of newLisp.

About newLisp see newlisp.

Source of AutoItX3.lsp is the following:

;; @module AutoItX3.lsp  
;; @description AutoIt features for newLisp processings
;; @version v 1.0
;; @author Valery Ivanov, 10 September 2007
;;
;; This module defines AutoItX functions for automation MS Windows
;;
;; Include this file at the beginning of each file performing CGI processing:
;; <pre>
;; (load "C:/Program Files/newlisp/modules/AutoItX3.lsp")
;; </pre>
;;
;;  

(import "AutoItX3.dll" "AU3_Init")

; To start you have to call it
 (AU3_Init)

(import "AutoItX3.dll" "AU3_error")
(import "AutoItX3.dll" "AU3_AutoItSetOption")
(import "AutoItX3.dll" "AU3_BlockInput")
(import "AutoItX3.dll" "AU3_CDTray")
(import "AutoItX3.dll" "AU3_ClipGet")
(import "AutoItX3.dll" "AU3_ClipPut")
(import "AutoItX3.dll" "AU3_ControlClick")
(import "AutoItX3.dll" "AU3_ControlCommand")
(import "AutoItX3.dll" "AU3_ControlListView")
(import "AutoItX3.dll" "AU3_ControlDisable")
(import "AutoItX3.dll" "AU3_ControlEnable")
(import "AutoItX3.dll" "AU3_ControlFocus")
(import "AutoItX3.dll" "AU3_ControlGetFocus")
(import "AutoItX3.dll" "AU3_ControlGetHandle")
(import "AutoItX3.dll" "AU3_ControlGetPosX")
(import "AutoItX3.dll" "AU3_ControlGetPosY")
(import "AutoItX3.dll" "AU3_ControlGetPosHeight")
(import "AutoItX3.dll" "AU3_ControlGetPosWidth")
(import "AutoItX3.dll" "AU3_ControlGetText")
(import "AutoItX3.dll" "AU3_ControlHide")
(import "AutoItX3.dll" "AU3_ControlMove")
(import "AutoItX3.dll" "AU3_ControlSend")
(import "AutoItX3.dll" "AU3_ControlSetText")
(import "AutoItX3.dll" "AU3_ControlShow")

(import "AutoItX3.dll" "AU3_DriveMapAdd")
(import "AutoItX3.dll" "AU3_DriveMapDel")
(import "AutoItX3.dll" "AU3_DriveMapGet")

(import "AutoItX3.dll" "AU3_IniDelete")
(import "AutoItX3.dll" "AU3_IniRead")
(import "AutoItX3.dll" "AU3_IniWrite")
(import "AutoItX3.dll" "AU3_IsAdmin")

(import "AutoItX3.dll" "AU3_MouseClick")
(import "AutoItX3.dll" "AU3_MouseClickDrag")
(import "AutoItX3.dll" "AU3_MouseDown")
(import "AutoItX3.dll" "AU3_MouseGetCursor")
(import "AutoItX3.dll" "AU3_MouseGetPosX")
(import "AutoItX3.dll" "AU3_MouseGetPosY")
(import "AutoItX3.dll" "AU3_MouseMove")
(import "AutoItX3.dll" "AU3_MouseUp")
(import "AutoItX3.dll" "AU3_MouseWheel")
(import "AutoItX3.dll" "AU3_Opt")

(import "AutoItX3.dll" "AU3_PixelChecksum")
(import "AutoItX3.dll" "AU3_PixelGetColor")
(import "AutoItX3.dll" "AU3_PixelSearch")
(import "AutoItX3.dll" "AU3_ProcessClose")
(import "AutoItX3.dll" "AU3_ProcessExists")
(import "AutoItX3.dll" "AU3_ProcessSetPriority")
(import "AutoItX3.dll" "AU3_ProcessWait")
(import "AutoItX3.dll" "AU3_ProcessWaitClose")
(import "AutoItX3.dll" "AU3_RegDeleteKey")
(import "AutoItX3.dll" "AU3_RegDeleteVal")
(import "AutoItX3.dll" "AU3_RegEnumKey")
(import "AutoItX3.dll" "AU3_RegEnumVal")
(import "AutoItX3.dll" "AU3_RegRead")
(import "AutoItX3.dll" "AU3_RegWrite")
(import "AutoItX3.dll" "AU3_Run")
(import "AutoItX3.dll" "AU3_RunAsSet")
(import "AutoItX3.dll" "AU3_RunWait")
(import "AutoItX3.dll" "AU3_Send")
(import "AutoItX3.dll" "AU3_Shutdown")
(import "AutoItX3.dll" "AU3_Sleep")
(import "AutoItX3.dll" "AU3_StatusbarGetText")

(import "AutoItX3.dll" "AU3_ToolTip")

(import "AutoItX3.dll" "AU3_WinActivate")
(import "AutoItX3.dll" "AU3_WinActive")
(import "AutoItX3.dll" "AU3_WinClose")
(import "AutoItX3.dll" "AU3_WinExists")
(import "AutoItX3.dll" "AU3_WinGetCaretPosX")
(import "AutoItX3.dll" "AU3_WinGetCaretPosY")
(import "AutoItX3.dll" "AU3_WinGetClassList")
(import "AutoItX3.dll" "AU3_WinGetClientSizeHeight")
(import "AutoItX3.dll" "AU3_WinGetClientSizeWidth")
(import "AutoItX3.dll" "AU3_WinGetHandle")
(import "AutoItX3.dll" "AU3_WinGetPosX")
(import "AutoItX3.dll" "AU3_WinGetPosY")
(import "AutoItX3.dll" "AU3_WinGetPosHeight")
(import "AutoItX3.dll" "AU3_WinGetPosWidth")
(import "AutoItX3.dll" "AU3_WinGetProcess")
(import "AutoItX3.dll" "AU3_WinGetState")
(import "AutoItX3.dll" "AU3_WinGetText")
(import "AutoItX3.dll" "AU3_WinGetTitle")
(import "AutoItX3.dll" "AU3_WinKill")
(import "AutoItX3.dll" "AU3_WinMenuSelectItem")
(import "AutoItX3.dll" "AU3_WinMinimizeAll")
(import "AutoItX3.dll" "AU3_WinMinimizeAllUndo")
(import "AutoItX3.dll" "AU3_WinMove")
(import "AutoItX3.dll" "AU3_WinSetOnTop")
(import "AutoItX3.dll" "AU3_WinSetState")
(import "AutoItX3.dll" "AU3_WinSetTitle")
(import "AutoItX3.dll" "AU3_WinSetTrans")

(import "AutoItX3.dll" "AU3_WinWait")
(import "AutoItX3.dll" "AU3_WinWaitActive")
(import "AutoItX3.dll" "AU3_WinWaitClose")
(import "AutoItX3.dll" "AU3_WinWaitNotActive")

Application newlisp-edit.lsp is working as real java GUI. It has special console like AutoIt's SciTE.

Thus you can load AutoItX3.lsp into newlisp-edit GUI and play with commands from java's GUI:

i.e. evaluate this expression:

(AU3_Send "This is automating keystroke...")


The point of world view

Share this post


Link to post
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
Sign in to follow this  
Followers 0