| || |
UFT and WinObject values
I'm somewhat of a newby to UFT.
I have created a test script that produces a WinObject for a windows notification bar that asks the user to download a file.
My problem is that the name of the file that is generated in the preceding steps is not always the same. The name of the file comes
from the date/time. Obviously, my test run doesn't work b/c the new file that is generated in the windows notification bar contains
a different name each time I execute. Can I change the WinObject values to some sort of wildcard so that it will recognize it and let
For example, the Object Spy shows the Object's text (property) value could be "Do you want to open or save filename abcd?
Problem is the "abcd" name changes each time to something different.
Simple regular expression you can have in OR for property value is - Do you want to open or save filename.*.
You can refer other Regex options available to suite required pattern matching. Let know if it could solve your problem.
Worked like a charm Pashin. Thanks!