Can anybody send me the code to get the RO property of the
active screen in QTP while running?
Answer Posted / kannan
hi,
Thanks for your response but i believe you havent
understand my question clearly.what i want is the code to
get the current active window's RO property.
for example, clicking a particular link in a webpage will
open a new window and i want to get the properties of that
window like name,title,hwnd but the problem is i dont know
any properties of that window till it open.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?
who QTP recognizes the object stored in object repository?
Mention the test steps of qtp.
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
you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva
What do you mean by checkpoints in qtp?
What is quicktest professional?
hou can we use vb script in qtp could u tell me breafly
How many types of parameters are available in quicktest professional (qtp)?
what is the diff between manual test plan document and automation test plan doc.can u explain indetail.
Can launch two instances of qtp on the same machine?
Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations
What is the diff between image and bitmap check point?
tell me QTP standards ?plz
what is vmodel?advantages and disadvantages of vmodel?