Did you face the problem, changing the properties of an
object in Run Time?

Answer Posted / sandeepguttikonda

Yes I have faced the problem of changing the object
properties during run time.

1) Try to write a function that captures the run time
properties by using GetROproperty method and update them in
the Object Repository by using SetTOproperty.

2) You can also use Maintenance Run mode in QTP which helps
in updating the changed peoperties in Object Repository.

Please let me know if you need any further info.

Regards,
Sandeep Guttikonda.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the things(properties, and other details) will be recorded while recording an object using normal recording?

1734


Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..

4489


How to build scripts that access data from external sources?

1822


I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)

1665


What does it mean when a check point is in red color? What do you do?

797


What is the extension of qtp local repository?

770


what is the difference between modular framework & datadriven framework

1800


Is it possible to change the values of analog recording?

821


wht type of User defined functions or Java Releated functions do we write in VB scripting

2022


iam have done mba(finance)in 2008. in 2008 one reputed consultancy came off campus interview our institution. i got job as "manual test engineer". now iam working as "manual testing engineer". now my problem is when iam going interview the interviewer asking like " ur mba gradute how can u get job in test engineer." this question i have faced every interview. iam explaining how iam getting job. but they are not trust me". pls tell me answer how i am giving relavent ans.. this is my mail id y.ramana84@gmail.com

1614


When Recovery scenario actually starts while testing the application?

1772


What is the difference between analog and low level recording?

848


Explain the types of object repositorys in qtp?

789


Hi ,Can any one pleas explain how to test splash objects using QTP?

2134


How to use transactions in qtp?

744