IE Browser select JAVA/ASP item

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Michel
Newbie
Posts: 17
Joined: Fri May 20, 2011 2:12 pm
Location: Ottawa

IE Browser select JAVA/ASP item

Post by Michel » Tue May 24, 2011 7:52 pm

I'm trying to select an item within my IE browser.
I suspect said item is Java/ASP based since I cannot see item with MouseOver or PushButton

I can send screen capture to demonstrate.

I suspect I have to use HTTPPost but not sure how to go about to generate HTTP code.

Cheers,
Michel

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed May 25, 2011 8:10 am

MouseOver and PushButton cannot be used for ANY button inside Internet Explorer regardless of what technology is used to render the page. MouseOver and PushButton can only be used for standard Windowed objects and not HTML elements.

The easiest way to automate HTML elements is using WebRecorder. You can also do it with VBScript and some examples and library functions can be found on this forum.

Java and ASP are entirely different. Java based controls can't be identified using browser scripting (they are not "exposed") so would usually need to be identified via image recognition though you can blindly send keystrokes to them (so if you know the tab sequence and therefore don't need to "find" the control you can just drive the interface with keystrokes and tab through it).

ASP is a server side scripting language usually used to render regular HTML and therefore an ASP page can usually be controlled by WebRecorder. The fact that it is ASP should be transparent and irrelevant to the user. What matters is that the controls are HTML elements.

HTTPPost is different again. Don't confuse HTTP with HTML. HTTP is the protocol used to transfer data across the web. HTML is the language used to render web pages. You would use HTTPRequest to GET a web page (download it) or POST form data to a web page in the background.

If you want to drive a web interface in IE then I would recommend WebRecorder.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts