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 |
Tell me Three major differences between QTP & Winrunner?
How to get the run time object property without using GetROProperty
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?
Associated files in QTP?
How can we perfom Action and Component parameter.?
How many types of recording modes in qtp? Which will be used when?
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
Is it possible to convert QTP scripts to Silk scripts?
Set DR= CreateObject("Mercury.DeviceReplay")
What is an environment variable?
The xls contain data. how to get number of columns form the sheet?
What is the process for creating an automated test script using QTP assuming you have reviewed the manual test case and understand the requirements?