[..] Catch ajax div (FF.au3)

Aide et conseils concernant AutoIt et ses outils.
Règles du forum
.
Répondre
vodasan
Niveau 1
Niveau 1
Messages : 1
Enregistré le : jeu. 18 nov. 2010 09:57
Status : Hors ligne

[..] Catch ajax div (FF.au3)

#1

Message par vodasan »

Hello,

I want to test my website loading. I've a ajax form login but How catch this <div> ?

Code : Tout sélectionner

_FFLinkClick("/users/login")
_FFLoadWait()
Sleep(3000) 
$formLogin = _FFObjGet("cboxWrapper");Not an object => error
while $formLogin.style.display = "block"
   sleep(200)
WEnd
 
Modifié en dernier par Yogui le ven. 13 mai 2011 22:52, modifié 1 fois.
Raison : Follow the rules of this forum ...
Avatar du membre
ZDS
Membre émérite
Membre émérite
Messages : 554
Enregistré le : jeu. 10 juin 2010 10:35
Localisation : 22300 Cul-d'chouette Langue-de-vache
Status : Hors ligne

Re: [FF.au3] Catch ajax div

#2

Message par ZDS »

Hello,

I think you can find more help on the English-speaking topics of http://www.autoitscript.com/forum. But as I see everywhere on french and english forums, "ce type d'udf ne fonctionnent que sur une page web avec du html et du php" (here is a sample link), aka FF.au3 can't do anything with a dynamic web page (the HTML source is the only thing AutoIt can work on with this UDF, an Ajax modification is not carried over to the source; of course, it's a dynamic modification, isn't it? ^^).

Sorry for these bad news :-/ But (I think) you can't catch the new inner data of your <div>.

See you !

PS: You should modify your title, it must start with [..], example [..] FF.au3 : Catch ajax div
PS2: I'm not quite confortable with english, sorry :)
ZDS : Chef de projet du nAiO (logiciel AutoIt gratuit sous licence CC 4.0 BY-NC-SA)
Tout problème a une solution, donc si il y a pas d'solution, c'est qu'il y a pas d'problème !
Répondre