rendered paste body>>> from ldtp import *
>>> from ldtputils import *
>>> text='
File "<stdin>", line 1
text='
^
SyntaxError: EOL while scanning single-quoted string
>>> text="""
... hi
... testing"""
>>> settextvalue ('frmComposeMessage', 'txt6', text)
settextvalue ( frmComposeMessage , txt6 ,
hi
testing )
Send packet <?xml version="1.0"?><REQUEST><ACTION>settextvalue</ACTION><ID>206814132</ID><CONTEXT>frmComposeMessage</CONTEXT><COMPONENT>txt6</COMPONENT><ARGUMENTS><ARGUMENT><![CDATA[
hi
testing]]></ARGUMENT></ARGUMENTS></REQUEST>
Received packet size 149
Received response Packet <?xml version="1.0" encoding="utf-8"?><RESPONSE><ID>206814132</ID><STATUS><CODE>0</CODE><MESSAGE>Successfully completed</MESSAGE></STATUS></RESPONSE>
1
>>>