Frequent Visitor.. Ken123
Frequent Visitor..
98 views

UFT regular expression not working when recording using "low level recording" type

Could someone please help me? When using low level recording my tests fail when replayed as the betslip id changes each time. I have tried using regular expression but have so far been unsuccessful.

clipboard_image_0.png

0 Likes
2 Replies
Micro Focus Expert
Micro Focus Expert

Re: UFT regular expression not working when recording using "low level recording" type

hi, there

it looks like the Window object has a different property value(s) during the replay time. Please check the object and compare with the one in Object Repository. maybe you can use a regular expression in the OR.

thanks.

James

0 Likes
Frequent Visitor.. Ken123
Frequent Visitor..

Re: UFT regular expression not working when recording using "low level recording" type

Hi there, thanks for your reply.

The slip id  which is in the window name changes each time the test is ran thats why the object is different. 

I have tried to use regular expression but it does not work for me when using low level recording. 

Below is the original recording. How would I apply regular expression to this low level recording?

clipboard_image_0.png

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.