Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Unable to isolate and click on object in IE

$
0
0

I am looking into automating running a report in Business Objects. It is basically a web page, which has single sign on so no need to automate the login. I am having some trouble getting it to click on the button or link, I think because of all the javascript. I have tried a couple of different methods, such as getting the object by name, id, innertext, etc. Can anyone offer some suggestions, or tell me if this is simply going to resist all attempts at automation? Any suggestions are appreciated (even if it is that I am SOL) :)

 

 

I can see there is the one Frame, and can see the innertext, but unsure how to click on the one button.

  1. #include <IE.au3>
  2.  
  3. $oIE = _IEAttach("SAP BusinessObjects")
  4. Local $oFrames = _IEFrameGetCollection($oIE)
  5. Local $iNumFrames = @extended
  6. For $i = 0 To ($iNumFrames - 1)
  7.     Local $oFrame = _IEFrameGetCollection($oIE, $i)
  8.     MsgBox(0, "Frame Info", _IEPropertyGet($oFrame, "innertext"))

My goal is to hit either the button at the top or the link next to the image:

 

Inbox.png

 

And this is the source

 

Attached File  BO.txt   10.84KB   4 downloads

 


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>