I had a form where the text fields were not identified as WebEdit. When using the Object Spy the object was identified as a Frame or WebElement inside a Frame.
Here is the solution I have found:
Set oEdit = Browser("").Page("").Frame("Frame").WebElement("")
oEdit.object.innerText = "This is a plain text"
Source:
http://www.knowledgeinbox.com/articles/qtp/how-to/web/how-to-set-text-in-a-webelement-or-frame/
No comments:
Post a Comment