Micro Focus QTP (UFT) Forums
Regular expression in xml check point - 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: Regular expression in xml check point (/Thread-Regular-expression-in-xml-check-point)



Regular expression in xml check point - dima_mazyar - 07-28-2010

Hello!
I have a problem using xml check point(from resource). Actually the system I'm testing generate an xml file all the time I'm running the test with a new time stamp. So all the time test is failed, because the Qtp cannot find xml file with such name.
My check point:
Code:
XMLFile("BpsUnitInternal_0000_ACC_20100").Check CheckPoint("BpsUnitInternal_0000_ACC_20100728153800.xml")

Regular expression I used:
Code:
C:\\Rmu3\\Data\\Queues\\Verify\\BpsUnitInternal_0000_ACC_\d+\.xml