Jump to content

matthewh

Members
  • Posts

    2
  • Joined

  • Last visited

matthewh's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Good point. I see the two browsers, but the title of the dialog window is "Uploads Images Into Document". There are no other windows with that name (at least that I can see). There shouldn't be any ambiguity conflict. I appreciate your reply.
  2. Followed the setup in the posting: http://www.autoitscript.com/forum/index.php?showtopic=87956 My simple script is the following: --------------------------------------------------------------- #include <Java.au3> $result = _JavaAttachAndWait("Upload Images Into Document") $result = _JavaObjSelect("", "File name:", "text") $result = _JavaObjValueSet("", "File name:", "text", "01.tif") $result = _JavaObjSelect("", "Open", "push button") --------------------------------------------------------------- I am attaching to a java applet running inside a web page. If I open the file dialog in the applet manually and then run the above script, the script works. If I automate the opening of the dialog through Selenium RC (basically just having Selenium commands click the html button element that invokes the applet to show the dialog), then it doesn't work. I know I might be criticized for posting the question on this group, but I think the problem might be in how the "AutoITJavaAccess.dll" is attaching to the process under the Selenium environment. Thoughts? (Any ideas, leads, solutions ;-), etc. would be great) Matthew
×
×
  • Create New...