04-08-2009, 01:13 PM
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?
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