Click on highlighted target
I have a web page in which I need to find a link (in a table), but depending on which user I log in as, the table place changes and the row in which the link appears in changes. I can get Foxtrot to highlight my link, but it clicks in a different place on the page (almost) every time I log into a different user. PS: I can't use Bypass Mouse because clicking the link opens a pop-up box where an item needs to be selected from a drop down.
I feel like I've tried everything. Unfortunately, the actual link doesn't have a consistent ID or class name (the table has a class but not the link I'm after). Not only does the table I'm using have different rows for each user, but there are several tables above the link I need to click that vary for each account.
I log into anywhere from 10 to 50 accounts per day using this script and I have to constantly monitor it because no matter what I do, Foxtrot can't find the highlighted link (or the exact target).
Also - I'm unable to download any free third-party programs to help (i.e. Google OCR).
I'm desperate! Any suggestions?
-
Hi,
I would recommend you to use one of these approaches:
https://support.foxtrotalliance.com/hc/en-us/articles/360023770832-How-To-Automate-IE-With-VBScript
https://support.foxtrotalliance.com/hc/en-us/articles/360024967691-How-To-Use-py-commands-uia-v0-0-1-UIA-based-Commands-
The idea is to get the target's details first, and then based on that information perform the action (click, send etc).Hope this helps :)
Please sign in to leave a comment.
Comments
1 comment