I am a newbie to QTP / Automation testing. I want to
develop a script that creates a data file automatically
with proper headings using VBScript in QTP.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More QTP Interview Questions

explain virtual object? in detailed? pls any one explain me?

4 Answers   Cap Gemini,


HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?

0 Answers   Wipro,


how to test one edit box using dotnet addin for Web Applications? write script?

2 Answers   NTT Data,


What are the main differences of qtp and win runner?

0 Answers  


What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this

0 Answers  






How do you configure QTP AND Test director?

0 Answers  


does qtp need record and playback in realtime. plz tell exactly wat happens

3 Answers   HP,


Hi I am new to QTP. we are planning to implement automation for the application. I am trying to execute the following script: Set ExcelObj=CreateObject ("Excel.Application") ExcelObj.WorkBooks.Add Set NewSheet=ExcelObj.Sheets.Item(1) NewSheet.Name="Order" ExcelObj.Cells(1, 1).Value = "Name" ExcelObj.Cells(1, 2).Value = "Ordernum" ExcelObj.Cells(2, 1).Value = "nam" ExcelObj.Cells(2, 2).Value = "21" ExcelObj.ActiveWorkbook.SaveAs "c:\test1.xls" ExcelObj.Quit Set ExcelObj = Nothing in the above script for the line(ExcelObj.Cells(2, 2).Value = "21") it is inserting the value 21 successfully.this is fine But if i want to insert a variable instead of the constant value then what should be the modification in the script. For example: If user retrives a value throug "GetRoProperty" and wants to insert the value into then how the script changes?

1 Answers  


What test you perform mostly? Regression or retesting in your testing process?

0 Answers  


How can I find out whether a word in a string is existed or not for example "QTP IS A POWERFULL TOOL FOR AUTOMATION" How can i find out whether "powerfull" is existed in the above string or not Could anyone answer it?

7 Answers   Livetek,


This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?

0 Answers  


What is the default add-ins in qtp?

0 Answers  


Categories