Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP Regular Expressions & Image Checkpoints
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
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
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
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)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
At Regular Expressions for e-mail address ganesh.dengale 6 19,154 08-23-2022, 02:51 PM
Last Post: ahmad3029
  How to disable regular expressions in a text? ttralor 6 6,709 07-05-2013, 02:44 PM
Last Post: Staff
  Need help on using regular expressions on Java Window's title qa_tester 3 5,050 02-13-2012, 10:56 PM
Last Post: madsenfr
  java window titles & regular expressions jotdog2 1 4,211 02-13-2012, 10:55 PM
Last Post: madsenfr
  Process to use Regular Expressions in QTP using screen shots. yvslraotesting@gmail.com 1 3,496 01-31-2012, 12:45 PM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 3 Guest(s)