Micro Focus QTP (UFT) Forums
output text looses CRLF - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Certification UFT120-12.5-ASP (https://www.learnqtp.com/forums/Forum-UFT-QTP-Certification-UFT120-12-5-ASP)
+--- Thread: output text looses CRLF (/Thread-output-text-looses-CRLF)



output text looses CRLF - jbendsen - 04-08-2009

Hi
Below 9.5 qtp script is used to extract messages from yahoo group to another forum. CR/LF gets removed by QTP, any idea on how to get CR/LF too?

Code:
Do
Browser("Swami-G : Message: Re:").Page("Swami-G : Message: Re:").Output CheckPoint("number")
Browser("Swami-G : Message: Re:").Page("Swami-G : Message: Re:").Output CheckPoint("sender")
Browser("Swami-G : Message: Re:").Page("Swami-G : Message: Re:").Output CheckPoint("message")

Datatable.Export("c:test.xls")
iRowCount  Datatable.getSheet("Global").getRowCount
Datatable.getSheet("Global").setCurrentRow(iRowCount+1)

Browser("Swami-G : Message: Re:").Page("Swami-G : Message: Re:").Link("< Prev").Click

Loop Until false