what is the Descriptive Progarmming? how it is help to
testers in QTP?
Answer Posted / narendra
I echo with Murali answer and one more important advantage
of DP is.. we can run the DP wherever we want without OR
setting dependencies. e.g If we have a DP for yahoo
application and we can copy and paste the DP wherever the
QTP available and yahoo application accessible then simply
run it.
Hello Indu, find the DP program for gmail login below
browser("title:=Gmail: Email from Google - Microsoft
Internet Explorer").page("title:=Gmail: Email from
Google").WebEdit("name:=Email").Set "uname"
browser("title:=Gmail: Email from Google - Microsoft
Internet Explorer").page("title:=Gmail: Email from
Google").WebEdit("name:=Passwd").SetSecure "encrypted format
of password"
browser("title:=Gmail: Email from Google - Microsoft
Internet Explorer").page("title:=Gmail: Email from
Google").WebButton("name:=Sign in").Click
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.
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
Does any one worked on JIL Emulator , Testing with QTP(automation). Trail Version of QTP is not identifying the child objects of JIL emulator, Can any one help me out ,
What is clean sweep?
We stored into the objects OR and then write the scripting
What are the challenges you faced during you entire life automation ?
How to use output values in qtp ?
What is expert view in qtp?
what are all the fileds present in object repository?
I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.
i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?
what the difference between shared repository and per action repository?
how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps
Is virtual object supported in low level recording mode?