How open an excel sheet in QTP(not a run time )?
Answer Posted / cxv
Set ExcelApp = CreateObject("Excel.Application")
ExcelApp.Application.Visible = True
Set ExcelBook = ExcelApp.Workbooks.Add
ExcelBook.Worksheets(1).Cells(1,1).Value="A"
ExcelBook.Worksheets(2).Cells(1,1).Value="Ra"
ExcelBook.SaveAs "C:\test1.xls"
ExcelApp.Quit
Set ExcelApp = Nothing
msgbox "Completed"
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)
Explain the check points in quicktest professional?
What is the use of sendkeys and what are send keys
how can we compare descriptive programing with a regular expression
Hi. I have completed B.TECH(CS) , But I will go to "SECURITY CONSOLE OPERATING" [C.C CAMERA abservation]. IF interviwer asks " Why you choose this job ?" What we will say? urgent.........................urgent...........
How to break the object spy ?
How to open a new test using quicktest professional?
how to idetfy which test cases are automated?who will deside that plz tell me
Hai anyone please "Explain about Framework in QTP?"
Can you list some technologies that support qtp?
When do go for loop condition in test?
any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in
An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?
How does you test a weblink which is changing dynamically?
what is supply chain management?