Hi all,
our application places the name of the current open file in its Title Bar.
For example, with no file open, the value of the title bar is:
"No Data Set - Imaris x64"
When a image file is opened, it is listed as:
"HeLaCell.ims - (name not specified) - Imaris x64"
or
"CellDemoMembrane3D.ims - CellDemoMembrane3D - Imaris x64"
Now, I don't really want my repo saving this "titlebar" information as part of the XPath of the object itself, as it changes for every image file, but I want to be able to run the same script, without any issues and get the same result, not dependent on the image.
I have tried to map all the names in a excel file, bind them to a variable and then use them depented on the image under test but it was a no go.
Am guessing this will require user code if there no easy way of doing it from within the UI.
Thanks in advance for taking the time.
Regards
J
Application Title Bar Changes
Re: Application Title Bar Changes
Have you tried making the first part of the title a regular expression?
Ian Fraser
- artur_gadomski
- Posts: 207
- Joined: Mon Jul 19, 2010 6:55 am
- Location: Copenhagen, Denmark
- Contact:
Re: Application Title Bar Changes
Or use different attribute in you rxpath. Maybe processName?
Re: Application Title Bar Changes
different attribute did the trick fellas,
cheers
cheers