Jump to content
Macro Express Forums

MEP - Datatel Silverlight Web UI - Get Control


Recommended Posts

Good morning,

 

I use MEP for data entry into our Datatel system. We are moving from desktop UI to a Silverlight web UI product. Many of my macros use controls (pop-up type alerts) to determine the next course of action.

 

I am unable to capture controls using 'Get Control' in the web UI. The capture utility does not recognize the individual alert pop-ups just the entire Silverlight screen. I was able to use pixel color as a work around on a simple macro. This simply will not work on the more complicated scripts as some alert pop-ups contain text that is used to determine the next step.

 

Is anyone currently using MEP with Datatel Silverlight UI? If so, how do you deal with the alert pop-ups?

 

Love the forum and appreciate any suggestions.

 

Thanks, Marte

Link to comment
Share on other sites

Anytime you have Java or other web based program you will not be able to use controls. However using the Internet Explorer automation API with some VBScript you can still interact with them programmatically.

Link to comment
Share on other sites

  • 2 months later...

Cory,

 

Thanks for the help. I found a previous post with the an example of the VBScript you used to extract the HTML code and it works perfectly. Unfortunately the script download from Silverlight never changes no matter what is on the screen, it looks like some of the code is hidden.

 

Do you know if there is another way to make this work?

 

Thanks, Marteb

Link to comment
Share on other sites

If it's hidden in a java applet, silverlight, flash or that sort the HTML download will not work for you. I am not certain but I believe one can use the IE automation API to do it. I've never used it to extract text but rather to fill out forms. Works really slick. All the input fields are properties of the object and one simply sets the properties and push the button which is a method. My guess is that you could probably get at the contents with properties of the object. I tried with a Java interface once and thought for sure it would be 'hidden' but found all the fields accessible.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...