I want to clear the webedit field without using set"" in
qtp script
Answer Posted / 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 View All Answers
How does qtp identify the object in the application?
RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?
What are benefits of qtp?
What is the parameterization?
How to create scenario selector
Difference between copy to action and call to action?
What is the use of running the scripts in Hidden-mode in UFT?
What is qtpro?
what is ODC and GDC?
What is environment variable in qtp and why to use it?
How do I generate Test Results window using descriptive method ( run time ) after my test execution process? Please have a look of my below code. ========================================================= Dim qtApp Dim qtTest Dim qtResultsOpt Set qtApp = CreateObject("QuickTest.Application") qtApp.Launch qtApp.Visible = True qtApp.Options.Run.CaptureForTestResults = "Always" qtApp.Options.Run.RunMode = "Fast" qtApp.Options.Run.ViewResults = True qtApp.Open "C:\Automation\Example", True Set qtTest = qtApp.Test qtTest.Settings.Run.OnError = "NextStep" Set qtResultsOpt = CreateObject ("QuickTest.RunResultsOptions") qtResultsOpt.ResultsLocation = "C:\Automation\Example\Res1" qtTest.Run qtResultsOpt MsgBox qtTest.LastRunResults.Status qtTest.Close Set qtResultsOpt = Nothing Set qtTest = Nothing Set qtApp = Nothing ========================================================== This code is working fine, but Test Result window is not displaying after execution. Anybody can please help me regading the same. Thanks Akshaya Madali Capgemini India Pvt Ltd 9823213538
How can you write the scripts that operate on different objects depending on run-time information?
What are parameterizing tests?
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...