Hi. plz expalin abouit SetToProperty, SetRoProperty,
GetToProperty, GetRoProperty,GetToPrperties. with examples.
Answer Posted / umasankar
Objects in QTP are of two types.
1) Test Objects (Objects resided in Object repository, not
the exact replica of the objects resided in your
appliation. Qtp is having its own pre-defined set of
classes to identify the object(s), using the QTP classes an
object is added to repository)
2) Runtime objects (these are the exact replica of the
objects resided in your application).
GetRoProperty ---- This method is used to retrieve the
value of a runtime object (may get change during runtime)
GetToProperty ---- This method is used to retrieve the
value of test object resided inobject repository (wont
change).
SetToProperty --- This method is used to set/change the
value of the object resided in object repository (change in
the property won't reflect change(s) in the property of
runtime object)
SetRoProperty --- Not advisible to use. change in the
property of actual object may lead(s) to wrong unnecessary
results.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Explain QTP using different development techniques ?
Presently i am working on QTP 8.2 Version,i want to know features in 9.2 version, because i have not sufficient time to put the effort on the 9.2 version
Is text area check point supports for web applications?
What are the different kinds of test steps?
how to explain a claims and insurance project?
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
How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?
When ‘option explicit’ keyword is used in qtp?
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 do you open adobe acrobat file in QTP and do some testing on that file ?
how to find that tools work well with ur existing system?
How to analyzing test results using quicktest professional (qtp)?
Why bpt?
can any one say that where we can download the QTP trail version ??????????
how do i know how to use tools