Hi Francisco Javier Martin Gutierrez,

Francisco Javier Martin Gutierrez wrote:
Hello Marc:

I thought about you say concerning information before or after the link that could change the form to click on the link. Sorry, but I still think the same I though before. The page looks like any easy page to be analyzed. All links on the page can be followed except this kind of links. There are evidence about StoreRegEx is not working properly or this link is unsupported,

I looked into your last mails and found your RegExpression:

<storeRegEx description="Extract target location from javascript command"
      text=".*name=&quot;href&quot;.*href=&quot;javascript:eliminar(10101A,prueba 
marcos)&quot;"
      property="targetLocation" />

I do wonder how you expect this text-RegExp to match to your href-tags ???

[storeRegEx] INFO (com.canoo.webtest.steps.Step) - Message was: No match for regular expression <.*name="a".*href="elim

inar('10101A', 'prueba marcos')">

of course not!


Sorry, I wouldn't disturb anymore about this. I think I've tried all I can, so if we can't found the solution this time I will leave the problem.

Don't give up! When you provide us with the neccessary information we will able to track down the problem and provide a fixture or a workaround - usually ;-)

[...]
                <td bgcolor="#FBFBFB" colspan="3"/>

<td align="center" bgcolor="#FBFBFB"><a href="javascript:eliminar('10101A', 'prueba marcos');"><img src="imagenes/ico_eliminar.gif" alt="eliminar" width="8" height="9" border="0"></a></td>
[...]

I would suggest for your RegEx-string something like:

text="&lt;a\shref=&quot;javascript\:eliminar\(&apos;(\d{5}\w&apos; ....

what do you think;-)

--
Mit freundlichen Grüßen

Michael Habbert

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to