IE_ExtractTag crashes if tag is not present

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Tester
Junior Coder
Posts: 22
Joined: Fri Mar 20, 2009 2:48 pm

IE_ExtractTag crashes if tag is not present

Post by Tester » Mon Aug 17, 2009 8:32 am

I got a time counter in a dynamic web page in the SPAN tag number three, counting down to zero. After that, a new page is loaded, that contains only 2 SPAN tags.

I used the following code with WebRecorder 2.01/2.0 with MS 10 and all worked fine:

Repeat>%TimeLeft%
Wait>1
IE_ExtractTag>%IE[0]%,,SPAN,3,0,Buffer,TimeLeft
Until>%TimeLeft%=0

When I use WebRecorder 2.1/2.05 with MS 11, the IE_ExtractTag reports the following error message when the new web page is loaded, that contains only 2 SPAN tags:

Line xxx: Error Calling DLL - Possible wrong number or type of parameters.

The debug file contains:

17.08.2009 10:00:39:558 - START: Wait>1
17.08.2009 10:00:40:572 - END: Wait>1
17.08.2009 10:00:40:572 - START: IE_ExtractTag>0,,SPAN,3,0,Buffer,TimeLeft
17.08.2009 10:00:41:260 - END: IE_ExtractTag>0,,SPAN,3,0,Buffer,TimeLeft
17.08.2009 10:00:41:285 - START:
17.08.2009 10:00:41:297 - END:
17.08.2009 10:00:41:307 - START: Until>Error Calling DLL=0
17.08.2009 10:00:41:311 - END: Repeat>Error Calling DLL
17.08.2009 10:00:41:315 - START: Repeat>Error Calling DLL
17.08.2009 10:00:41:323 - END: Repeat>Error Calling DLL

Any advice?

Tester
Junior Coder
Posts: 22
Joined: Fri Mar 20, 2009 2:48 pm

Post by Tester » Thu Aug 20, 2009 2:08 am

Could anybody verify that it is only me having this problem, please?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts