Editorial / Best Answer
chitta10
File system object is to create a file where you can store your informations and also read. Have a look to my exemple I think you can understand it.
SystemUtil.Run "iexplore.exe","","C:Documents and Settingsuser18Desktop",""
Browser("Google").Page("Google").Link("Gmail").Click
Browser("Google").Page("Gmail: Email from Google").Sync
Dim x,y
Set x = CreateObject("Scripting.FileSystemObject")
Set y = x.Createtextfile("d:testfile.xls",true)
If Browser("Google").Page("Gmail: Email from Google").Exist Then
y.writeline("step1 login details is pass")
else
y.writeline("step1 login details is fail")
End If
Browser("Google").Close
Thanks and regards,
CHITTA.
what is a file system object in QTP
Profile Answers by vamsi.krishna09 Questions by vamsi.krishna09
Questions by vamsi.krishna09
Editorial / Best Answer
chitta10Profile Answers by chitta10 Questions by chitta10
File system object is to create a file where you can store your informations and also read. Have a look to my exemple I think you can understand it.
SystemUtil.Run "iexplore.exe","","C:Documents and Settingsuser18Desktop",""
Browser("Google").Page("Google").Link("Gmail").Click
Browser("Google").Page("Gmail: Email from Google").Sync
Dim x,y
Set x = CreateObject("Scripting.FileSystemObject")
Set y = x.Createtextfile("d:testfile.xls",true)
If Browser("Google").Page("Gmail: Email from Google").Exist Then
y.writeline("step1 login details is pass")
else
y.writeline("step1 login details is fail")
End If
Browser("Google").Close
Thanks and regards,
CHITTA.
Related Answered Questions
Related Open Questions