Hello my friend,
I have no clue how to automate this app.
It's a IE desktop web app. I have seen some of the tutorial item but dead end.
Can you help?
Thank's!
Heres's a picture of the app.
https://u.pcloud.link/publink/show?code ... qUXkOl2u5y
Here's the code behind the window.
https://u.pcloud.link/publink/show?code ... f8K8b5H2lV
IE Desktop app
Moderators: Dorian (MJT support), JRL
-
- Pro Scripter
- Posts: 90
- Joined: Fri Jan 31, 2020 10:52 am
Re: IE Desktop app
Hi!
I have this caption from Windows System tool for the window
133054 - HwndWrapper[InsuranceElements.Clients.SunLife.Desktop.exe;;c1f561cf-668e-4831-b687-18d2b1e84b0e] "Sun Life Illustrations - Sun Life Financial"
So, the question is do I access a control. Sure with keystoke and mouse move, find image, I can achieve it but I want the script to be robust.
Thank you for your insight!
I have this caption from Windows System tool for the window
133054 - HwndWrapper[InsuranceElements.Clients.SunLife.Desktop.exe;;c1f561cf-668e-4831-b687-18d2b1e84b0e] "Sun Life Illustrations - Sun Life Financial"
So, the question is do I access a control. Sure with keystoke and mouse move, find image, I can achieve it but I want the script to be robust.
Thank you for your insight!
- Dorian (MJT support)
- Automation Wizard
- Posts: 1378
- Joined: Sun Nov 03, 2002 3:19 am
- Contact:
Re: IE Desktop app
I find IEFormFill works best with the <select><option>
Side Note : "If the field is a SELECT object it is possible to select an item based on it's index, rather than actual value, by specifying fieldvalue as:
#INDEX#:n where n is the zero based index of the item."
Code: Select all
<select producthasstrategy="True" selectlist="System.Collections.Generic.Dictionary`2[System.String,System.String]" sorted="False" usergroup="" class="persistable chosen-select" id="coverages_0__TermID" name="coverages[0].TermID" style="display: none;"><option selected="selected" value="4_SLF_PAR_BASE_PROT_LIFEPAY">Life Pay</option>
<option value="4_SLF_PAR_BASE_PROT_LIMPAY10">10 Pay</option>
<option value="4_SLF_PAR_BASE_PROT_LIMPAY20">20 Pay</option>
</select>
Code: Select all
IEFormFill>IE[0],,,coverages[0].TermID,10 Pay,,res1
#INDEX#:n where n is the zero based index of the item."
Yes, we have a Custom Scripting Service. Message me or go here
-
- Pro Scripter
- Posts: 90
- Joined: Fri Jan 31, 2020 10:52 am
Re: IE Desktop app
Thank you for your reply Dorian!
Question. How will I get the IE_Reference. This is a stand alone app with a wrapper.
Instance of IE is already created. So the other way it's with the IEGetFromURL command, but I don't see how this command could work with this wrapper.
Again thank for your help.
Question. How will I get the IE_Reference. This is a stand alone app with a wrapper.
Instance of IE is already created. So the other way it's with the IEGetFromURL command, but I don't see how this command could work with this wrapper.
Again thank for your help.