3.How to record a word doc using qtp i.e open a word
doc,type something and save the doc can someone send me the
code.
Answer Posted / jagdish
'For Excel
Set objExcel = CreateObject("Excel.Application")
objExcel.Visible = True
'Adding the workbook
Set objWorkbook = objExcel.Workbooks.Add
'Adding the text in the workbook in 1st row and 1st Column
objExcel.Cells(1, 1).Value = "Hi This is me Ashish"
'Saving the excel file
objWorkbook.SaveAs("D:\Sample.xls")
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain the types of object repositorys in qtp?
Can anyone share/send me QTP 8.2 Crack as I had it before but now it's virus affected. Pls send me on Sawale.vijay@gmail.com Thanks, ~Vijay
your coming from electrical backgroung..but y ur coming to software side?
can the activities of test case design be automated?
How is test case write?
how do you parameterize search button from the website? the page is a single winobject and i have made a virtual object button of search button but search box can't be converted into a winedit and if we try to convert it into winedit the value we enter in a searchbox appears as numbers in the script so we arent able to parameterize.help!!!
What are the advantages of parameterization ?
Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement
How do you check ticket cost and ticket number in flight application?
1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?
what are the challenges you have faced while testing web based application using the automation tools ?
Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.
in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and columns in action2. how can check using script?
What is the registration process and examination fees?
How do you do batch testing in wr & is it possible to do in qtp, if so explain?