Jump to content

Recommended Posts

Posted

I'm trying to automate (click) my way into a vendor application for my company. I've gotten to the 3rd page, which must be constructed differently, as nothing that worked before works on this page.

I've tried _IELinkClickByText($oIE, "Support"), returns NoMatch

and $oSubmit = _IEGetObjByName ($oIE, "Support"), also returns NoMatch

I loaded up DebugBar to see what I could find out about the control I'm trying to click, and it said:

<DIV class=btntextdiv style="LEFT: 0px; WIDTH: 150px; TOP: 0px; HEIGHT: 19px"><DIV class=f9 style="WIDTH: 150px; TEXT-ALIGN: left">Support Console</DIV></DIV>

I then went to the MSDN reference to research HTML and DIV, but I just got stuck.

So . . . any pointers anyone has, would be appreciated.

Thanks

Posted

And _IELinkClickByText($oIE, "Support Console") didn't work either?

OK, I'm embarassed to say I hadn't tried the full string. And when I did try it, it worked fine!! Doh! I thought a partial string was OK for that function.

Nahuel, Thank you very much. This was really driving me NUTS.

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
×
×
  • Create New...