Thanks for catching the extra space!
It is not giving me an error but each time it hits the command it freezes up the program is 11 variables too much for it to handle?
Is there a lighter way to write this function?
Setting up an iMacro to recognize multiple text and click the link in that line
Forum rules
iMacros EOL - Attention!
The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely,
The Progress Team
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
iMacros EOL - Attention!
The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely,
The Progress Team
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Re: Setting up an iMacro to recognize multiple text and click the link in that line
11 Vars, nope, I wouldn't think so, even if I've never "really" tested..., but I think I've often used 5 or 6 Wildcards (in one same 'TXT' or 'HREF' Param in some 'TAG' Command, and + a few Vars), and maybe more..., and I've never noticed any "Limitation" or "strange Behaviour"...
Test with only 2 or 3 first I would say, you had only mentioned 2 Criteria when you had posted your 1st Screenshot..., like I used in my Script...
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
Re: Setting up an iMacro to recognize multiple text and click the link in that line
I tried testing it with 1 parameter and it worked fine. My problem starts when I add a second one.
Please see below for a screenshot of what the table looks like on the website and a screenshot of my CSV file. The error I am getting is that it cannot find HTML element of type "TR:" with attribute(s) "TXT:*PA*PATIENT NOT ENTERED".
The first line on the CSV fill should locate the 3rd line from the website based on just matching columns A and B. the ultimate goal is to match all columns.
VERSION BUILD=12.6.505.4525
TAB T=1
TAB CLOSEALLOTHERS
Set !DATASOURCE C:\Users\hostedservices\Documents\iMacros\CSVformacros\MInwagetest2.csv
Set !loop 2
Set !DATASOURCE_LINE {{!loop}}
SET !errorignore yes
SET !timeout_step 1
TAG POS=1 TYPE=TR attr=txt:*{{!col1}}*{{!col2}}
TAG POS=R1 TYPE=A ATTR=TXT:Edit
TAB CLOSE
Thanks again for all your help.
Please see below for a screenshot of what the table looks like on the website and a screenshot of my CSV file. The error I am getting is that it cannot find HTML element of type "TR:" with attribute(s) "TXT:*PA*PATIENT NOT ENTERED".
The first line on the CSV fill should locate the 3rd line from the website based on just matching columns A and B. the ultimate goal is to match all columns.
VERSION BUILD=12.6.505.4525
TAB T=1
TAB CLOSEALLOTHERS
Set !DATASOURCE C:\Users\hostedservices\Documents\iMacros\CSVformacros\MInwagetest2.csv
Set !loop 2
Set !DATASOURCE_LINE {{!loop}}
SET !errorignore yes
SET !timeout_step 1
TAG POS=1 TYPE=TR attr=txt:*{{!col1}}*{{!col2}}
TAG POS=R1 TYPE=A ATTR=TXT:Edit
TAB CLOSE
Thanks again for all your help.
Re: Setting up an iMacro to recognize multiple text and click the link in that line
yehuda wrote: ↑Thu Dec 31, 2020 7:03 pmI tried testing it with 1 parameter and it worked fine. My problem starts when I add a second one.
Please see below for a screenshot of what the table looks like on the website and a screenshot of my CSV file. The error I am getting is that it cannot find HTML element of type "TR:" with attribute(s) "TXT:*PA*PATIENT NOT ENTERED".
Capture3.PNG
Capture4.PNG
The first line on the CSV fill should locate the 3rd line from the website based on just matching columns A and B. the ultimate goal is to match all columns.
Thanks again for all your help.Code: Select all
VERSION BUILD=12.6.505.4525 TAB T=1 TAB CLOSEALLOTHERS Set !DATASOURCE C:\Users\hostedservices\Documents\iMacros\CSVformacros\MInwagetest2.csv Set !loop 2 Set !DATASOURCE_LINE {{!loop}} SET !errorignore yes SET !timeout_step 1 TAG POS=1 TYPE=TR attr=txt:*{{!col1}}*{{!col2}} TAG POS=R1 TYPE=A ATTR=TXT:Edit TAB CLOSE
Alright, if it works with one Var, and I guess you probably tried like this:
Code: Select all
TAG POS=1 TYPE=TR ATTR=TXT:*{{!COL1}}*
(Looks like a 'PeopleSoft' CRM App btw, correct...?)
But when you try with more than just 1 Var/Criteria, you also need to use Wildcards after/around all Vars, the Row does not finish at Col_2, ah-ah...!
=> Like this:
Code: Select all
TAG POS=1 TYPE=TR ATTR=TXT:*{{!COL1}}*{{!COL2}}*
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...