Micro Focus QTP (UFT) Forums
UFT - Figuring out how to get past a Constant ID - 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: UFT - Figuring out how to get past a Constant ID (/Thread-UFT-Figuring-out-how-to-get-past-a-Constant-ID)



UFT - Figuring out how to get past a Constant ID - SerGregor - 03-05-2015

Hi,

I am having an issue trying to record opening an object with and ID that is constantly changing. I have read some articles on Learnqtp but I have not managed to successfully configure the script correctly. An example of the object ID would be: "[GO-####-####] Package Creator", where the # are randomly generated. Could any provide help or walk me through the proper steps to solving this issue.

Kind regards,

Greg


RE: UFT - Figuring out how to get past a Constant ID - akhi_s27 - 08-03-2015

Please check if this suffices your need
Code:
(?i)\[go-.{4}-.{4}\]\s+package\s+creator