Bug 16201 (NewlineFault) - Pidgin rows containing more than one line gets recorded as multiple lines thus not producing correct python code when convert button is clicked.
Summary: Pidgin rows containing more than one line gets recorded as multiple lines thu...
Alias: NewlineFault
Product: LDTP
Classification: Unclassified
Component: Editor (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high major
Assignee: Nagappan Alagappan
QA Contact: Shreyank Gupta
Depends on:
Reported: 2008-06-02 09:15 UTC by Shreyank Gupta
Modified: 2008-06-27 23:02 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Note You need to log in before you can comment on or make changes to this bug.
Description Shreyank Gupta 2008-06-02 09:15:08 UTC

Pidgin rows containing more than one line gets recorded but only the 1st line appears in the converted code which produces error on playing.

Steps to Reproduce: 

    1) Run LDTP Editor. Select always on top.

    2) Open Pidgin beside it.

    3) Click 'Start' button. Single click to select one or two rows on Pidgin   which contain multiple lines displayed on it(name on one line, status on next).
    4)See them get recorded as multiple lines.

    5) Click 'Stop' button. Then click convert.

    6) Click on the Generated Code tab. Notice that only the 1st of the multiple lines gets converted. 
    7) Click Play. You will get an failure.

Actual Results: Faliure

Expected Results: Correct code generated which produces the desired results on being played and gives a success report.

Platform: Mandriva Linux 2008.0 i586
Comment 1 Shreyank Gupta 2008-06-02 12:21:45 UTC
Useful Data>>>

Recorded code :

wait (2)
selectrow ("frmBuddyList", "ttbl0", "kuchi")
wait (2)
selectrow ("frmBuddyList", "ttbl0", "sourav dutta
higHly  Available")

converted code:

from ldtp import *
from ldtputils import *

	selectrow ("frmBuddyList", "ttbl0", "kuchi")
	selectrow ("frmBuddyList", "ttbl0", "sourav dutta   //here
except LdtpExecutionError, msg:
Comment 2 Nagappan Alagappan 2008-06-27 23:02:01 UTC
Thanks for the bug report. Fixed in git.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.