[wtr-general] Proplem with watir

2009-04-03 Thread spike
Hi Myself vinay i'm facing a problem with watir. i've written it below please respond as soon as possible. irb(main):009:0 ie.link(:text, images).flash Watir::Exception::UnknownObjectException: Unable to locate element, using :text, images from

[wtr-general] Problem with watir (Radio Button)

2009-04-04 Thread spike
Hello, i'm working on watir with Internet Explorer, i'm trying to select a radio button using the command ie.radio(:id, RdUpload).set its not working for me i'm getting the following error. please suggest me a solution to this. Here is the ERROR code displayed. irb(main):031:0 ie.radio(:id,

[wtr-general] Watir

2009-04-06 Thread spike
Hi The following is the code written for a check list. td class=cellLabeldiv id=ctl00_ContentPlaceHolder1_Div7 align=right span id=ctl00_ContentPlaceHolder1_lblSupervisor class=dataentrylabelsStyleSupervisor :/span/div/tdtd class=cellInputselect

[wtr-general] Re: Watir

2009-04-06 Thread spike
.rb:47:in `set' On Apr 6, 11:35 am, spike vinaykumarl...@gmail.com wrote: Hi The following is the code written for a check list. td class=cellLabeldiv id=ctl00_ContentPlaceHolder1_Div7 align=right                  span id=ctl00_ContentPlaceHolder1_lblSupervisor class

[wtr-general] Re: Where to run the script

2009-04-06 Thread spike
/watir-1.6.2/lib/watir/ie.rb:82 from startgoogle.rb:3 Exit code: 1 Is this a error in the application? please suggest me if any installation or any error inthe code i've written On Apr 6, 4:14 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Apr 6, 2009 at 12:58, spike

[wtr-general] Re: Watir

2009-04-06 Thread spike
code ctl00_ContentPlaceHolder1_ddlSelectSupervisor is ID for select list so you should try ie.select_list(:id, ctl00_ContentPlaceHolder1_ddlSelectSupervisor) - Angrez On Mon, Apr 6, 2009 at 3:26 PM, spike vinaykumarl...@gmail.com wrote: hello sir I used ur solution but its

[wtr-general] Re: Where to run the script

2009-04-06 Thread spike
it worked, thanks a lot On Apr 6, 5:05 pm, Angrez Singh ang...@gmail.com wrote: remove Include Watir line from your file - Angrez On Mon, Apr 6, 2009 at 5:28 PM, spike vinaykumarl...@gmail.com wrote: i'm not able to run the script from SciTE. I typed in the following script saved

[wtr-general] Re: Where to run the script

2009-04-06 Thread spike
it worked, thanks a lot On Apr 6, 5:07 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Apr 6, 2009 at 13:58, spike vinaykumarl...@gmail.com wrote: include Watir Remove this from your script and try again. no such file to load -- safariwatir (MissingSourceFile

[wtr-general] Failing to update gem

2009-04-07 Thread spike
Hi I'm trying to update gem using the command gem update but its failing to update and i'm getting following error. ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError) ERROR: Failed to build gem native extension. rake

[wtr-general] Problem with popup window

2009-04-07 Thread spike
Hi I'm using the following code for a popup window, ie.button(:text, Reset).click_no_wait hwnd = ie.enabled_popup(5) if (hwnd) #yeah! a popup popup = WinClicker.new popup.makeWindowActive(hwnd) popup.clickWindowsButton(Windows Internet Explorer, OK, 30) end but i'm getting the

[wtr-general] Re: Failing to update gem

2009-04-07 Thread spike
 am, spike vinaykumarl...@gmail.com wrote: Hi I'm trying to update gem using the command gem update but its failing to update and i'm getting following error. ERROR:  While executing gem ... (Gem::Installer::ExtensionBuildError)     ERROR: Failed to build gem native extension

[wtr-general] Re: Problem with popup window

2009-04-07 Thread spike
its not working for me please me some other solution. On Apr 7, 2:22 pm, GJHmf graham.harb...@googlemail.com wrote: Edit:  These two lines should have been pasted into the WinClicker example, not the AutoIt example: require 'watir/ie' require 'watir/contrib/enabled_popup'

[wtr-general] Popup for File downlaods

2009-04-07 Thread spike
Hi I'm really confused working with Pop Up's i'm not able to find any solution for it wat ever script i'm trying its not working for me. The following is the script i used for a file downlaod popup prompt_message = Do you want to open or save this file? window_title = File Download save_dialog

[wtr-general] Handling popups

2009-04-07 Thread spike
Hi I'm tried to run Popups_test.rb script but its not working im getting the following error C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- unittests/setup (LoadError) from

[wtr-general] Re: Error in handling popup

2009-04-08 Thread spike
Thanks sir, the error which i was getting was removed but the script does not handle popups, so please suggest me a script for handling popups. On Apr 8, 8:03 pm, Jim Matthews jim_m...@swbell.net wrote: spike, The only thing I see right off is that you have: wsh WIN32OLE.new('Wscript.Shell

[wtr-general] Re: Error in handling popup

2009-04-08 Thread spike
= This should automatically handle popups.  You can also expand the list to include other window title aside from 'Windows Internet Explorer', 'Security Information' and 'Security Alert'. Hope this helps! -George On Apr 8, 5:26 am, spike vinaykumarl...@gmail.com wrote: Hi I'm woking

[wtr-general] Re: Error in handling popup

2009-04-08 Thread spike
')     Opt(WinTitleMatchMode, 3) autoit.WinWait('Windows Internet Explorer', '', 2) autoit.WinActivate('Windows Internet Explorer') autoit.Send('{enter}') This will work fine with out any issue Regards, Kiran Y On Wed, Apr 8, 2009 at 5:56 PM, spike vinaykumarl...@gmail.com wrote: Hi I'm

[wtr-general] Re: Error in handling popup

2009-04-08 Thread spike
Explorer') autoit.Send('{enter}') This will work fine with out any issue Regards, Kiran Y On Wed, Apr 8, 2009 at 5:56 PM, spike vinaykumarl...@gmail.com wrote: Hi I'm woking on windows platform and IE7 using WATIR I've used the following code for handling JavaScript popup require

[wtr-general] Handling popups using watir

2009-04-08 Thread spike
Hi Can somebody please help me with handling popups using Watir i'm stuck with this. I tried many suggestions but it didnt help me. I'm working on Windows XP and Internet Explorer 7. somebody suggested me to install autoIt for handling popups so i've installed autoIT-v3 also. please please..

[wtr-general] Re: Error in handling popup

2009-04-08 Thread spike
On Thu, Apr 9, 2009 at 9:26 AM, spike vinaykumarl...@gmail.com wrote: I used this code but i'm getting the following error 1) Error: test_manage_resources(Manageresources): NoMethodError: undefined method `Opt' for #Manageresources:0x2b697c8    manageresource.rb:25

