![]() |
How to use GetRoproperty - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: How to use GetRoproperty (/Thread-How-to-use-GetRoproperty) |
How to use GetRoproperty - Maya - 09-23-2008 hi, i m using qtp for a web based application.i used below mentioned script,here GetRoproperty is not retrieving the property.Could anyone help me regarding this Code: If browser("Gmail: Email from Google").Page("login page").Exist Then error1=browser("Gmail: Email from Google").Page("login page").WebElement("erro").GetROProperty("text") RE: How to use GetRoproperty - niranjan - 09-23-2008 Using object spy, spy on the object (In your case, WebElement("erro") ). Check whether for text property, there is a value. Otherwise, choose other property like innertext, etc |