You can use sleep command like sleep(5)
so that it will wait until it loads..
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Yes, Its available, u can download the gem from this page,
http://wiki.openqa.org/display/WTR/Development+Builds
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
I hope its better to follow the steps,
If u are using watir one click installer then u can uninstall directly. If u
installed watir with the gem then uninstall ruby, and install ruby and watir1.5
___
Wtr-general mailing list
Wtr-general@rubyforge.org
wen u did gem install watir did it gave the statement that Watir is
successfully installed ??
If u get that message then ur watir is successfully installed , u can check
that watir in the ruby gems folder like
C:\ruby\lib\ruby\gems\1.8\gems u can check watir 1.5 folder in that folder,
and
Is there a way to run the test cases at scheduled time like i want to run all
my test cases at morning 6'o clock, So how can i do that??
Thanks in Advance,
Harish
___
Wtr-general mailing list
Wtr-general@rubyforge.org
HI,
Is Watir Recorder launched?? If so where can I get the installer??
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
I tried to download the installer from this link
http://www.openqa.org/watir-recorder/download.action but its a blank page and
no installer is being downloaded. is there anything else??
___
Wtr-general mailing list
Wtr-general@rubyforge.org
Hi all,
I have a span link in which if we mouse hover on that link a form appears
for us.It will be there still we cancel that form, And it does not work on
click, So is there a way to automate that link using watir??
I used $ie.span(:class,popup_link).click but it doesn't open the form, but
Hi, Its working, The problem is I gave $ie=Watir::IE.new in every file, so that
is the reason i am getting all the files.
Now its working with both require and load,
Thank you,
Harish
-
Posted via Jive Forums
Hi all,
Right now I am able to test all my test cases, and i am getting the out put
lines in the console. Is there any possibility to get the whole out put and the
test pass or fail result etc into a LOGfile so that it can be sent as an
email.
I tried for the reports in the page
Hi,
I am able to run all the tests by using
require 'test1.rb'
require 'test2.rb'
require 'test3.rb' etc.,
but when i start the test it is opening 3 windows if there are 3 tests to run,
i have nearly 15 tests then it opens 15 windows at a time and the test is
running only in the last window.
Hi please help me for the above problem, I couldn't fidgure out the problem
till now, please help me regarding that..
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6581messageID=19069#19069
Hi all,
How could we find the multiple items in the select list using watir??
manually i use ctrl and click on the item for selecting multiple items. So is
there a way to do with watir??
-
Posted via Jive Forums
no it didn't worked for me from the faqs. thisis my code;
def startClicker( button , waitTime = 3)
w = WinClicker.new
longName = $ie.dir.gsub(/ , \\ )
shortName = w.getShortFileName(longName)
c = start rubyw #{shortName }\\watir\\clickJSDialog.rb #{button }#{
waitTime}
HI Could any body tell me how to use this type of links in watir??
a href=/projects/destroy/153 onclick=if (confirm('Are you sure to delete
?')) { var f = document.createElement('form'); this.parentNode.appendChild(f);
f.method = 'POST'; f.action = this.href; f.submit(); };return false;Delete
HI It didn't worked for me according to the faq's... Can u please tell me how
to do with modal_dialog??
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6489messageID=18669#18669
So what can i do for logon popup window??
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6489messageID=18697#18697
___
Wtr-general mailing list
Hi, I too have the same problem, ,, This is my html..
a href=/login/logout onclick=return confirm('Are you sure you would like to
logout?');LOGOUT ,,, when i click on that i'll be getting the confirm popup
with ok and cancel buttons. So how to do such kind using watir??
Thanks,
Harish
Hi Thanks, It didn't gave me any error but It didn't cliked on that.
This is exactly my html souce.
div id=ContractDoc dojoType=ContentPane label=Contract style=padding:
10px; overflow:auto; of this kind. This is exactly not a link, its a tab
link. so how to click such type of links??
and
Hi Thanks a lot, It worked. I am using it a lot. But now i got another doubt if
the link is
div id=ContractDoc dojoType=ContentPane label=Contract style=padding:
10px; overflow:auto; of this kind. This is exactly not a link, its a tab
link. so how to click such type of links??
and the other
HI ,
Thank You it worked for that link. But I am having the links of the same kind
with same contract_id=227.
a href=# onclick=new
Ajax.Request('/data_entry/ajax_add_term/131?contract_id=227',
{asynchronous:true, evalScripts:true}); return false;add a term/a
a href=# onclick=new
Hi,
I tried the two types but its giving error.
data_entry.eb.rb:16: syntax error, unexpected tINTEGER, expecting ')'
ie.link(:html,/ajax_add_term/131/).click
So any other ideas, i tried all the combinations. but its getting error. Please
help me.
I too got the same problem. Getting WIN32OLERuntimeError . Yesterday i
executed my scripts well but today morning when i come over here i got the
problem, I have installed dotnet frame work and Windows Vista upgrade advisor,
so is that any problem??
Now I uninstalled the dot net frame work and Windows Vista upgrade advisor.But
still i am getting the same problem, and even if i open the browser manually
and i execute the script the problem is happening. Getting the error and its
automatically opening the bulk of browsers. So is there any
I can't send a link to my application as it is in my local host. I am sorry for
this.
The select option will be generating after i click on the link. Its ajax
stuff. So that select can't be shown in the html. It is generating after the
whole page is loaded. So wat should be done for such type
Hi,
I got this working by using the index number. ie.link(:index,15).click.
Thanks a lot,
Harish
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6325messageID=17989#17989
Hi all,
we are having a lot of Ajax stuffs in our application. I need help for Ajax
stuffs to be automated with watir. This is how my application looks.
I have a search criteria with a link called search a term. If i click on that
link an Ajax select will be opened.I need to select a term
Hi,
I tried using ie.link(:text,add a term) but i have add a term link more
than 10 in the same page. So how could i use that??
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6325messageID=17906#17906
Hi all,
Till now I am using ie.link(:url,http//www.xyz/abc.html) for a link in
watir.Now I have a problem for the ajax link. i.e., the url obtained in the
html source is
a href=# onclick=new
Ajax.Request('/data_entry/ajax_add_term/131?contract_id=227',
{asynchronous:true,
Hi Thats only a typo mistake which i gave in this forum. But in my code it
looks correct.
And one more thing, I couldn't get the code of that link in the html source
code. I hope AJAX is not updating the html source.So how to over come this
problem??
Its giving the error Unable to locate object url and
http://localhost:3000/data_entry/ajax_add_term/133?contract_id=140;
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6183messageID=17526#17526
Hi thank u,its working for the general urls, but not for the ajax links, can u
please help me for the ajax links. This is the code i used.
ie.link(:url,http://localhost:3000/data_entry/ajax_add_term/133?contract_id=14
0).click This is the generated html.. [add a term] is the link. Thanks in
Hi This is the html for that text field..
input id=app_feedback_title name=app_feedback[title] size=30 type=text
/
Please tell me the wrong one i am doing..
-
Posted via Jive Forums
Sorry I gave the wrong html in the forum. This is my correct one. Please check
this,
input id=contract_my_document_title name=contract_my_document[title]
size=30 type=text /
Thank u..
Harish
-
Posted via Jive Forums
Hi all,
How to click on the links based up on the href rather than the text?
Ex:: I am having the same text with different ids. i.e., we are having 30 add
a term links..For different links having different href (url). so how could i
code using selenium for this kind of hrefs. Please help
Hi all,
How to click on the links based up on the href rather than the text?
Ex:: I am having the same text with different ids. i.e., we are having 30 add
a term links..For different links having different href (url). so how could i
code using watir for this kind of hrefs. Please help me
Hey sorry, I want in watir.. sorry for the mistake..
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6181messageID=17374#17374
___
Wtr-general mailing list
HI,
But its not working for me. Basically its working for all the text_fields.
But not working for this, I hope its becoz the form is rendering dynamically
thru ajax call. This is the error..
Error::
c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1939:in `assert_exists': Unable to
locate object,
Thats ok, Any idea regarding that??
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6181messageID=17381#17381
___
Wtr-general mailing list
Hi thank u,its working for the general urls, but not for the ajax links, can u
please help me for the ajax links.
This is the code i used.
ie.link(:url,http://localhost:3000/data_entry/ajax_add_term/133?contract_id=140;).click
This is the generated html..
a href=# onclick=new
Hi all,
I am using watir for my application. Its very interesting..
I am using lot of ajax for my application. When i click a link an ajax form
opens, till here i am able to work with watir, but i can't enter value in the
ajax form. Its giving me the error Unable to locate the object. But
HI,
I used this code ::
ie.link(:text,add to my contracts).click
ie.text_field(:name, contract_my_document[title]).set(harish)
where add to my contracts is the link, in which if we click on that link i'll
be getting an ajax form. In that Title is the text_field. the name of that
title is
42 matches
Mail list logo