[wtr-general] Re: Error in handling popup

2009-04-08 Thread spike
ping me. Regards, Kiran Y kiranyajaman...@gmail.com On Thu, Apr 9, 2009 at 11:02 AM, spike vinaykumarl...@gmail.com wrote: Ya it still didnt work for me Test Scenario I'm running on windows platform with IE7 I've to upload a file to the application i'm testing. to do that i'm

[wtr-general] Re: Error in handling popup

2009-04-08 Thread spike
}') if you are online in g-talk you can ping me. Regards, Kiran Y kiranyajaman...@gmail.com On Thu, Apr 9, 2009 at 11:02 AM, spike vinaykumarl...@gmail.com wrote: Ya it still didnt work for me Test Scenario I'm running on windows platform with IE7 I've to upload a file

[wtr-general] Re: Error in handling popup

2009-04-08 Thread spike
at 11:02 AM, spike vinaykumarl...@gmail.com wrote: Ya it still didnt work for me Test Scenario I'm running on windows platform with IE7 I've to upload a file to the application i'm testing. to do that i'm login to the application and navigating to the respective page where i've

[wtr-general] Re: Error in handling popup

2009-04-08 Thread spike
use space i didnt get this..one On Apr 9, 10:48 am, kiran yajamanyam kiranyajaman...@gmail.com wrote: You should use the caption only. Means Windows Internet Explorer only. Use space than enter On Thu, Apr 9, 2009 at 11:16 AM, spike vinaykumarl...@gmail.com wrote: i didnt get u

[wtr-general] Re: Handling popups using watir

2009-04-08 Thread spike
ya but the solutions are not working for me. On Apr 9, 10:35 am, George george.sand...@gmail.com wrote: Didn't you just make a thread about this? On Apr 8, 9:23 pm, spike vinaykumarl...@gmail.com wrote: Hi Can somebody please help me with handling popups using Watir i'm stuck

[wtr-general] Re: Error in handling popup

2009-04-08 Thread spike
) and if autoit.Send({'enter'}) is not working try with autoit.Send({'space'}) On Thu, Apr 9, 2009 at 11:10 AM, spike vinaykumarl...@gmail.com wrote: if i'm clicking the OK button manually its going further to do rest of the operations or els its hung with the popup On Apr 9, 10:38 am, kiran

[wtr-general] Re: Handling popups using watir

