Im not sure if its ajax loading or something else (or their site detecting
watir?)
But this site (groupme.com) keeps timing out.
def test_post_message_to_groupme
browser.goto 'http://groupme.com'
browser.link(:text = 'Log In').click
browser.text_field(:id = 'session_phone_number').set
what happens when you invoke the following?
browser.div(:id = MenuBar_view_menu_0html_id).fire_event('onclick')
--
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
in one of my script, I had to force visibility.
Hope this helps
browser.execute_script(document.getElementById('jqContextMenu').style.display='block';)
browser.execute_script(document.getElementById('item_remove').style.display='block';)
browser.div(:id = 'jqContextMenu').li(:id =
HTML Code:
div class=cell row ident style=background-color: rgb(192, 218, 193);
border-color: rgb(192, 218, 193); height: 104px; width: 163px;
data--id=32143 data-column=0 data-row=1
div class=cell row ident style=background-color: rgb(189, 216, 156);
border-color: rgb(189, 216, 156); height:
Thanks for the reply, but I'm still getting the following error when using
browser.alert.ok
Started
E
Finished in 61.727539 seconds.
1) Error:
test_delete_user(UsersTest):
Watir::Exception::UnknownObjectException: unable
] + '_del').fire_event(onclick)
Can anyone help.
Thanks,
Rj
--
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
Followed doc: http://rubydoc.info/gems/watir-webdriver/Watir/Alert
watir-webdriver: 0.6.1
Please help.
Thanks,
RJ
--
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
after further testing - does not looklike it works on IE at all (regardless
of win OS).
Any ideas?
Opened another thread trying to figure out if browser.confirm would help.
any help, whether its getting execute_script or confirm to work would be
appreciated.
Thanks,
RJ
On Monday, June 25
thanks for all who responded...
I tried all different approach for this, but none worked, so I decided
to write my own wait...
I know this might eventually lead to an infinite loop, so I burn that
bridge when I get to it (but feel free to advise for a more long-term
solution).
Thanks.
def
html element vs jquery selector
Anybody know if there are any benefits of using one selector method
over the other (for watir-webdriver) - if the element(s) can be
accessed/selected either way?
(assuming that there may be instances when only jquery selector would
work, due to elements being
how do I wait until this element disappears or is set to hidden again?
div id=spinner_container
div id=spinner style=visibility: hidden;
img vspace=1 align=absmiddle src=../images/loading.gif
style=margin-bottom: 1px;/
/div
/div
I already tried the following without much success:
the
application configuration is incorrect. Reinstalling the application
may fix this problem.
Can somebody help.
Thanks,
RJ
--
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
SOLVED:
re-installing a previous version of tortoiseSVN (1.6.16) solved the
above 14001 error
I cant explain why...but I'm glad that my scripts are running again.
Hope this helps anyone running watir-webdriver/ruby-devkit/ruby187
with tortoiseSVN (do not upgrade to 1.7+)
--
Before posting,
.parent worked for me.
Thanks for all the help.
--
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
Unfortunately parent has multiple radiobox each followed by its own
label
My code looks like:
selected_checkbox 'choice 1' if foo
selected_checkbox 'choice 2' if bar
...
selected_checkbox 'choice 18' if foo.bar
def selected_checkbox selection
browser.label(:text =
From Page Source:
div id=ParentSelector
ulli class=folder data=expand:trueAllul
li class=selected data=icon:falsetitle=This is choice
1choice 1/li
li class=selected data=icon:falsetitle=This is choice
2choice 2/li
li class=selected
fire_event('onchange') did not help
--
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
Just curious to know, the technical readon why watir-webdriver has yet
to implement an official right_click operation.
Thanks,
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
Another IE select issue (on XP-IE8):
HTML:
select title=Selection Display id=selection_display_option
option value=opt1opt1/option
option value=opt2opt2/option
option selected=selected value=opt3opt3/option
/select
CODE on IRB: (this works)
irb(main):056:0 option_selected = opt1
Getting following error msg:
Selenium::WebDriver::Error::NoSuchDriverError: Unexpected error
launching Internet Explorer. Protected Mode must be set to the same
value (enabled or disabled) for all zones.
but this feature is not available on XP-IE8. What to do.
Thanks,
RJ
--
Before posting
If inside a frame:
ie.frame(:id = frame_name).link(:id = link_name).exists?
Otherwise try
.link(:id = link_name).fire_event(onclick$
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
from whatsmyuseragent.com is: Your User
Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)
I'm trying to run a browser version detection using userAgent but
getting MSIE7.0 eventhough browser is IE8.0
Can you help.
Or please provide an alternate solution for this.
Thanks,
RJ
additional info (just in case):
C:\gem list
*** LOCAL GEMS ***
rake (0.9.2)
selenium-webdriver (0.2.1)
watir-webdriver (0.2.4)
C:\ruby -v
ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
Off-site: anywhere in the US
On-site: NJ USA
--
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
can anybody recommend available (on-site / off-site) watir training
for QA engineers?
--
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
25 matches
Mail list logo