Thank you, Zeljko, for your crystal-clear answer, using which the issue got 
resolved.  Using the similar answer you have given to a different thread, I was 
unable to resolve the issue using that (because I was continually trying with 
the '.enabled' option and ignored the '.exists' options completely.  I am sorry 
for that).  If had dwelled a bit more on that answer or explored all of its 
options, the issue could have been resolved then.  Two more questions,

1.  How you came to know that there is a word called "cell", which can be used 
to check the contents of a table cell.  Is that documented somewhere?  If so, 
can you point me to the link where all these different types of objects, which 
can be referred to in Watir, are given?

2.  why does watir say "undefined class 'element' for frame' when executing the 
following statement:

ie.frame("Detail").element(:text,"Step 2. Inventors").exists? 

Does'nt the word 'element' signify some general object?

The following is for Bret, who had asked me to give the 'html' of disabled 
tabs.  Bret, the html for one of the disabled tabs is as follows:

Active Element: [TD], Frame: [Detail], Index: [41] 
 <TD class=tab_disabled_label 
background=/iam/images/tab_inactive_bg.png>Step&nbsp;2.&nbsp;Inventors</TD> 

Just for your information, the html of one of the enabled tabs is as follows:

Active Element: [TD], Frame: [Detail], Index: [36] 
 <TD class=tab_enabled> 
 <IMG class=tab src="/iam/images/tab_right_inactive_noline.png"></TD> 

Thanks,
Vijay.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=5711&messageID=16466#16466
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to