Micro Focus QTP (UFT) Forums

Full Version: Regular expression in xml check point
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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