Here in my automation tool, i am retreiving some values and
i need to store this values in the excel. How can i achieve
this?. We are using VBA as scripting language. please let
me know if you require any further inputs.
Answer Posted / suryanarayan mohanty
Set fs = CreateObject("Excel.Application")
If Not (fs.fileexists(FileName)) Then
Set fd = fs.createFile(FileName)
End If
Open FileName For Append As 1
Write #1, xyz, dwe, qws
Close #1
End If
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Differentiate javascript and vbscript?
what is the difference between modular and data and keyword driven framework
Which event is triggered when mouse focus comes out of an element in the vbscript language?
when we use filter funtiom invb script(QTP)
How will you get the largest subscript of an array in vbscript?
How should i Create Email invite with server-side Coding?
Explain about scrrun.dll?
how to write validation function for date in vb script
regular expression that will recognize a browser as long as its name property starts with mybrowser
can anyone tell me the procedure of interview held in applabs
did any one attended interview in applabs if you had gone through plz tell me the procedure
Hi Friends, I have an issue like the describe below: I'm using QTP and I'm testing on SharePoint. As you knoe, SharePoint has a customize function for user, so that, If I add an object Web Table at the first time, that object was recognized by "index" and "html tag", after that, if someone change the display of web part, the "Index" of my object was changed as well and QTP unable to select that Web Table. Can you guide me how to identify or anyway to keep that Web Table object as unique object? Thanks a lot.
Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar
PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com
I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?