Hello Guys,
Can anybody Explain me about Automation framework?? and how
can we prepareAutomation Framework using QTP
Answer Posted / krishna chand
Hi,
This is very simple,
Generally we go 4 Keyword driven automation framework in QTP
For this just we need 2 create 4 files.
1.First record what ever u want and remove that script and
paste in to a note pad and make that file as a libraray
file with .vbs extension.
2. Create a recovery scenario file which u r exepceting the
exceptions with .qrs extension.
3. Create an Object Repository file with .tsr extension.
4. Create a data table file with .xls extension.
5. Combine all the above 4 files together.
Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?
Explain the check points in quicktest professional (qtp)?
Can we run test with out adding object in object repository? How it is possible?
What is the expert view?
Tell some commonly used Excel VBA functions?
How to associate shared object repository to test in qtp?
Explain QTP using different development techniques ?
What is the parameterization?
What is the difference between run time object and test object?
How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?
What are the five challenges you faced in QTP?
when to start the automation?
In qtp, how you can exit for loop?
I used the below code to open QTP through VBscript?But i can unable to Invoke QTP...PLZ help me with the correct code to invoke QTP through VBS with description of the code aswell. Dim qtApp 'As QuickTest.Application 'Declare the Application object variable Dim qtTest 'As QuickTest.Test 'Declare a Test object variable Dim qtResultsOpt 'Declare a Run Results Options object variable Set qtApp = CreateObject("QuickTest.Application") 'Create the Application object qtApp.Launch 'Start QuickTest qtApp.Visible = False 'Make the QuickTest application visible qtApp.Open "C:\form", True 'Open the test in read-only mode 'set run settings for the test Set qtTest = qtApp.Test qtTest.Run 'Run the test 'WScript.StdOut.Write "Status is: " & qtTest.LastRunResults.Status 'Check the results of the test run qtTest.Close 'Close the test qtApp.quit 'Close QuickTest Pro Set qtResultsOpt = Nothing 'Release the Run Results Options object Set qtTest = Nothing 'Release the Test object Set qtApp = Nothing 'Release the Application object