Which function is used to accesses the Properties from
Repository


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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1478


How to use reporter.report event in qtp ?

557


I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...

1466


How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined

1465


Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)

3222






wht is Manual Testing Frame work. Pls anybody can give appropriate answers

1597


I want to write some certification courses, so friends could you guide me? which certification is best and how to write exam and what tutorials need to be studied,what to do first, I am working on automation tool QTP 9.2

1498


How to handle dynamic objects in quicktest professional?

503


Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?

589


Hi Sudhananda, plz send me the QTP framework with any diagram and PPTS . I want to switch to automatio, I done QTP from professional person, but he does not give me his knowledge properly. so pls help me Thaks send me on following address mirajkar.akash@gmail.com

1873


what is impact analysis on regression testing?

2048


hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....

2438


when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next

3279


What is quicktest professional (qtp window?

594


What the differences are and best practical application of Object Repository?

592