Micro Focus QTP (UFT) Forums
Object doesn't support this property or method: 'webedit' - 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: Object doesn't support this property or method: 'webedit' (/Thread-Object-doesn-t-support-this-property-or-method-webedit)



Object doesn't support this property or method: 'webedit' - Divya Roopa - 03-07-2014

Hi,
Im getting the below error when im trying to enter a text in Email id text field.Can any one please help me.Im a beginner to QTP.

Object doesn't support this property or method: 'webedit'

Code:
Line (11): ".webedit("name:=login","htmltag=INPUT").Set("xxx")".



RE: Object doesn't support this property or method: 'webedit' - basanth27 - 03-10-2014

Probably it should be,

Code:
htmltag:=INPUT



RE: Object doesn't support this property or method: 'webedit' - Divya Roopa - 03-10-2014

Hi Basanth,
Thanks for the reply.For the below code i could see the text displayed in the text field sometimes whereas sometimes it throws the below error.Can you suggest me why i could run succesfull sometimes and why not sometimes.Thanks in Advance
Code:
Systemutil.Run("http://www.yahoomail.com")
With browser("title:=Sign.*")
    With .page("title:=Sign.*")
         .WebEdit("name:=login","htmltag:=INPUT").Set "xxx"
         .WebEdit("name:=passwd").Set "yyy"
         .webbutton("name:=Sign In").Click
    End With
End with

Cannot find the "[ WebEdit ]" object's parent "[ Browser ]" (class Browser). Verify that parent properties match an object currently displayed in your application.

Code:
Line (4): ".WebEdit("name:=login","htmltag:=INPUT").Set "xxx"".


Tip: If the objects in your application have changed, the Maintenance Run Mode can
help you identify and update your steps and/or the objects in your repository.


RE: Object doesn't support this property or method: 'webedit' - basanth27 - 03-11-2014

Probably there is more than one webedit of the same property you have defined. Try to add a different unique property between the webedits.