Ranorex 5.4.1
Windows 7 Pro
Java 1.7.0_80
Using GetAttributeTextValue() on a Java element returns a string containing "[Java Object]" instead of the actual text value of the object. I've had to re-code several modules to use GetAttributeValue().ToString(), which does work.
This worked correctly in 5.3.2, but changed in 5.4.1 (I don't know about 5.4.0).
BUG: GetAttributeTextValue() on Java element
BUG: GetAttributeTextValue() on Java element
Shortcuts usually aren't...
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: BUG: GetAttributeTextValue() on Java element
This is essentially the same bug as described in this forum thread:
http://www.ranorex.com/forum/does-not-m ... tml#p33969
The Element.GetAttributeValueText method just converts the attribute value to a string, which is broken for Java objects in 5.4.0 and 5.4.1.
Sorry for the inconveniences! We will definitely fix the issue with the upcoming service release 5.4.2.
Regards,
Alex
Ranorex Team
http://www.ranorex.com/forum/does-not-m ... tml#p33969
The Element.GetAttributeValueText method just converts the attribute value to a string, which is broken for Java objects in 5.4.0 and 5.4.1.
Sorry for the inconveniences! We will definitely fix the issue with the upcoming service release 5.4.2.
Regards,
Alex
Ranorex Team