Jump to content

Recommended Posts

Posted

I use autoit with java library + selenium. + IE 8.0

Is there any way to get to the window, written in ASP Classic (AutoIT see the window, but can't see the content in this window (buttons, links etc.)

  • Moderators
Posted

Yes

(Seriously, do you have an example page, any test code you've used, anything that deserves an answer other than the obvious?)

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

  • 1 month later...
  • Moderators
Posted

Try using _IE* functions.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

  • Moderators
Posted (edited)

Can I download the app and look at it?

Edit:

Wait, Selenium/Java, are you using the AutoItX.dll ?

Edited by SmOke_N

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

  • Moderators
Posted

AutoItX.dll is not going to be able to access that data.

That's internet explorer information.  So you'll have to see if Jacob library (no idea what that is) or selenium (pretty sure it does from the little I've read on it the past week) can access the IDispatch data.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted (edited)

This form looks like a normal IE Page.

Why you are trying to use Selenium ?

edit: typo

Edited by mLipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted
  On 1/14/2015 at 11:05 PM, SmOke_N said:

That's internet explorer information.  So you'll have to see if Jacob library (no idea what that is) ....

 

http://sourceforge.net/projects/jacob-project/

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted
  On 1/14/2015 at 11:33 PM, mLipok said:

 

Because Selenium can't see any code in this system dialog window and I am looking for a different way of using AutoIt

Posted (edited)
  On 1/14/2015 at 11:40 PM, lamcpp said:

 

 

Because Selenium can't see any code in this system dialog window and I am looking for a different way of using AutoIt

 

 

So you do not need to use Selenium

just look here:

https://www.autoitscript.com/autoit3/files/beta/autoit/docs/libfunctions.htm

for _IE.... function collection.

_IEAction()
_IEAttach()
_IEBodyReadHTML()
_IEBodyReadText()
_IEBodyWriteHTML()
_IECreate()
_IECreateEmbedded()
_IEDocGetObj()
_IEDocInsertHTML()
_IEDocInsertText()
_IEDocReadHTML()
_IEDocWriteHTML()
_IEErrorNotify()
_IEFormElementCheckBoxSelect()
_IEFormElementGetCollection()
_IEFormElementGetObjByName()
_IEFormElementGetValue()
_IEFormElementOptionSelect()
_IEFormElementRadioSelect()
_IEFormElementSetValue()
_IEFormGetCollection()
_IEFormGetObjByName()
_IEFormImageClick()
_IEFormReset()
_IEFormSubmit()
_IEFrameGetCollection()
_IEFrameGetObjByName()
_IEGetObjById()
_IEGetObjByName()
_IEHeadInsertEventScript()
_IEImgClick()
_IEImgGetCollection()
_IEIsFrameSet()
_IELinkClickByIndex()
_IELinkClickByText()
_IELinkGetCollection()
_IELoadWait()
_IELoadWaitTimeout()
_IENavigate()
_IEPropertyGet()
_IEPropertySet()
_IEQuit()
_IETableGetCollection()
_IETableWriteToArray()
_IETagNameAllGetCollection()
_IETagNameGetCollection()
_IE_Example()
_IE_Introduction()
_IE_VersionInfo()

I think this is normal IE  OnLine form.

So you can automate this with out any other stuff just using AutoIt  + standard UDF .

 

btw.

I can read in Polish

Edited by mLipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • Moderators
Posted (edited)
  On 1/14/2015 at 11:59 PM, JohnOne said:

 

ASP just creates HTML it's just a normal webpage.

#include <IE.au3>

$oie = _IECreate("http://www.w3schools.com/asp/asp_examples.asp", 1,1,1,1)

$ops = _IETagNameGetCollection($oie, "p")

For $op In $ops
    ConsoleWrite($op.innertext & @CRLF)
Next

I don't think it's that simple John.  It's an embedded browser I believe.

You might be able to get the browser object with _IEAttach(), if you can't get it that way, _IEJS_WinGetBrowserObjArray from my >IEJS.au3 Library will return the browser object.  From there, you can dump the HTML and find the data you need to work with.

Edited by SmOke_N

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...