Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


I want to clear the webedit field without using set"" in
qtp script



I want to clear the webedit field without using set"" in qtp script..

Answer / morningray

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

Post New Answer

More QTP Interview Questions

Explain different type of event trigger option.

0 Answers  


What is the difference between Dim And Redim

4 Answers   Hotel Jobs, IBM, Microsoft,


what is standalone database

1 Answers   Wipro,


Why QTP is termed as a Record and Playback tool?

1 Answers  


What are the steps involved in recovery scenario wizard?

0 Answers  


What are the Features & Benefits of Quick Test Pro ?

1 Answers   Crea,


How many types of status are there?

0 Answers  


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

5 Answers   Sinertel,


Explain in brief about the QTP Automation Object Model.

0 Answers   Crea,


What is the maximum size of Object Repository in QTP 8.2?

4 Answers   Mphasis,


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 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?

3 Answers   Wipro,


Categories