What is runtime objects and test objects? What is the
difference between them?
Answers were Sorted based on User's Feedback
Answer / naren
TEST OBJECT:A test object is an object that QuickTest
creates in the test to represent the actual object in the
application.QTP stores information about the object that
will help to identify and check the object during the test
run.
RUNTIME OBJECT:Is an actual object in the application on
which methods are performed during the test run.
| Is This Answer Correct ? | 36 Yes | 10 No |
Answer / priya
Test objects are basic and generic objects that QTP
recognizes. Run time object means the actual object to
which a test object maps.
Test Object is an object that QT creates in the test to
represent the actual object in the application.QTP will
store information about the object that will help you
identify the object during test run.
Run time Object is an actual object in the application on
which methods are performed during the test run.
| Is This Answer Correct ? | 10 Yes | 5 No |
Answer / satyanj
Test Object is the state of the object during recording.
Runtime object is the state of the object during running
the test.
| Is This Answer Correct ? | 7 Yes | 5 No |
Answer / mukti prakash
>Test objects are the QTP (HP) defined classes that are used to represent the objects in your application under test (AUT). The information about these objects is stored in object repository.
Runtime objects are the actual AUT objects in your application which a Test object refers to during the test run. The information about these objects can be accessed using Object Spy.
>Test object methods are methods that QuickTest recognizes and records when they are performed on an object while you are recording a test, and that QuickTest performs when your test runs.
Runtime object methods are the methods of the object in your application as defined by the object creator(the developer!). You can access and perform runtime object methods using the .Object property.
| Is This Answer Correct ? | 1 Yes | 0 No |
Test objects are the objects which are stored in Object Repository while recoding application.
Runtime Objects are the objects which are in AUT and while replay the script the Test objects maches the property of AUT object, if it matches then the script doing action on the object.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / naveen
Test Object:
Test Objects are QTp defined Classes used to represent
various objects in applicationunder test.
Run Time Object:
Runtime Objects are actual application under test object
which a Test object refers/points to during test execution.
While running script QTP compares Test Object with Run Time
Object to check Object
Existsence in the application.
| Is This Answer Correct ? | 1 Yes | 4 No |
Answer / sreekanth,9900697098
while recording qtp lern objects as a runtime objects and
stores into object repository as atest objects.
| Is This Answer Correct ? | 5 Yes | 23 No |
How to take screen shot of desktop by using vb script code or is there any method?
Hi Friends, I'm new to QTP. I want to write a function in QTP for below senario. In an Excel sheet column B, I Have 10 Url/Links, and in Colum A there is a Flag as Y and N. My test should run only on those iterations which are flagged as Y. Please help, Thanks
How to Analyze the Checpoint results with Standard Checpoint ?
what is throw object ?
Hi Friends, I have an application that is having some options to choose. While doing business transaction I need to select one option among from available options. But here the thing is, we won't get one option which we've chosen already and the available options will get automatically from the system with time basis, moreover each and every option having with various label names respective to that option. So obviously if I run my recorded script will automatically gets fail, even though it got pass at first time. Could anyone please give me appropriate solution for this. I would be greatly obliged with you if you give the solution as soon as possible.
how will check the links in multiple pages at a time
Can we use Virtual Objects in Discriptive Programming?
How can we retrieve the Bug Ids which are open&Reopen in status through QTP scrit?Please find the script which i tried... Dim objBugFactory, objBug Dim BugId Set TDConnection = QCUtil.TDConnection Set objBug = TDConnection.BugFactory If QCUtil.IsConnected then Reporter.ReportEvent 0, "Connected", "Connected to server: " + QCUtil.TDConnection.ServerName + chr (13) +"Project: " + QCUtil.TDConnection.ProjectName + chr (13) + "Domain: " + QCUtil.TDConnection.DomainName Reporter.ReportEvent 0, "Current time on server is","==>" & TDConnection.ServerTime Else Reporter.ReportEvent 1, "Not connected", "Not connected to Quality Center" End If If mybug.Status="Open" Then BugId=mybug.DefectId MsgBox BugId End If 'OR**********************************--------------------- -----********************************** If Bug_Fields("BG_STATUS").Value ="Open" Or "Re Open"Then BugId=Bug_Fields("BG_BUG_ID").Value MsgBox BugId End If
I want to grow as a Automation Engineer,Kindly help me in clearing my interview that what interviewer looks for as a Automation Engineer. I am having three years of experience in testing.
Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?
The interviewer asked me when u recorded one application.object repository properties are saved with .tsr extention. in qtp expert view wherever mouse is there that snapshot displayed in active screen but some recored script lines are not displyed in actives screen y?
What does it mean when a check point is in red color? what do u do?