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

Key: WET-54
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Raghu Venkataramana
Votes: 0
Watchers: 0
Operations

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

For each object operation, do a check_exists and print appropriate error if object is not found

Created: 17/May/06 05:11 AM   Updated: 04/May/07 04:47 AM
Component/s: Test controller
Affects Version/s: 0.8.0, 0.9.8_beta1, 0.9.8 Final
Fix Version/s: 1.2

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: < 0.9.1.80


 Description  « Hide
While looking at WET-47,it is clear that sometimes you need to explicitly check whether or not an object exists. One should never have to do this in scripts. For example, if you say:

radio.set

then the test runner should automatically check whether or not the object exists and report a failure if the radio button doesn't exist. This doesn't happen. Instead one has to explicitly call:

if radio.is_exists
    radio.set
else
     reporter.ReportError("Radio button doesn't exist on screen"
end

 All   Comments   Work Log   Change History      Sort Order:
Raghu Venkataramana - 04/Aug/06 02:06 AM
This is important to have before 1.0