Page 1 of 1

Application Title Bar Changes

Posted: Tue Jul 24, 2012 4:36 pm
by j.early
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

Re: Application Title Bar Changes

Posted: Wed Jul 25, 2012 12:26 am
by IanF
Have you tried making the first part of the title a regular expression?

Re: Application Title Bar Changes

Posted: Wed Jul 25, 2012 7:39 am
by artur_gadomski
Or use different attribute in you rxpath. Maybe processName?

Re: Application Title Bar Changes

Posted: Thu Jul 26, 2012 12:16 pm
by j.early
different attribute did the trick fellas,

cheers