now a days which one is using all companies for qtpscript
a)Object Repository based script
b)Descriptive program based script
c)BOTH
Answer Posted / rajesh
Hi,
For your question that actually depends on the application not on the company .
If your AUT is ready and stable , then you can go for Object repository . Here is a clause like if your application is loaded with GUI objects then the size of the OR becomes huge , this may effect the performance of scripts .
So in this scenario you may go far DP .
As per my knowledge based on the System, we can go .
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the Disadvantages of shared object repository?
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
whare exactly we have to use functions and sub routain
I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.
Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma
What is the use of an object spy tool in qtp?
can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process
Does QTP run in any environment?
How do you handle multiple banners(at the top the page, the banner is scrolling) in a web page(Dont take the name property(regular expression))
Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.
How to customize qtp?
Can we use index on view?
How will you declare a variable in qtp?
banking project description for software tester