Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 15:30

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Problem mit _FFCLICK _FFXPATH

Discussion on Problem mit _FFCLICK _FFXPATH within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
emil's Avatar
 
elite*gold: 520
Join Date: Aug 2006
Posts: 65
Received Thanks: 5
Problem mit _FFCLICK _FFXPATH

Hallo vieleicht kann ja wer Helfen bitte, ich hab nen Problem mit:
<a id="belize3.de.battleofcrowns.com" class="playButton" href=""></a>
--------------------------------------------------------------------

_FFClick(_FFXPath("/html/body/div[2]/div[2]/div/div/div/table/tbody/tr/td[8]/a[@id='belize3.de.battleofcrowns.com']", "", 9))

oder

_FFClick(_FFXPath("//*[@id='belize3.de.battleofcrowns.com']"))

beides geht, aber er akzeptiert warscheinlich nur ein doppelklick :-( Java
zumindest zeigt er immer sowas an beim ausführen.

hat wer ne Idee wie man das umgehen kann ? Nächste Seite direckt laden geht nicht, da man einen Token brauch.

Danke für eure Hilfe
emil is offline  
Old 09/10/2013, 15:58   #2
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Sofern es kein größeres Projekt werden soll kann ich dir nur WinHttp / TCPSend- & Receivepackets ans Herz legen, da es deutlich schneller geht und plattformunabhängig ist (bis auf die .exe aber mit plattformunabhängig mein ich den Browser)
alpines is offline  
Old 09/10/2013, 17:47   #3
 
emil's Avatar
 
elite*gold: 520
Join Date: Aug 2006
Posts: 65
Received Thanks: 5
winhttp: da waren wir schonmal aber das Hilft nicht weiter am Ende stehen sämtliche Daten in einer langen Datei zum Auslesen. Also versuche ichs erstmal mit _FF

Nur ich bekomme einfach den Link nicht geklickt, kennt sich da keiner aus?

was ist falsch dran:

_FFClick(_FFXPath("html/body/div[2]/div[2]/div/div/div/table/tbody/tr/td[8]/a", "textContent", 9))
emil is offline  
Old 09/10/2013, 18:13   #4
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Schau doch erstmal was _FFXPath returnt, vielleicht ist der Return falsch.
alpines is offline  
Old 09/10/2013, 22:27   #5
 
emil's Avatar
 
elite*gold: 520
Join Date: Aug 2006
Posts: 65
Received Thanks: 5
er gibt jetzt immer das selbe aus > 1
egal wie ich das umgestalte er zeigt es ja auch an !

siehe Konsole:

Code:
__FFSend: FFau3.xpath=null;try{FFau3.xpath=FFau3.WCD.evaluate("//*[@id='playNow']",FFau3.WCD,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue;}catch(e){'_FFXPath_Error: '+e;};
__FFRecv: http://battleofcrowns.com/de/index.html - {toString: function() {...}, href: "http://battleofcrowns.com/de/index.html", target: "", download: "", ping: "", rel: "", hreflang: "", ...}
__FFSend: try{FFau3.simulateEvent(FFau3.xpath,'MouseEvents','click');}catch(e){'_FFCmd_Err';};
__FFRecv: 1
emil is offline  
Reply


Similar Threads Similar Threads
[Problem]Habe ein Problem und zwar spinnt mein VPC etwas(ohne Grund)?!
07/28/2011 - Metin2 Private Server - 10 Replies
Also wie schon gesagt meins Server spinnt wodurch kiks usw. kommen :( ich lade euch die Screens in den Anhang, mit der Hoffnung, dass ihr mir helfen könnt :) wäre echt sehr nice :)



All times are GMT +2. The time now is 15:30.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.