Micro Focus QTP (UFT) Forums
How to set a value if webEdit control is disabled? - 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 set a value if webEdit control is disabled? (/Thread-How-to-set-a-value-if-webEdit-control-is-disabled)



How to set a value if webEdit control is disabled? - rohit.kum.02@gmail.com - 12-24-2015

very new to any forum including this forum.
unable to find source where i can put my question.
sorry, if this is not suitable place to put question

seeking help for:-

 how to set a value if webEdit control is disable , webEdit control is used for accepting DOB of a traveler.

using this code

Code:
Browser("title:=.*").Page("title:=.*").WebEdit("html id:=ContentPlaceHolder1_rptRooms_rptTraveller_0_txtAge_0").Set "26/Dec/1990"

and getting error "Object is disable"

Thanks


RE: How to set a value if webEdit control is disabled? - vinod123 - 12-30-2015

Code:
Browser("micclass:=Browser").Page("micclass:=Page").WebEdit("name:=txtFromDate").Object.Value="2012-1-11"


can u send the image of the calendar control