Re: [Wtr-general] Rarely, watir does not wait till the browser gets loaded fully

2007-03-28 Thread Naga Harish Kanegolla
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

Re: [Wtr-general] Water 1.5.1

2007-03-27 Thread Naga Harish Kanegolla
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

Re: [Wtr-general] Water 1.5.1

2007-03-27 Thread Naga Harish Kanegolla
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

Re: [Wtr-general] Water 1.5.1

2007-03-27 Thread Naga Harish Kanegolla
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

[Wtr-general] Scheduler

2007-03-27 Thread Naga Harish Kanegolla
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

[Wtr-general] Watir Recorder

2007-03-21 Thread Naga Harish Kanegolla
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

Re: [Wtr-general] Watir Recorder

2007-03-21 Thread Naga Harish Kanegolla
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

[Wtr-general] using span

2007-03-16 Thread Naga Harish Kanegolla
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

Re: [Wtr-general] Executing all scripts at a time

2007-03-02 Thread Naga Harish Kanegolla
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

[Wtr-general] Converting into LOG

2007-03-02 Thread Naga Harish Kanegolla
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

Re: [Wtr-general] Executing all scripts at a time

2007-03-01 Thread Naga Harish Kanegolla
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.

Re: [Wtr-general] Delete link

2007-02-22 Thread Naga Harish Kanegolla
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

[Wtr-general] Selecting multiple terms with watir

2007-02-21 Thread Naga Harish Kanegolla
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

Re: [Wtr-general] Delete link

2007-02-18 Thread Naga Harish Kanegolla
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}

[Wtr-general] Delete link

2007-02-16 Thread Naga Harish Kanegolla
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

Re: [Wtr-general] Problem with Logon popup window

2007-02-14 Thread Naga Harish Kanegolla
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

Re: [Wtr-general] Problem with Logon popup window

2007-02-14 Thread Naga Harish Kanegolla
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

Re: [Wtr-general] Problem with Logon popup window

2007-02-13 Thread Naga Harish Kanegolla
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

Re: [Wtr-general] url for link

2007-02-12 Thread Naga Harish Kanegolla
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

Re: [Wtr-general] url for link

2007-02-09 Thread Naga Harish Kanegolla
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

Re: [Wtr-general] url for link

2007-02-08 Thread Naga Harish Kanegolla
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

Re: [Wtr-general] url for link

2007-02-08 Thread Naga Harish Kanegolla
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.

Re: [Wtr-general] WIN32OLERuntimeError

2007-02-08 Thread Naga Harish Kanegolla
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??

Re: [Wtr-general] WIN32OLERuntimeError

2007-02-08 Thread Naga Harish Kanegolla
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

Re: [Wtr-general] Watir with Ajax

2007-02-01 Thread Naga Harish Kanegolla
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

Re: [Wtr-general] url for link

2007-01-31 Thread Naga Harish Kanegolla
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

[Wtr-general] Watir with Ajax

2007-01-31 Thread Naga Harish Kanegolla
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

Re: [Wtr-general] url for link

2007-01-30 Thread Naga Harish Kanegolla
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

[Wtr-general] url for link

2007-01-29 Thread Naga Harish Kanegolla
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,

Re: [Wtr-general] same text fordifferent urls..

2007-01-28 Thread Naga Harish Kanegolla
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??

Re: [Wtr-general] same text fordifferent urls..

2007-01-23 Thread Naga Harish Kanegolla
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

Re: [Wtr-general] same text fordifferent urls..

2007-01-21 Thread Naga Harish Kanegolla
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

Re: [Wtr-general] Watir with Ajax

2007-01-19 Thread Naga Harish Kanegolla
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

Re: [Wtr-general] Watir with Ajax

2007-01-19 Thread Naga Harish Kanegolla
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

[Wtr-general] same text for different urls.

2007-01-19 Thread Naga Harish Kanegolla
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

[Wtr-general] same text fordifferent urls..

2007-01-19 Thread Naga Harish Kanegolla
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

Re: [Wtr-general] same text for different urls.

2007-01-19 Thread Naga Harish Kanegolla
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

Re: [Wtr-general] Watir with Ajax

2007-01-19 Thread Naga Harish Kanegolla
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,

Re: [Wtr-general] same text for different urls.

2007-01-19 Thread Naga Harish Kanegolla
Thats ok, Any idea regarding that?? - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6181messageID=17381#17381 ___ Wtr-general mailing list

Re: [Wtr-general] same text for different urls.

2007-01-19 Thread Naga Harish Kanegolla
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

[Wtr-general] Watir with Ajax

2007-01-18 Thread Naga Harish Kanegolla
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

Re: [Wtr-general] Watir with Ajax

2007-01-18 Thread Naga Harish Kanegolla
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