On Wednesday, January 8, 2014 12:48:37 PM UTC-5, Chuck van der Linden wrote:
>
> On Tuesday, January 7, 2014 10:48:45 PM UTC-8, Sanjeev Singh wrote:
>>
>> Hi All,
>>
>> I am getting the below error when I type the below code
>> irb
>> require "watir"
>> ie = Watir::Browser.new :ie
>> ie.goto "http://www.google.com";
>> #till this point it works fine
>>
>> ie.show_all_objects gives the error "NoMethodError: undefined method 
>> 'show_all_objects' for #<Watir::Browser:0x28.............."
>>
>> Any help on this will be greatly appreciated.
>>
>>
>> thanks..!!
>>
>
> The error means just what it says, the method you are trying to call is 
> not defined, in other words you are trying to invoke a method that does not 
> exist.
>
> What is it that you are trying to do/accomplish? 
>





Thanks for responding..!!!

I am new to Watir and my aim is to automate our application for regression 
testing using Watir a little bit and then demo it against my team for 
approval.
I am just stuck at the second page of my application and could not able to 
locate the object I am looking for.

Here is what I got from the page's HTML code:

<html 
<body> 
<div id = "context-wrapper">
<iframe..... ..................................... #[name= 
"ConcertoContext"]
<html>
<div id = "cpo-folder"> ......................#this is the 3rd div within 
the above <html>
<div class = "cpo-cntent-wrapper"> ...#this is the 3rd <div> within the 
above <div>
<div class = "cpo-content">
<iframe 
 ..........................................#name="application-content"
<html lang="en">
<frameset
<frame .................................................#name="SearchFilter"
<html>
<body .................................................#id=SearchFilter
<div ...................................................#class = "dt-filter 
filter"
<form  ...............................................#id="FilterForm"
<table>
<tbody>
<tr>
<td> .................................................#this is the second 
<td> within the above<tr>
<script>
<input ..............................................#name=
"attribute.Name-given"

NOTE: I am not able to locate the above highlighted in YELLOW object. That 
is the reason I was searching for all the objects so I will get to know all 
the elements, frames, tables etc.

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to