2009-04-09 Thread spike
in the same day.  I've been finding that the trial and error approach to solving my scripting problems helps me develop more.  You really shouldn't take advantage of people who are really trying to help you. On Apr 8, 10:55 pm, spike vinaykumarl...@gmail.com wrote: ya but the solutions

[wtr-general] Re: Error in handling popup

2009-04-09 Thread spike
) end end On Apr 9, 12:01 pm, kiran yajamanyam kiranyajaman...@gmail.com wrote: hi Spike, Here is the perfect solution for you problem Copy paste the code present in the attached text file. And insted of using click() method use yourObject.mouse_click(36,6)  and remaing code will be same

[wtr-general] Re: click_no_wait and click! not working javascript popup

2009-04-14 Thread spike
sir, I used the method you suggested but, it is not working i've to click the popup button manually to go further testing the application. I'm putting the code i'm using for the handling popup below, please suggest me corrections that are to be made require 'Watir' require 'test/unit' require

[wtr-general] Re: Error in handling popup

2009-04-14 Thread spike
On Apr 9, 8:02 pm, Jim Matthews jim_m...@swbell.net wrote: spike, There is a problem with the new version of Ruby that may be contributing to your problem.  I don't use autoit, I use method that Lisa described.  For more information on the problem, see: http://groups.google.com/group/watir

[wtr-general] How to use looping structure in watir

2009-04-15 Thread spike
Hi I've a scenario where i've inserted around 20 users to a database, In my application of these 20 users only 2 users are displayed at a time in a table now i want to delete the last 10 users. For this first i need to click on the scrolling link and then select the checkbox and then click on

[wtr-general] Re: How to use looping structure in watir

2009-04-15 Thread spike
15, 2009 at 08:35, spike vinaykumarl...@gmail.com wrote: For this first i need to click on the scrolling link and then select the checkbox and then click on delete button Have you read this? http://wiki.openqa.org/display/WTR/Quick+Starthttp://wiki.openqa.org/... Željko --http

[wtr-general] Re: click_no_wait and click! not working javascript popup

2009-04-15 Thread spike
Hi sir, thanks a lot for the solution it worked for me, since a week i had problem with handling popup. thankyou very much. On Mar 3, 8:52 pm, Jim Matthews jim_m...@swbell.net wrote: Here are the steps to reproduct the problem.  First bring up unittests \html\popups1.html in IE.

[wtr-general] Re: click_no_wait and click! not working javascript popup

2009-04-15 Thread spike
This solution worked fine for popup raised when a button is clicked, but it is not working for popup raised when clicked on a link, please suggest some solution On Mar 3, 8:52 pm, Jim Matthews jim_m...@swbell.net wrote: Here are the steps to reproduct the problem.  First bring up unittests

[wtr-general] Re: Working with Ajax and watir

2009-04-20 Thread spike
. On Apr 17, 2:09 am, spike vinaykumarl...@gmail.com wrote: Hi I've a problem handling a sub window which is created using ajax, the scenario i'm working in is i've a image which can be applied as theme to my webpage so when i'm clicking on the image the image opens in a new window

[wtr-general] Re: What are the methods available for accessing links

2009-04-22 Thread spike
what is driving the code..  (which you would likely discover if you review the actual code that makes the page work, or at least the code that drives the animation of the stars) On Apr 19, 11:06 pm, spike vinaykumarl...@gmail.com wrote: Hi I'm working on a application

[wtr-general] Re: What are the methods available for accessing links

2009-04-22 Thread spike
of the stars) On Apr 19, 11:06 pm, spike vinaykumarl...@gmail.com wrote: Hi I'm working on a application where I have a link RATE THE COURSE now i don want to click on this link, instead i just want to place the cursor on it because when i do so i'll get some STARS which i've

[wtr-general] Can i get help regardin WatiN

2009-05-03 Thread spike
hi i'm using the WatiN tool and i'm facing some problems can i get the solution's for WatiN here. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to

[wtr-general] Re: Can i get help regardin WatiN

2009-05-04 Thread spike
-research.ch wrote: On Mon, May 4, 2009 at 07:35, spike vinaykumarl...@gmail.com wrote: can i get the solution's for WatiN here. Maybe, if you tell us what the problem is. Also, you will probably get better support at watir forum: http://sourceforge.net/mailarchive/forum.php?forum_name=watin-users

[wtr-general] Re: Can i get help regardin WatiN

2009-05-05 Thread spike
ok thankyou.. On May 5, 10:27 am, George george.sand...@gmail.com wrote: Hey Spike, I'm not too familiar with WatiN, but I do know that you can set the path using file_field $ie.file_field(:name, blah).set file_path On May 4, 9:10 pm, spike vinaykumarl...@gmail.com wrote: Hi How