Hi all,
In my case, I want to display several images according to a id. The url may looks like ~/genplots?id=20150401134514. I wrote "raise web.seeother('/genplots?id=%s' %(idstring))" with " '/genplots\?id=(\d*)', 'genplots'". But it won't match url correctly and I got error message ""HTTP/1.1 GET /genplots" - 404 Not Found" with expected url in the browser's address field.
However, if I use encoding "raise web.seeother('/genplots'+'%3Fid%3D'+idstring)", it shows correct image set with message ""HTTP/1.1 GET /genplots?id=20150401134514" - 200 OK". But the url in the browser was "~/genplots%3Fid%3D20150401134725" rather than "~/genplots?id=20150401134725". Is there a way to fix this issue? I searched but didn't find proper example code. Thanks a lot.
Best Regards,
-Yongzhi