object does not support this property or method - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: object does not support this property or method (/Thread-object-does-not-support-this-property-or-method) |
object does not support this property or method - sk.aravind - 10-21-2009 hi all I am novice in QTP i need to select a value from the database. i need to double click the value to populate it in the front end so i used Code: browser(x).page(x).webelement("innertext"= &value).click the particluar value is just selected i need to double click it to populate it to the front end so i tried Code: browser(x).page(x).webelement("innertext"= &value).Doubleclick object does not support this property or method for this line.wat could be the problem thanks Aravind RE: object does not support this property or method - Saket - 10-21-2009 try using fireevent(ondblclick) Code: browser(x).page(x).webelement("innertext"= &value).FireEvent "ondblclick" RE: object does not support this property or method - sk.aravind - 10-23-2009 thanks a lot buddy. its working fine i ve got another problem now i ve got 2 records in my table with the same properties so when i use the command Code: browser(x).page(x).webelement("innertext"= &value).FireEvent "ondblclick" qtp is not able to identify the record properly since there are 2 identical records Is there any possibility for selecting the 1 st record or the 2 nd one thanx aravind RE: object does not support this property or method - Saket - 10-23-2009 Use one more property to uniquely identify your object, like you may use index here. RE: object does not support this property or method - sk.aravind - 10-23-2009 thanks for the prompt reply buddy. thanx aravind |