Sign in to follow this  
Followers 0
LOULOU

secure frames IN HTTPS PROTOCOL

9 posts in this topic

dALE,

iS THERE A WAY TO ACCESS TO FRAMES IN HTTPS PROTOCOL UDF ie AUTOMATION RETURN AN ERROR WITH THIS PROTOCOL

Thanks

Share this post


Link to post
Share on other sites



yOU LEFT YOUR CAPSLOCK ON AND STILL PRESSED THE SHIFT KEY WHEN STARTING A SENTENCE.

yOU CAN VERY EASILY LOOK AT YOUR POST BEFORE CLICKING "aDD rEPLY" TO SEE SOMETHING IS WRONG.

tHANK yOU

THIS-IS-ME


Who else would I be?

Share this post


Link to post
Share on other sites

u mean like a https peek Function ???

or something more to accessing frames?

check return value of the Function : Check microsofts Return values for those function and work with cases from there...


http://www.myclanhosting.com/defiasVisit Join and contribute to a soon to be leader in Custumized tools development in [C# .Net 1.1 ~ 2.0/C/C++/MFC/AutoIt3/Masm32]

Share this post


Link to post
Share on other sites

dALE,

iS THERE A WAY TO ACCESS TO FRAMES IN HTTPS PROTOCOL UDF ie AUTOMATION RETURN AN ERROR WITH THIS PROTOCOL

Thanks

<{POST_SNAPBACK}>

The DOM acts the same for HTTP and HTTPS -- there should be nothing unique required.

If you are having trouble, please post some code (you may have to try to reproduce it on a gnerally accessible site so that I can see the interaction). If I have some trouble in IE.au3 regaring frames this would help me get it isolated.

Dale


Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Share this post


Link to post
Share on other sites

The DOM acts the same for HTTP and HTTPS -- there should be nothing unique required.

If you are having trouble, please post some code (you may have to try to reproduce it on a gnerally accessible site so that I can see the interaction).  If I have some trouble in IE.au3 regaring frames this would help me get it isolated.

Dale

<{POST_SNAPBACK}>

Dale,

Go to the following adress : http://www.filbanque.com and try to acess to the forms input name _cm_pwd

The name of the frame is "MAIN"

yOU CAN't access to the frame and you have an error object

Share this post


Link to post
Share on other sites

I don't have any trouble...

#include <IE.au3>

$oIE =_IECreate( )
_IENavigate($oIE, "https://www.filbanque.com/filbanque/frame.cgi")

$main = _IEFrameGetObjByName($oIE, "main")

$form = _IEFormGetObjByName($main, "saisie")
$pwd = _IEFormElementGetObjByName($form, "_cm_pwd")
_IEFormElementSetValue($pwd,"FooBar")

Dale


Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Share this post


Link to post
Share on other sites

LOL OMG I was about to post some code how to do it...

Thanks to you dale Now I know how !!!

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

#include <IE.au3>

$oIE =_IECreate( )

_IENavigate($oIE, "https://www.filbanque.com/filbanque/accueil.cgi")

_IEFormElementSetValue($oIE.document.GetElementById("_cm_pwd"),"wootwoot")

This goes directly to the password and username page

Edited by shism2

Share this post


Link to post
Share on other sites

#include <IE.au3>

$oIE =_IECreate( )

_IENavigate($oIE, "https://www.filbanque.com/filbanque/accueil.cgi")

_IEFormElementSetValue($oIE.document.GetElementById("_cm_pwd"),"wootwoot")

This goes directly to the password and username page

<{POST_SNAPBACK}>

OK thanks to all

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0