How we can add objects to the object repository during the
running?is it possible or not?explain
Answer Posted / raju
I think it's possible, using the setToproperty.u can add
the one 0r more property's in runtime
SCRIPT:
OH.setTOpropery "property name","propery value"
If u have any doubt just give me the call:
09823257761
pune-14
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is output value? How many types of output values are there in qtp?
Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri
Have you used xml check point in your project?
What are the data types in qtp?
Generic function to search for the unique link in webtable and click on it
What is optional step in qtp? How you can add optional step in qtp?
What are the advantages of Object Repository?
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 many types of status are there?
i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.
How QTP identify the system time that's changes every seconds?
How to get Traceability matrix from TD?
What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????
Client is able to provide budget..he want you to choose the automation tool for the web application? which one you will select ? QTP or Selenium ? what are the reasons?