https://bugzilla.gnome.org/show_bug.cgi?id=683466 LDTP | ldtp2 | 2.3.0
Summary: enterstring() swaps string Classification: Other Product: LDTP Version: 2.3.0 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: ldtp2 AssignedTo: ldtp-dev@lists.freedesktop.org ReportedBy: f.paet...@gmail.com QAContact: ldtp-dev@lists.freedesktop.org GNOME version: --- Hi, the following code produces not always the desired output. mostly it's '213' or '123'. #! /usr/bin/env python2 from ldtp import * launchapp('gedit') waittillguiexist('*-gedit') print(enterstring('123')) i thought it might be a timing problem so i tried this: #! /usr/bin/env python2 import time from ldtp import * launchapp('gedit') waittillguiexist('*-gedit') for c in '123': print(enterstring(c)) time.sleep(0.7) and it seems to work. best regards friedrich -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ LDTP-dev mailing list LDTP-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/ldtp-dev