I am a beginner plz tell me,how do we write scripts in QTP?
In my opinion we can write scipts in expert view or there
is another option where we can write scripts. plz tell me.
Answer Posted / aparna.v
We can write the scripts either by recording the
application or manually entering the objects in the object
repository and writing the code in expert view
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why we load add-ins in qtp?
in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?
How to find the length of the string in qtp?
what is description object?
Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)
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
If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?
When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti
How to build scripts that access data from external sources?
how will you check how many members visited the website www.infosys.com?
How to record a qtp script ?
Explain different checkpoints in qtp.
What are the different attributes used with regular expression?
what type of run time errors you get while you ar edoing rpg program?
Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,