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

Key: WTR-110
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Parv
Votes: 0
Watchers: 1
Operations

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

links in show_all_objects in class IE

Created: 06/Oct/06 10:28 AM   Updated: 31/Jan/07 08:18 PM
Component/s: Show commands
Affects Version/s: 1.5.0/1.5.1
Fix Version/s: Future

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: windows xp, .net 2.0, i.e. 6.0


 Description  « Hide
If a developer doesn't assign an id or name to a link the method show_all_objects() of class IE, doesn't provide much info about the link. I think this method should be modify to output the text and url of a link object, at the very least.
Check out the output, of ie.show_all_objects(), below:

1. radio name=rd1 id= value=No alt= src=
2. name= id=
3. name=ptisLink id=ptis2
4. radio name=email_frequency id= value=daily alt= src=
5. radio name=email_frequency id= value=Weekly alt= src=
6. radio name=email_frequency id= value=monthly alt= src=

Lines 2 and 3 represent links on the page.
Link in line 2 was not assigned a name or id attribut.

Also the name (or type of the control, i.e. button, radio, text field) of controls of type link is not being listed, unlike 'radio'.

Thanks for looking into this.
Parv,

 All   Comments   Work Log   Change History      Sort Order:
Bret Pettichord - 19/Dec/06 07:51 PM
Personally i have found that that show_commands are mostly obsolete now that we have the IE DOM Explorer.