Jump to content
karl91k

AutoIt v3 info Finder tool doesn't detect label

Recommended Posts

Hi,

I'm having trouble locating a label with AutoIt v3 info Finder tool (both x64 and x86)

The app is a calculator that can be found here: https://www.mortgagecalculator.net/

Here's a screenshot of the app:

952468663_Openstatedisplay.png.e43595f236cfdc6bd0c1b45c3f01f5fe.png

I'm writing automation tests so I would need to verify the text showing on the top of the form after clicking a Find button:

720624367_TotalPaymentsdisplay.png.272b9e27741ae78926f2a979f771f7cb.png

1169061751_ERRORdisplay.png.893c6fbfcd79eb17baefee698bc26a80.png

Appreciate the help

Share this post


Link to post
Share on other sites

so if  you wanna  catch a label in page  web  you dont  use  au3info tool  but  you must use  inspect  element  of  browser  and  use   for  grab it  a  scraping  script  , the  script for scraping you can do it  with udf _IE  look in help , or  you can use  and  code  a  API if  website give it

 

Share this post


Link to post
Share on other sites

@faustf It is not the web site OP wants to automate but the downloaded version.

@karl91k you could use UIAutomation if you cannot access the fields using AutoIt v3 info Finder tool.  See FAQ 31 for more information.

Share this post


Link to post
Share on other sites
8 hours ago, faustf said:

i follow  the link  https://www.mortgagecalculator.net/  

and  i dont saw  a  download exe  app  sorry

I also didn't see any link for a download.

They may have simply removed it from the site in the meantime.

Interacting with the site can be done with the webdriver.

As i cannot download said calculator, can't help in that angle.


Spoiler

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Inconspicuous - Hide files in plain sight, not fully encrypted.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Share this post


Link to post
Share on other sites
2 hours ago, careca said:

I also didn't see any link for a download.

They may have simply removed it from the site in the meantime.

Interacting with the site can be done with the webdriver.

As i cannot download said calculator, can't help in that angle.

here's the link sorry: https://www.mortgagecalculator.net/download

Share this post


Link to post
Share on other sites
3 hours ago, careca said:

I also didn't see any link for a download.

See site map, there is a download section...

Share this post


Link to post
Share on other sites

You're right, it's under webmaster.


Spoiler

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Inconspicuous - Hide files in plain sight, not fully encrypted.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Share this post


Link to post
Share on other sites
Posted (edited)
On 6/9/2020 at 6:48 AM, HurleyShanabarger said:

Just use the Control Viewer from here:

 

Control Viewer can't detect the label as well

Edited by karl91k

Share this post


Link to post
Share on other sites
11 minutes ago, karl91k said:

website is down

Don't bother, it won't help you either.  If au3info.exe tool doesn't show rightful information, it means you need to go with UIAutomation, as I already told you.

Share this post


Link to post
Share on other sites
14 hours ago, Nine said:

Don't bother, it won't help you either.  If au3info.exe tool doesn't show rightful information, it means you need to go with UIAutomation, as I already told you.

how does UIAutomation does work? I read, but didn't understand. Is it a library I need to include in my script or a control/handle finder tool?

Share this post


Link to post
Share on other sites
6 minutes ago, karl91k said:

Is it a library I need to include in my script or a control/handle finder tool?

Both.  There is two options that are offered to you.  You can use UIAutomation directly or use UIAutomation wrappers.  In both cases there is a finder tool.  Once you know how to access the control, you will create a script using UDF library includes.  The best way to start is to run demo script and learn from it.

Share this post


Link to post
Share on other sites
On 6/11/2020 at 3:04 PM, Nine said:

Both.  There is two options that are offered to you.  You can use UIAutomation directly or use UIAutomation wrappers.  In both cases there is a finder tool.  Once you know how to access the control, you will create a script using UDF library includes.  The best way to start is to run demo script and learn from it.

I'm getting this error after executing the UISpy with all the required UDFs inside the Includes folder.

gui error.png

Share this post


Link to post
Share on other sites
Posted (edited)
On 6/11/2020 at 3:04 PM, Nine said:

Both.  There is two options that are offered to you.  You can use UIAutomation directly or use UIAutomation wrappers.  In both cases there is a finder tool.  Once you know how to access the control, you will create a script using UDF library includes.  The best way to start is to run demo script and learn from it.

did you tried yourself? because seems like both UIAutomation and the wrappers can't detect the label either

Edited by karl91k

Share this post


Link to post
Share on other sites

I also couldn't find the text with UIAutomation.. only the buttons and the input fields..

Why don't you use the calculator online? it's probably the best option right now.

Shouldn't be too hard, with _ie functions.


Spoiler

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Inconspicuous - Hide files in plain sight, not fully encrypted.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Share this post


Link to post
Share on other sites

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

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...