Browser("MyBrowser").Page("MyPage").Frame("Frame") .MyCustomTextBox("txtUserName").Object.setAttribut e "text","smorhaim"
<-- This works well because I am using Web Extensibility, however to interact directly with the interface to my objects that the developers provided me, i need to do the Object.setAttribute to set the value... in other words.. that is the same as doint .Set "smorhaim" < however Set doesnt work on my custom objects.
My question is, how do I create my own methods for objects, or how do I override a method like Set? So that I can make an Alias, or a short version of Objet.setattribute "text"... ?
(I also have other attributes, for dropdowns, checkboxes, etc.. so it is important to do so.. thanks )
1. LR Version: LR 9.5
2. protocol: Web (HTTP/HTML)
3. HTML-Advanced with URLs: No
4. URL mode: N/A
5. LR FP: N/A
6. VuGen Recording: New Engine
7. Web & Multimedia 1700 - Oracle E-Business 100
8. support/maintenance contract active: yes
9. Windows 2003 R2
10. Did not file