Re: [wtr-general] Automating the object with in TD tag

2011-01-12 Thread sweet flower
Hi,
I was able to automate that using the Cell method.

I have one more question. I have an object with in IMG tag.. but the
properties are not enough to identify the same

I have title, class, src and align properties alone.
how can i use the image method to identify this?
kindly help.

By,
Sanu. T

On Wed, Jan 12, 2011 at 8:58 PM, Sanu  wrote:

> Hi,
>
> I have an object with TD tag with out any object type specified.
> That is actually a tag in the application.
>
> please find the HTML code below
>
> 
> 
>  #text
> 

Re: [wtr-general] Automating the object with in TD tag

2011-01-13 Thread sweet flower
Hi Jadhav,

I tried with SRC also... it is not working.
any other way??
On Thu, Jan 13, 2011 at 12:06 PM, Prajakta Jadhav  wrote:

> you could use src to identify it.
> browser.image(:src => /gtk-ok/).click
>
> Find more info here:
> http://wtr.rubyforge.org/rdoc/1.6.5/classes/Watir/Container.html#M000324
>
> -Prajakta
>
>   On Thu, Jan 13, 2011 at 10:43 AM, sweet flower  wrote:
>
>>   Hi,
>> I was able to automate that using the Cell method.
>>
>> I have one more question. I have an object with in IMG tag.. but the
>> properties are not enough to identify the same
>>
>> I have title, class, src and align properties alone.
>> how can i use the image method to identify this?
>> kindly help.
>>
>> By,
>> Sanu. T
>>
>>On Wed, Jan 12, 2011 at 8:58 PM, Sanu  wrote:
>>
>>> Hi,
>>>
>>> I have an object with TD tag with out any object type specified.
>>> That is actually a tag in the application.
>>>
>>> please find the HTML code below
>>>
>>> 
>>> 
>>>  #text
>>> 

Re: [wtr-general] First time Watir User

2011-01-18 Thread sweet flower
Hi Mori,

Try this...
b=Watir::IE.new
b.goto('url')

Regards,
Sanu. T

On Tue, Jan 18, 2011 at 3:11 PM, A.Mori  wrote:

> Hi,
>
> If this post irritates members of this group, could you please
> redirect me to where I can make simple queries?
> I have searched for this before making this post. regardless, this is
> the first time im using watir and i would like to get a few tests
> started.
>
> Im going through the documentation and the examples and immediately
> get hung up. i think i have followed the installation procedure
> correctly but hey i could have made mistakes.
>
> within the quickstart guide, under a thread tutorial called watir in 5
> mins, i run irb but get an error message with output "RuntimeError:
> Firefox is running without -jssh" when trying to input "b =
> Watir::Browser.new"
>
> can someone tell me what i need to do to repair this?
>
> Kind regards.
>
> Andrew
>
> --
> 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
>

-- 
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