Bug 504551 - TrackBar text interface returns text value prefixed with UTF-8 looking bytes
Summary: TrackBar text interface returns text value prefixed with UTF-8 looking bytes
Status: RESOLVED DUPLICATE of bug 484189
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - General (show other bugs)
Version: Unspecified
Hardware: x86 openSUSE 11.1
: P3 - Medium : Normal
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-16 04:26 UTC by Brian Merrell
Modified: 2009-05-16 04:34 UTC (History)
0 users

See Also:
Found By: Integration Test
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Merrell 2009-05-16 04:26:26 UTC
PROBLEM STATEMENT

I am a bit confused, but it looks like I am getting a UTF-8 value back from the text interface of a TrackBar's "slider" accessible.  The value I expect is "1".  I am getting back a "1" in a string, but it appears to be prefixed with some UTF-8 bytes.  The value I am getting is '\xe2\x80\x8e1', that is, a "1" prefixed with "\xe2\x80\x8e".  Obviously, my test fails because '1' != '\xe2\x80\x8e1'.  "\xe2\x80\x8e" alone (without the "1", appears to be a blank space or something).

REPRO

1.  Run Accerciser and open the "IPython Console" tab
2.  Run uia2atk/test/samples/trackbar.py
3.  In Accerciser, browse to and select either of the "slider" accessibles of the trackbar.py (ipy) application
4.  In Accerciser's IPython console, do the following:

ti = acc.queryText()
ti.getText(0, ti.characterCount)

RESULTS

'\xe2\x80\x8e1' is printed to the IPython console

EXPECTED RESULTS

I am expecting just a '1'
Comment 1 Brian Merrell 2009-05-16 04:34:19 UTC
Oops, Ray already logged this bug.

*** This bug has been marked as a duplicate of bug 484189 ***