Hello TAP folks,
I’m using the FilePathAttribute in Python and can get the “Open” behavior to work in the Editor GUI, but when I select a file using the browser, it ends up using a relative path rather than an absolute path.
How do I specify that this attribute should use the absolute path?
This is the section of my test step code that builds that GUI element:
prop1 = self.AddProperty("s2pFile", None, String)
prop1.AddAttribute(OpenTap.FilePathAttribute, OpenTap.FilePathAttribute.BehaviorChoice.Open)
prop1.AddAttribute(OpenTap.DisplayAttribute, "S2P File", "Absolute path of location of s2p file to be loaded.", "Settings", 0)