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


Please Help Members By Posting Answers For Below Questions

What is output value? How many types of output values are there in qtp?

588


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

1419


Have you used xml check point in your project?

562


What are the data types in qtp?

673


Generic function to search for the unique link in webtable and click on it

2494






What is optional step in qtp? How you can add optional step in qtp?

544


What are the advantages of Object Repository?

598


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

2584


How many types of status are there?

597


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

1031


How do you compare the structure of 2 tables in database and check whether they are similar using qtp.

1484


How QTP identify the system time that's changes every seconds?

608


How to get Traceability matrix from TD?

690


What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????

1730


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?

1237