I want to clear the webedit field without using set"" in
qtp script
For this, we can use the Objects' Native properties and set
the value of the field as empty,as in the below code..
Browser("brwQTP").Page("pgQTP").Frame("top").WebEdit
("txtLoginUserID").Object.Value=""
| Is This Answer Correct ? | 14 Yes | 5 No |
Explain different type of event trigger option.
What is the difference between Dim And Redim
4 Answers Hotel Jobs, IBM, Microsoft,
what is standalone database
Why QTP is termed as a Record and Playback tool?
What are the steps involved in recovery scenario wizard?
What are the Features & Benefits of Quick Test Pro ?
How many types of status are there?
How 2check the color of the text in the textfield . say suppose the text entered in the textfield object is appearing in red. so i want to check whether the text is in red color or not. It could be great help for me if any one solve's my issue. plz...help
Explain in brief about the QTP Automation Object Model.
What is the maximum size of Object Repository in QTP 8.2?
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?
what is descriptive programming? what are the mandotory properties in qtp? what are libriry functions in qtp? what frame work you are using at your project? what is object repositery? what is our role as per qtp project is concerned as a software tester?