Yep. We use a Before hook to cache all scenario tags in an instance
variable for, among other things, use in After hooks. This is the Ruby
flavor of Cucumber, btw.
Before do |scenario|
@scenario_tags = scenario.source_tag_names
...
But you can also "natively" have tag-specific After hooks.
Ok, I think I solved it.
I do a *browser.frame(:class => "iframe").click* before I do the send_keys.
I don't know this is 'the best' solution, but it works.
Is there a way to set text directly (no send_keys) in this case (with no
defined text_field) in the body?
d_keys 'My text!'*
nothing happens. It seems that the focus is not correct because when I
select the text area this command works (using irb).
I tried setting the focus but that doesn't help.
Any idea what I am doing wrong?
Thanks,
Ray
--
--
Before posting, please read http://w
work for me for now, but if there is another way to do
it id be happy to find out.
Ray
On Jul 7, 11:03 pm, ashokmpm password
wrote:
> Hi,
>
> Any bodyknowhow tomaketextboxwritable.
>
> Actually, i have atextboxwhich is read only. However i need to insert values
>
Is there anyway to start internet explorer with addons off using
waitr? right now i manually start ie using command prompt and saying
iexplore.exe -ext off. i would like to make this completely automated
so that i can bring up a explorer box with no addons without manually
typing it into the comma
so i could make it work for any
frame at any amount of load time.
Thanks
Ray
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to watir-general@google
The way that i exceute Java script is:
browser.document.parentWindow.execScript(scriptToBeExceuted)
This seems to work in internet explorer only, fire fox says browser
does not have a property documnet.
Hope this Helps
Ray
On Jul 6, 10:33 pm, Pallavi Sharma wrote:
> Anyone out there
{|x| x.join}
>
> marekj
>
> Watirloo: Semantic Page Objects in UseCaseshttp://github.com/marekj/watirloo/
>
> On Mon, Jul 6, 2009 at 10:41 AM, Ray wrote:
>
> > Is there a way to make a call to a second ruby script and not wait for
> > it to return? I need to do this
then i am open to any suggestions.
Thanks in advanced
Ray
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posti
Is there a way to set a property in html using watir? I have a table
that is not visible and i need to set it visibility property to
visible so that watir can click on it.
Thanks in advance
Ray
--~--~-~--~~~---~--~~
You received this message because you are
Thanks,
I was not able to get using it like a table to click either.
Unfortunately i do not have complete access to the source code of the
site so i am not able to look to determine exactly how it works. What
i do know is that the html is built after the cell is clicked using
java script. The odd
I am trying to click a cell in the table
On Jun 3, 5:08 pm, George wrote:
> Are you trying to click a particular row in the result table or a cell
> containing a hyperlink?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gr
Hi
Did you ever figure out the problem with this? I am having a similar
problem. For me the click works in Fire Fox(using fire watir) but when
i try the same thing in IE nothing happens and the script ends without
errors.
any help is appreciated
Thanks
--~--~-~--~~~
I have tried like you said, seems not work.:(
My OS is win2003_X64 server.
Any one have occurred this?
On 3月4日, 下午5时10分, amit wrote:
> Hello,
>
> The problem which had occurred has been resolved.
>
> Thanks to all those posts regarding the same.
>
> What i had done is..
>
> 1:Open the command pr
14 matches
Mail list logo