Jump to content

AutoIt Web response


 Share

Recommended Posts

First of all.. my english is not good. sorry for that

I want to observe my website. 

I used _IECreate,_IEGetObjByName etc..for watching script

But here is problem.

$oIE = _IECreate("http://somesite.com",1)
$oInputs = _IETagNameGetCollection($oIE, "a")
$oClick=""
For $oInput In $oInputs
   If $oInput.id = "PC" Then
      $oClick = $oInput
      ExitLoop
   EndIf
Next
_IEAction($oClick,"click")
$sClick=""
For $sInput In $oInputs
   If $sInput.innertext = "08-19" Then
      $sClick = $sInput
      ExitLoop
   EndIf
Next
_IEAction($sClick,"click");If I Click "08-19" then webpacket is gone. This is diffrent from upside's "PC" Click

If I do _IEAction($sClick,"click") (This Object is javascript ->a href= javascript:setReserveTime('20150819');) then

web source is diffrent from upside.

I want to handle web response after click "08-19"

But Upside's $oIE object is not changed. After clcick "08-19" then, $oIE Object is still not clicked state.

How can I solve this problem..?

Thanks for reading

 

Edited by Foxlot
Link to comment
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
 Share

  • Recently Browsing   0 members

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