How you automate test scripts



How you automate test scripts..

Answer / william_vijay

we can automate test scripts by means automation reference
model,by which we can automate the qtp iteself

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Tell me Three major differences between QTP & Winrunner?

2 Answers  


How to get the run time object property without using GetROProperty

4 Answers  


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  


Associated files in QTP?

1 Answers  


How can we perfom Action and Component parameter.?

1 Answers   EDS,


How many types of recording modes in qtp? Which will be used when?

0 Answers  


How to run scripts 1,29,3,5,7,2 scripts using test batch runner in QTP.... Ie...I wanted to run scripts not in an order 1,2,3,4,5...like that How it is possible using test batch runner... I dont want hardcoded script

0 Answers   IBM,


Is it possible to convert QTP scripts to Silk scripts?

2 Answers   Sierra Atlantica,


Set DR= CreateObject("Mercury.DeviceReplay")

2 Answers  


What is an environment variable?

1 Answers  


The xls contain data. how to get number of columns form the sheet?

4 Answers   Virtusa,


What is the process for creating an automated test script using QTP assuming you have reviewed the manual test case and understand the requirements?

1 Answers   Infosys,


Categories