I use the code in Version 13.1:
If>%spantype%=43
Let>SPAN43_SIZE=4098
LibFunc>hIE,ExtractTag,r,%IE[0]%,,SPAN,43,0,SPAN43
MidStr>r_6,1,r,SPAN43
Let>value=%SPAN43%
...........................
SPAN43 has been found by Webrecorder 3.
Sometimes I get the correct result
but sometimes the result is wrong, it is from another tag.
This error has not been seen before.
It started some weeks ago.
When I run the script several times it seems
that error comes first but next time it is correct.
This is not good.
What to do? (Are checking and repeating really necessary?)
Has someone else the same problem?
ExtractTag problem
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Hi,
Try initialising the variable before the LibFunc call ...
Let>SPAN43={""}
Try initialising the variable before the LibFunc call ...
Let>SPAN43={""}
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Thank you.
Your advice does not help at all.
I use this form page quite often, which shows different content.
Earlier, last year, there was not this problem.
Some form pages deliver incorrect result for this SPAN tag - other tags are correct. Instead of the tag result I get information from the page text.
In one case I get 3 errors in a row followed by 5 corrrect results.
If I repeat after 5 min the results are all correct.
I another case I get sporadic errors in the result (say 5%), which is very frustrating.
Just repeating the extract function is not a solution. I use version 13.1.03.
Have you seen this elsewhere? Is SPAN something special? Pls help.
Your advice does not help at all.
I use this form page quite often, which shows different content.
Earlier, last year, there was not this problem.
Some form pages deliver incorrect result for this SPAN tag - other tags are correct. Instead of the tag result I get information from the page text.
In one case I get 3 errors in a row followed by 5 corrrect results.
If I repeat after 5 min the results are all correct.
I another case I get sporadic errors in the result (say 5%), which is very frustrating.
Just repeating the extract function is not a solution. I use version 13.1.03.
Have you seen this elsewhere? Is SPAN something special? Pls help.
Error still remains to be corrected
The tags SPAN and DIV are not handled correctly by MS.
My reported errors are still coming.
I have today to repeat the running of the macro twice in order to get the correct result. The errors change also over time.
It is time for mjtnet to do something about this.
My reported errors are still coming.
I have today to repeat the running of the macro twice in order to get the correct result. The errors change also over time.
It is time for mjtnet to do something about this.