Which function is used to accesses the Properties from
Repository


Pls anybody can give the answer.. Thanks in advance...

Answers were Sorted based on User's Feedback



Which function is used to accesses the Properties from Repository Pls anybody can give the ans..

Answer / uday kumar _ anem

The question is about the properties in the Object Repository.
So we use "GetTOProperty".

If you want the properties of the object in the application,
then we use "GetROProperty".

Is This Answer Correct ?    7 Yes 0 No

Which function is used to accesses the Properties from Repository Pls anybody can give the ans..

Answer / amarendra kothuru

You can retrieve object property values using GetROProperty
method at runtime.

E.g: retrieves the textbox value into var_Value variable
var_Value = Browser("test").Page("test").WebEdit
("test1").GetROProperty("value")

Is This Answer Correct ?    4 Yes 3 No

Post New Answer

More QTP Interview Questions

What are the types of object repositories? Which one is you are using?

0 Answers  


Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.

0 Answers  


tell me the script for envirnment value parameeter with an example. which situation envirnment valu parameter is used

2 Answers   HCL,


How can we use XML in QTP?

1 Answers  


How can you write the scripts that operate on different objects depending on run-time information?

0 Answers  






I m new to QTP? Is it necessary to know VB for learning QTP for Automation? Can I understand QTP excellently Without practical automation?

3 Answers  


hi all, I want to know about the QTP scripts, i have read more books but all areis to be a theory so how can i improve my script skills. if anybody knows about qtp scripts plz guide me and i need a sample scripts.my mail id is karthis4u@gmail.com, 9986667831 If you all have any data send it to akadi111@gmail.com

3 Answers  


What is the Command used to start the QTP

0 Answers   HCL,


What is the difference between analog and low level recording?

0 Answers  


How to create log file in qtp?

2 Answers   AppLabs,


how do u retrieve data from a database ? i.e. i want to retrieve 2nd record only from a database ? write code for this. by using ADODB connecton, RSOBJ and using a FOR loop we can retrieve all the records( ex: if we give query as select * from emp). but i want only 2nd record. so how to acheive this.

2 Answers   Accenture,


1. What is extense of Result file in QTP?

7 Answers  


Categories