mindcrime Posted February 14, 2013 Share Posted February 14, 2013 Hallo zusammen, komme seit Jahren mit AutoIt eigentlich recht gut und schnell zurecht, doch an einem Problem hänge ich jetzt schon tagelang fest. Im IE soll ein "Formular" ausgefüllt werden, doch ich finde keinen Weg, die Felder anzusprechen. Selbst der DOM-Inspector sagt, es gibt kein Formular und somit keine Formfelder auf der Seite. Vermutlich liegt es daran, dass das "Form" in JS geschrieben ist. Es gibt dort nur DIVs und ein TABLE. Die Felder darin sind simple Inputs wie dieser: <input type="text" name="sid10" id="sid10" value="0" /> Wenn ich zB AU3 Info nutze, bekomme ich folgende Infos unter Control: Class: Internet Explorer_Server Instance: 1 ClassnameNN: Internet Explorer_Server1 Name: Advance Mode: [CLASS:Internet Explorer_Server; Instance:1] ID: Text: Position: 0,114 Size: 1680, 869 ControlClick Coords: 920, 551 Style: 0x56000000 ExStyle: 0x00000000 Handle: 0x0004048c Kein Feld hat einen Namen, ne ID oder Text, obwohl diese ja im Quellcode vorhanden sind. Mit MouseControls kann ich nicht arbeiten, da die Felder und Positionen dynamisch sind. Einfach mit Name und ID, wie im Quellcode werden die Felder leider auch nicht angesprochen. Gibts da vllt doch eine narrensichere Methode, die Elemente aufzuspüren und direkt anzusprechen? 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