Micro Focus QTP (UFT) Forums
QTP Regular Expressions & Image Checkpoints - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Regular Expressions (https://www.learnqtp.com/forums/Forum-UFT-QTP-Regular-Expressions)
+--- Thread: QTP Regular Expressions & Image Checkpoints (/Thread-QTP-Regular-Expressions-Image-Checkpoints)



QTP Regular Expressions & Image Checkpoints - QADBA - 08-18-2008

Hello @all,

i've to test some images on a page, but with every test the page has a different sid in the url.
I use an image checkpoint to test the image, but every with every image i get a failure, because the href doesn't fit.
Maybe it is possible to solve the problem with regular expressions?
I don't know to use regular expressions with image checkpoints.

Can someone help me, please?

Thanks in advance


RE: QTP Regular Expressions & Image Checkpoints - QADBA - 08-25-2008

I found the solution for my problem:
1. Click on href-property
2. Click on Constant Value Options
3. Check Regular Expressions
4. Confirm: Yes
5. Replace the sid by ".*" (cause sid is always a the end of the url)