In image there is a date "Monday, September 06, 2004" between 2 navigation images. These components are in a webtable. QTP is recognizing the date as WebEdit component and navigation images as Image. What i want to do is i want QTP to display my own date of same format stored in datatable rather than "Monday, September 06, 2004". I have tried WebEdit.Set method but QTP generates error that object is disabled. I can record any date by clicking navigation images but I want to display a fix date.
Can anyone suggest me how to set the date using WebEdit or its container WebTable.
Hi Niru thanks for your reply. I have been able to solve this problem by using Object property of WebEdit component and then using Value property of it.
Now i want to call a vbsrcipt method. Look at the code below of the image attached this code is enclosed in script tag with language property set to vbscript. I want to call the method LoadSelectDate() through QTP. Is it possible to call this method from within QTP using Object property pf page object?
Thanks to you Mark. B for putting such an effort. The solution you provided could be helping to me I would try to implement it by trigering event methods.
What i want to do is i want to call a user defined method (rather than event method) defined in a script tag in a html document like we access html controls properties using Object property of Page object (IE DOM Model).
I have tried Object property to invoke user defined methods but got an error. I think if we can set/get properties of html controls using Object property then we should be able to do same with user defined methods.