History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WET-234
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Sowmyashree
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
WET

DomElementWrapper: Adding a property that already exists to the DOMElementWrapper does not throw an exception

Created: 17/Sep/06 05:02 AM   Updated: 23/Jan/07 04:06 AM
Component/s: Script Assistant
Affects Version/s: 0.9.8_beta1, 0.9.8 Final
Fix Version/s: 1.2

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
In the unit test, I use:


/This method tests the AddProperty() method of DomElementWrapper
           //and tests whether Adding a definition type property that already exists. Throws exception
           DomElementWrapper newobj = new DomElementWrapper(DomElementType.Browser);
           newobj.AddProperty("key", "oldvalue", "definition");
           newobj.AddProperty("key" ,"somenewvalue","definition");

This method show an exception stating that the property already exists. However it doesn't

This variant of the method is probably never called and therefore it is safe to classify as Minor

 All   Comments   Work Log   Change History      Sort Order:
Raghu Venkataramana - 23/Jan/07 04:06 AM
Not affecting the actual application. Can fix later.