[wtr-general] Function to flush the variable in RUBY / WATIR

2009-01-02 Thread Amit
Hi, Is there any function to flush the value from a variable in RUBY / WATIR. I am facing problem while following code I am trying to use following code Status=sheet1.getCellByPosition(5, I).Formula ie.text_field(:name, FieldName).value =Status and it works fine, but On itetrating this piece

[wtr-general] Error while running Watir

2009-03-04 Thread amit
error.I searched on the net for the above file but couldn't find it. If anyone had found the solution please let me know. Thanks, Amit --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post

[wtr-general] Re: Error while running Watir

2009-03-04 Thread amit
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 prompt. 2:gem uninstall win32-api 3:gem install win32-api 4:Various option appeared which are Select which gem to install for your platform

[wtr-general] Browse an Image

2009-10-15 Thread Amit
In my application i want to write a watir code for browsing an image Working: 1:Click on browse button 2:Pop window opens.I click on image and click on ok 3:Image path is displayed under the browse field 4:Click on upload Now i want to write a watir code for the above. Html code is: div

[wtr-general] Problem with radio button

2009-10-21 Thread Amit
Hello, I need some help regarding radio button. In my application i created a poll named Test along with other polls There are two radio buttons beside each poll namely Update and Delete Now here i want to click on Delete radio button beside Test poll. How do i access? This is its html. input

[wtr-general] Re: Problem with radio button

2009-10-21 Thread Amit
Actions TestUnpublished Here contains 2 radio buttons i.e. Update and Delete On Oct 21, 1:19 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Oct 21, 2009 at 9:26 AM, Amit amitkkulkarni...@gmail.com wrote: Now here i want to click on Delete radio

Re: [wtr-general] Re: Watir Support for li tag

2010-08-11 Thread Amit
Hi Cyril, You can use xpath also.. it'll definitely work val1 = browser.element_by_xpath(//d...@id='ires']/l...@class='g']).text Thank you Amit On Wed, Aug 11, 2010 at 3:42 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Aug 11, 2010 at 12:07 PM, cyril.gonsal

Re: [wtr-general] Firewatir attach method doesn't work properly

2010-08-11 Thread Amit
entirely compatible with Watir, so a framework written for Watir should not require much change, if any, to work with Vapir. see http://wiki.github.com/vapir/vapir/coming-from-watir and http://wiki.github.com/vapir/vapir/differences-from-watir-api On Wed, Jul 28, 2010 at 02:06, Amit Kumar

Re: [wtr-general] Watir script editor

2010-08-11 Thread Amit
error then provide your code error message Thank You Amit On Wed, Aug 11, 2010 at 2:01 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Aug 11, 2010 at 8:32 AM, madhu kumar madhu@gmail.com wrote: Please can anyone tell me how to run this watir script without storing in ruby

[wtr-general] Where does watir stores object properties

2010-08-12 Thread Amit
access objects for both window. Thank You Amit -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com

Re: [wtr-general] Where does watir stores object properties

2010-08-12 Thread Amit
Hi Željko, Actually, i was checking behavior of attach function in firewatir. Currently, In firewatir, if we attach 2 windows then it loose control over first one. So, thats why i wanted to know wether it saves object properties or not... and if yes then where.. Thank You Amit On 8/12/10

Re: [wtr-general] Firewatir attach method doesn't work properly

2010-08-12 Thread Amit
its 3.06 On Thu, Aug 12, 2010 at 8:56 PM, Ethan notet...@gmail.com wrote: What version of firefox are you using? On Thu, Aug 12, 2010 at 06:17, Amit amit.e...@gmail.com wrote: Hi Ethan, I tried below code: require 'watir-vapir' ff = Vapir::Firefox.new ff.start(www.google.com

Re: [wtr-general] Where does watir stores object properties

2010-08-15 Thread Amit
variables as it does for the old window and you lose references to that window. On Thu, Aug 12, 2010 at 10:36, Amit amit.e...@gmail.com wrote: Hi Željko, Actually, i was checking behavior of attach function in firewatir. Currently, In firewatir, if we attach 2 windows then it loose control

[wtr-general] Ruby.exe get crashed after running 15-20 test cases.

2010-09-02 Thread Amit
Hi Guys I'm running, my scripts on FireWatir. But after running 15-20 scripts in one shot it get crashed. I tried to capture error by using rescue = e. But its not showing any error. I executed that script again for which it got crashed. That scripts ran successfully. My Browser is FF 3.5

Re: [wtr-general] Firewatir attach method doesn't work properly

2010-09-02 Thread Amit
on 3.0.*. A fix is coming, but I have a number of other higher-priority issues to fix first. You can upgrade to 3.5 or 3.6, or wait until I can get 3.0 support working. On Thu, Aug 12, 2010 at 11:50, Amit amit.e...@gmail.com wrote: its 3.06 On Thu, Aug 12, 2010 at 8:56 PM, Ethan notet

[wtr-general] Re: Issue with using arguments within Open Office (column, row) code

2009-01-16 Thread Amit Agarwal
you need to pass (row,column) for the function sheet1.getCellByPosition(id)...arity of this function is 2. On Sat, Jan 17, 2009 at 2:01 AM, dmitry...@gmail.com dmitry...@gmail.comwrote: Hello everyone, Running into an issue, would really appreciate some help. I have to files. One has a

[wtr-general] How to identify the li tags

2009-02-01 Thread Amit Agarwal
Hi, Please help me in identifying the text written in the li tag of a defined div div class=text nbsp;Please review and make necessary corrections on this page: ul li Not a valid Case. Please check. /li /ul

[wtr-general] How to run firewatir code on ubuntu.

2009-02-25 Thread amit onkar
i have written the code in text editor and save it by .rb. But now how i should run it. Can anybody help me for running it on ubuntu.. Please also send some links about firewatir on ubuntu. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[wtr-general] Re: How to run on ubuntu

2009-02-25 Thread amit onkar
/13893658/jssh-20080725-Linux.xpi $ruby your_test.rb On Feb 25, 3:21 pm, amit onkar amit.onk...@gmail.com wrote: i have written the code in text editor and save it by .rb. But now how i should run it. Can anybody help me for running it on ubuntu.. Please also send some links about

[wtr-general] Re: How to run on ubuntu

2009-02-25 Thread amit onkar
Hello, I am using ubuntu and firewatir and I have written the following code with test.rb and save at desktop. CODE : require 'firewatir' include 'firewatir' ff=Firefox.new ff.goto(http://mail.yahoo.com;) ff.text_field(:name,login).set(User_Name) ff.text_field(:name,passwd).set(Password)

[wtr-general] Re: How to run on ubuntu

2009-02-25 Thread amit onkar
Thanks Zhimin it works. On Thu, Feb 26, 2009 at 4:08 AM, Zhimin zhiminz...@gmail.com wrote: You didn't have require 'rubygems' Try my example above. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir

[wtr-general] Re: How to run on ubuntu

2009-02-25 Thread amit onkar
26, 2009 at 10:29 AM, amit onkar amit.onk...@gmail.com wrote: Thanks Zhimin it works. On Thu, Feb 26, 2009 at 4:08 AM, Zhimin zhiminz...@gmail.com wrote: You didn't have require 'rubygems' Try my example above. --~--~-~--~~~---~--~~ You received

[wtr-general] Creating and using method

2009-02-26 Thread amit onkar
Hello, Can u give the code for creating and using methods for login and logout function(i.e user name and password) for www.yahoomail.com. And how to handle error message or text on any website for Wrong User name and Password and error window thats pop up. I am working on firewatir on

[wtr-general] Re: Error while running Watir

2009-03-05 Thread amit kulkarni
Hi, When i tried for the first time then it didnt work, But after trying for 2-3 times it worked.I am using it on Vista platform. Try it out for 2-3 times.. Also did u installed the jssh addon for firefox? Thanks, Amit --~--~-~--~~~---~--~~ You

[wtr-general] Re: What gems to do you have installed?

2009-04-10 Thread amit onkar
Pettichord CTO, WatirCraft LLC, www.watircraft.com Lead Developer, Watir, www.watir.com Blog, www.io.com/~wazmo/blog http://www.io.com/%7Ewazmo/blog Twitter, www.twitter.com/bpettichord Watir Training: Portland/Beaverton April 16-17 www.watircraft.com/training -- Thanks and Regard Amit Onkar

[wtr-general] Re: why the ruby says Unable to locate element?

2009-04-13 Thread amit onkar
and some things do change. -- Thanks and Regard Amit Onkar Mobile : 9423123385 --~--~-~--~~~---~--~~ 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

[wtr-general] Re: problem in jssh

2009-06-30 Thread amit onkar
getting error like this Make sure that JSSh is properly installed and Firefox is running with '-jssh' option (Watir::Exception::UnableToStartJSShException) can anybody help me in this Thanks, Venky http://prog2impress.com/ -- Thanks and Regard Amit Onkar Mobile : 9423123385

[wtr-general] Re: Need help

2009-07-13 Thread Amit Kumar
Use multiple attributes for this: browser.checkbox(:id= selectedevent , index =1).set browser.checkbox(:id= selectedevent , index =2).set browser.checkbox(:id= selectedevent , index =3).set - regards Amit Kumar On Mon, Jul 13, 2009 at 3:27 PM, rakesh srakes...@gmail.com wrote: tr style

[wtr-general] Re: Browse an Image

2009-10-21 Thread Amit Kulkarni
, Oct 15, 2009 at 10:07 AM, Amit amitkkulkarni...@gmail.com wrote: input id=product_photo class=file type=file size=20 name=product[photo]/ http://wiki.openqa.org/display/WTR/File+Uploads Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~ You

[wtr-general] Re: Problem with radio button

2009-10-21 Thread Amit Kulkarni
Hi Zeljko, I tried by using the above step but still no success :-( It pops up a small window saying Please select an operation along with OK button. I still cant figure out whats is the problem. On Wed, Oct 21, 2009 at 4:04 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Oct

[wtr-general] Re: Problem with radio button

2009-10-21 Thread Amit Kulkarni
No it does not flashed the radio button but again it is popping the window. I dont know why it is getting popped up. On Wed, Oct 21, 2009 at 4:25 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Oct 21, 2009 at 12:51 PM, Amit Kulkarni amitkkulkarni...@gmail.com wrote

[wtr-general] Re: Problem with Checkbox

2009-10-21 Thread Amit Kulkarni
also tried using .set method but no success. I am not getting what is wrong.Please suggest. On Wed, Oct 21, 2009 at 4:36 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Oct 21, 2009 at 1:02 PM, Amit Kulkarni amitkkulkarni...@gmail.com wrote: I tried following code but still

Fwd: [wtr-general] Re: Problem with radio button

2009-10-21 Thread Amit Kulkarni
-- Forwarded message -- From: Amit Kulkarni amitkkulkarni...@gmail.com Date: Wed, Oct 21, 2009 at 4:40 PM Subject: Re: [wtr-general] Re: Problem with radio button To: watir-general@googlegroups.com No it does not flashed the radio button but again it is popping the window. I dont

[wtr-general] Re: Problem with Checkbox

2009-10-21 Thread Amit Kulkarni
No,it does not flash up anything. It also does not display any error and goes to next step On Wed, Oct 21, 2009 at 5:39 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: Does this flash what you want? Browser.span(:text, Ratingsanity1).flash Željko

[wtr-general] Accessing link method

2009-10-21 Thread Amit Kulkarni
Hello, Consider this scenario: I have list of images(which are non-clickable) and below that there is an edit link Now i want to click that edit link so that i can edit the description. Html code is as follows: div style=width: 150px; height: 150px;input id=attachment[218] type= checkbox

[wtr-general] Re: Problem with Checkbox

2009-10-22 Thread Amit Kulkarni
Any suggestions on the above issue? Please help On Wed, Oct 21, 2009 at 5:49 PM, Amit Kulkarni amitkkulkarni...@gmail.comwrote: No,it does not flash up anything. It also does not display any error and goes to next step On Wed, Oct 21, 2009 at 5:39 PM, Željko Filipin zeljko.fili...@wa

[wtr-general] Re: Problem with radio button

2009-10-22 Thread Amit Kulkarni
Help required on above issue :-) 2009/10/21 Amit Kulkarni amitkkulkarni...@gmail.com -- Forwarded message -- From: Amit Kulkarni amitkkulkarni...@gmail.com Date: Wed, Oct 21, 2009 at 4:40 PM Subject: Re: [wtr-general] Re: Problem with radio button To: watir-general

[wtr-general] Re: Browse an Image

2009-10-22 Thread Amit Kulkarni
Thanks a lot Željko . On Wed, Oct 21, 2009 at 1:43 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Oct 21, 2009 at 9:06 AM, Amit Kulkarni amitkkulkarni...@gmail.com wrote: Browser.file_field(:name, photo).set(path name i.e. C:\\abc\\abc.jpg) Please dont forget to enter

[wtr-general] Help required regarding link method

2009-10-22 Thread Amit Kulkarni
Hello all, Following is my scenario: I have a list of images and below that image contains Edit link. Now i want to click on that Edit so that i can Edit the Title and Description. Following is the html code: div style=width: 150px; height: 150px;input id=attachment[218] type= checkbox value=1

[wtr-general] Re: Help required regarding link method

2009-10-22 Thread Amit Kulkarni
wrote: On Thu, Oct 22, 2009 at 10:05 AM, Amit Kulkarni amitkkulkarni...@gmail.com wrote: i want to recognize this Edit link using the image title. browser.link(:after?, browser.image(:title, Photogallerysanity)).click Željko -- http://watirpodcast.com

[wtr-general] Re: Help required regarding link method

2009-10-22 Thread Amit Kulkarni
...@wa-research.ch wrote: On Thu, Oct 22, 2009 at 12:36 PM, Amit Kulkarni amitkkulkarni...@gmail.com wrote: I tried browser.link(:after?, browser.image(:title, Photogallerysanity)).click but no success Amit, You have posted a few very similar questions in the last two days. Have you read

[wtr-general] Re: Help required regarding link method

2009-10-22 Thread Amit Kulkarni
Sorry again, Yes i read the tutorial. I tried some stunts but no success.So posted my queries here. On Thu, Oct 22, 2009 at 4:48 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, Oct 22, 2009 at 12:47 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: Have you read the

[wtr-general] Re: Help required regarding link method

2009-10-22 Thread Amit Kulkarni
I also tried to use using Xpath. i.e. Browser.link(:xpath,//a...@href='/Nikes/photo_gallery/attachments/218/edit?media=print']/).text # = Edit Still no success.Is there something wrong with the above code? On Thu, Oct 22, 2009 at 4:55 PM, Amit Kulkarni amitkkulkarni...@gmail.comwrote: Sorry

[wtr-general] Re: Help required regarding link method

2009-10-22 Thread Amit Kulkarni
...@gmail.com wrote: can you try this? Browser.link(:xpath,//i...@title='Photogallerysanity']/a).flash() or click() - Angrez On Thu, Oct 22, 2009 at 5:03 PM, Amit Kulkarni amitkkulkarni...@gmail.com wrote: I also tried to use using Xpath. i.e. Browser.link(:xpath,//a...@href='/Nikes/photo_gallery

[wtr-general] Re: Problem with radio button

2009-10-22 Thread Amit Kulkarni
Thanks a lot.But the name act2[165] is not going to be same all the time. I have my poll title as Test.So i want to set my focus on delete radio button whose title is Test. Is it possible to do this? This is my html script tr tdTest/td tdUnpublished/td td class=actions label for=Update input

[wtr-general] Re: Help required regarding link method

2009-10-23 Thread Amit Kulkarni
your question clearly enough. For the html code you provided, of course it is easy for us to help you to locate. Please give us the whole page source you failed to locate, and show the error message you got. Thanks. Wesley Chen. For life, the easier, the better. 2009/10/22 Amit Kulkarni

[wtr-general] Re: Help required regarding link method

2009-10-23 Thread Amit Kulkarni
= underline, :index =1).click We don't need use Xpth here. Thanks. Wesley Chen. For life, the easier, the better. 2009/10/23 Amit Kulkarni amitkkulkarni...@gmail.com Thanks for the help. Following is the page source. body div class=main !-- main -- div class

[wtr-general] Re: Problem with radio button

2009-10-23 Thread Amit Kulkarni
ie.radio(:id, theId ).set On Oct 22, 8:31 am, Amit Kulkarni amitkkulkarni...@gmail.com wrote: Thanks a lot.But the name act2[165] is not going to be same all the time. I have my poll title as Test.So i want to set my focus on delete radio button whose title is Test. Is it possible to do

[wtr-general] Re: Problem with radio button

2009-10-23 Thread Amit Kulkarni
Hey all, What i have done is: I got all the elements by my_array = Browser.table(:class , 'admin-monochrome').to_a Under my_array i got the string Test. Now how should i click on Delete button? Please help? On Fri, Oct 23, 2009 at 1:55 PM, Amit Kulkarni amitkkulkarni...@gmail.comwrote: Hi Super

[wtr-general] Re: A stupid question ... how do I apply patches to Watir? :-(

2010-06-01 Thread Amit Koparkar
could you please let me know how to apply the patch to watir? Amit On Apr 15, 1:16 am, Rats crapats...@yahoo.com.au wrote: On Apr 14, 4:30 pm, Michael Hwee michael_h...@yahoo.com wrote: Can you use click! Click! just launches the popup just like click by itself would do. So performance

[wtr-general] Firewatir attach method doesn't work properly

2010-07-26 Thread Amit Kumar
Hi All! I'm using Firewatir 1.6.5 I want to test an web application which open a pop up window. I want to attach this pop up window with firewatir. So, i have written below code: require 'firewatir' ff =FireWatir::Firefox.new ff.goto(www.example.com) ff.link(:text,Pop_up).click ff2=

Re: [wtr-general] Firewatir attach method doesn't work properly

2010-07-28 Thread Amit Kumar
of FireWatir which I have updated and improved a lot. See the site for Vapir at http://vapir.org/ -Ethan On Mon, Jul 26, 2010 at 07:07, Amit Kumar amit.e...@gmail.com wrote: Hi All! I'm using Firewatir 1.6.5 I want to test an web application which open a pop up window. I want to attach

[wtr-general] Javascript pop uo using firewatir

2010-11-17 Thread Amit Kulkarni
Hello all, I am having a application in which user can be created,updated and deleted. On delete action popup is there which onclick it shows a pop up box along with two buttons i.e. Ok and Cancel My scenario is: User should be able to click on Destroy link and then click on OK in the pop up box

Re: [wtr-general] Re: Javascript pop uo using firewatir

2010-11-22 Thread Amit Kulkarni
:in `assert_enabled' from /var/lib/gems/1.8/gems/firewatir-1.6.7/lib/firewatir/element.rb:1072:in `click' from user_destroy.rb:6 On Thu, Nov 18, 2010 at 2:36 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, Nov 18, 2010 at 8:21 AM, Amit Kulkarni amitkkulkarni...@gmail.com wrote

Re: [wtr-general] Re: Javascript pop uo using firewatir

2010-11-24 Thread Amit Kulkarni
. 2010/11/22 Amit Kulkarni amitkkulkarni...@gmail.com Thanks a lot for the link. But i tried every option but no success. If you see carefully it uses a Ajax call. require 'rubygems' require 'firewatir' Watir::Browser.default = 'firefox' Browser = Watir::Browser.new Browser.goto(http

Re: [wtr-general] Re: Javascript pop uo using firewatir

2010-11-24 Thread Amit Kulkarni
wrote: Why does Browser.link(:href,/users/1).click have double quotes ( ) around :href? That is not required and I am not sure if that will work either. This is the syntax: a href=page.htm ie.link(:href, /page/).click Try removing those double quotes. Hope it works. 2010/11/22 Amit

Re: [wtr-general] Re: Javascript pop uo using firewatir

2010-11-26 Thread Amit Kulkarni
/in/alisterscott There are two ways to get enough: One is to continue to accumulate more and more. The other is to desire less. *~ G. K. Chesterton* 2010/11/24 Amit Kulkarni amitkkulkarni...@gmail.com Hi, I tried the code but it gives me error as gem_original_require': no such file to load

[wtr-general] Opening new browser window from existing one

2010-11-29 Thread Amit Kulkarni
::Browser.new Browser.goto(http://localhost:3000/users;) sleep 5 *Browser.attach(:title, '/test123/')* #Browser.link(:href, /users/new).click Browser.text_field(:name, user[name]).set(amit) Browser.text_field(:name, user[description]).set(Qa Engineer) Browser.select_list(:name, user[role]).select(Hr

Re: [wtr-general] Opening new browser window from existing one

2010-11-29 Thread Amit Kulkarni
-research.ch wrote: On Mon, Nov 29, 2010 at 5:13 PM, Amit Kulkarni amitkkulkarni...@gmail.com wrote: Browser.attach(:title, '/test123/') a title=test123 href=/users/newNew user/a If a link has title test123, it does not mean that the page that it leads to will have the same title. Inspect

Re: [wtr-general] Opening new browser window from existing one

2010-11-29 Thread Amit Kulkarni
Hi, The page which is going to open has the following in the title tag. titleUsers: new/title I changed the title tag which is currently present on the page from where i am going to click. So following is displayed under title tag: titleUsers: index/title on the top AND a

Re: [wtr-general] Opening new browser window from existing one

2010-11-29 Thread Amit Kulkarni
Hi, Currently i am using FireWatir on Linux.So i am just thinking is there any problem in the code running on Linux and running it on windows. On Tue, Nov 30, 2010 at 11:54 AM, Amit Kulkarni amitkkulkarni...@gmail.comwrote: Hi, The page which is going to open has the following in the title tag

Re: [wtr-general] Opening new browser window from existing one

2010-11-30 Thread Amit Kulkarni
Filipin zeljko.fili...@wa-research.ch On Tue, Nov 30, 2010 at 7:24 AM, Amit Kulkarni amitkkulkarni...@gmail.com wrote: titleUsers: new/title titleUsers: index/title on the top Browser.attach(:title, '/Users: new/') I am now completely confused what is the title of the page that you

Re: [wtr-general] Re: Opening new browser window from existing one

2010-11-30 Thread Amit Kulkarni
On Nov 30, 4:08 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Nov 30, 2010 at 7:24 AM, Amit Kulkarni amitkkulkarni...@gmail.com wrote: titleUsers: new/title titleUsers: index/title on the top Browser.attach(:title, '/Users: new/') I am now completely

Re: [wtr-general] Opening new browser window from existing one

2010-12-01 Thread Amit Kulkarni
: Hi Amit, does your application code has code to open a new window when you click on the link. e.g. use target attribute of href tag. When you click link manually do you get a new window opened ? why do you want to open a new window from your watir script ? cheers Vishavdeep On Tue, Nov

[wtr-general] How to select the value of the drop down dyanamically

2011-05-12 Thread Amit Bobade
Hello all: I have a problem in locating a value of the drop down. The scene is as follows: 1. I want to select an option of the drop down dynamically. 2. Option ids and titles are dynamically generated. Code: select id=existingAlbum option selected=selectedSelect Existing Album/option

Re: [wtr-general] How to select the value of the drop down dyanamically

2011-05-12 Thread Amit Bobade
Thanks for replying mate. I have a drop down having some values. Now I want to select one of the values at random (Not dynamically. sorry and thanks). Please suggest. Thanks, Amit * * On Thu, May 12, 2011 at 1:48 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, May 12, 2011

Re: [wtr-general] How to select the value of the drop down dyanamically

2011-05-12 Thread Amit Bobade
=Nature PicuresNature Picures/option option id=5674845 name=profile title=Test 123Test 123/option option id=5245465 name=profile title=PicturesPictures/option Or is there any method or way to get the contents of the drop down? Thanks, Amit On Thu, May 12, 2011 at 2:05 PM, Željko Filipin

Re: [wtr-general] How to select the value of the drop down dyanamically

2011-05-12 Thread Amit Bobade
Thanks for your help mate. :) On Thu, May 12, 2011 at 2:18 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, May 12, 2011 at 10:43 AM, Amit Bobade amit.sr...@gmail.com wrote: Or is there any method or way to get the contents of the drop down? Sure. browser.select_list(how

Re: [wtr-general] Re: Can we set text in read only text field using Watir.

2011-05-13 Thread Amit Bobade
Thank you so much Ivan. It worked. :) On Fri, May 13, 2011 at 2:09 PM, Ivan Kabluchkov ikabluch...@gmail.comwrote: use value= method ie.text_field(:class = some_class).value = some value to set in read-only field -- Before posting, please read http://watir.com/support. In short: search

[wtr-general] How to deal with HTTP responce

2011-05-16 Thread Amit Bobade
Dear all: I am trying to deal with http response using watir. It is possible with watir? If yes, please tell me how to deal with response (status code), header, etc. -- Thanks and Regards, Amit -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice

[wtr-general] How to generate the test results?

2011-05-20 Thread Amit Bobade
this. * -- Thanks and Regards, Amit -- 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

Re: [wtr-general] How to generate the test results?

2011-05-20 Thread Amit Bobade
zeljko.fili...@wa-research.ch wrote: On Fri, May 20, 2011 at 8:04 AM, Amit Bobade amit.sr...@gmail.com wrote: But when I run scripts by clicking them then scripts doesn't generate any output (i.e. There is no output window.). You run the script by double clicking rb file? I suggest that you

Re: [wtr-general] Re: How to generate the test results?

2011-05-20 Thread Amit Bobade
-- 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 -- Thanks and Regards, Amit -- Before posting, please read http

Re: [wtr-general] How to generate the test results?

2011-05-20 Thread Amit Bobade
Thanks buddies.I will try this and will let you know the results. Thanks for your help. :) On Fri, May 20, 2011 at 2:18 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, May 20, 2011 at 10:45 AM, Amit Bobade amit.sr...@gmail.com wrote: But I have to deliver the scripts

Re: [wtr-general] How to generate the test results?

2011-05-20 Thread Amit Bobade
://wiki.openqa.org/display/WTR/HTML+report+class :) On Fri, May 20, 2011 at 2:54 PM, ranjith kumar ranjith@gmail.comwrote: Hey Amit, Kindly share the XML file once you are done. Thanks in Advance. Regards, Ranjith On Fri, May 20, 2011 at 11:34 AM, Amit Bobade amit.sr

[wtr-general] Where to put user defined class to include it in various scripts

2011-05-21 Thread Amit Bobade
will be able to include it in my scripts? 2. Can I include this class using 'require' ? -- Thanks and Regards, Amit -- 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

Re: [wtr-general] Re: Where to put user defined class to include it in various scripts

2011-05-22 Thread Amit Bobade
Thanks a ton, Joedio. :) On Sat, May 21, 2011 at 6:15 PM, joedio joe...@comcast.net wrote: Amit, These are indeed a Ruby questions NOT a Watir questions. I appreciate your candor in noting that with your question. The answers to your questions are: 1. Where to save this class so that I

Re: [wtr-general] How to get the status of http

2011-05-22 Thread Amit Bobade
-general watir-general+unsubscr...@googlegroups.com -- Thanks and Regards, Amit -- 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

[wtr-general] Getting (JsshSocket::JSSyntaxError) Error

2011-05-30 Thread Amit Bobade
, Amit -- 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

[wtr-general] Re: Getting (JsshSocket::JSSyntaxError) Error

2011-05-31 Thread Amit Bobade
Seems like nobody knows solution for this..strange On Tue, May 31, 2011 at 11:08 AM, Amit Bobade amit.sr...@gmail.com wrote: Dear All: I am getting following error while executing the script. Please provide some solution. E:/Ruby187/lib/ruby/gems/1.8/gems/firewatir-1.6.7/lib

Re: [wtr-general] Re: Getting (JsshSocket::JSSyntaxError) Error

2011-06-01 Thread Amit Bobade
Hi Gilberto, I tried this one. But unfortunately I did not work. On Wed, Jun 1, 2011 at 1:05 PM, Gilberto Velenux Ficara g.fic...@gmail.com wrote: On 31 Mag, 07:38, Amit Bobade amit.sr...@gmail.com wrote: Dear All: I am getting following error while executing the script. Please provide

Re: [wtr-general] Re: Getting (JsshSocket::JSSyntaxError) Error

2011-06-01 Thread Amit Bobade
wrote: can you please post the code that you are executing? On Wed, Jun 1, 2011 at 1:05 PM, Gilberto Velenux Ficara g.fic...@gmail.com wrote: On 31 Mag, 07:38, Amit Bobade amit.sr...@gmail.com wrote: Dear All: I am getting following error while executing the script. Please provide some

Re: [wtr-general] Re: Getting (JsshSocket::JSSyntaxError) Error

2011-06-02 Thread Amit Bobade
) On Wed, Jun 1, 2011 at 4:19 PM, Amit Bobade amit.sr...@gmail.com wrote: Hi, My code is as follows. I located element manually instead of using xpath. Following code works properly for *exists? *But it does not work for *text.include?(#{variable_name}). * **I tried this with *text.include

[wtr-general] watir-webdriver instead of firewatir- Showing error

2011-06-09 Thread Amit Bobade
and Regards, Amit -- 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

Re: [wtr-general] watir-webdriver instead of firewatir- Showing error

2011-06-09 Thread Amit Bobade
-research.ch wrote: On Thu, Jun 9, 2011 at 12:04 PM, Amit Bobade amit.sr...@gmail.com wrote: E:/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:242:in `activate': can't activate ffi (= 1.0.7, runtime) for [selenium-webdriver-0.2.1, watir-webdriver-0.2.4], already activated ffi-0.6.3-x86-mingw32

Re: [wtr-general] watir-webdriver instead of firewatir- Showing error

2011-06-10 Thread Amit Bobade
and perform a fresh installation. I have encountered similar errors and that is what i did. Cristina On Thu, Jun 9, 2011 at 9:25 AM, a b cristina.watir.toro...@gmail.comwrote: Hi Amit, try: browser = Watir::Browser.new :ff browser.goto(http://www.gosocially.com/index.php;) Cristina

[wtr-general] Can we check whether particular div is loaded or not?

2011-06-21 Thread Amit Bobade
Dear All: I want to check whether particular 'div' is loaded or not using Watir? Is it possible? if yes, please tell how to check for the same. Thanks in advance. -- Thanks and Regards, Amit -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice

Re: [wtr-general] Can we check whether particular div is loaded or not?

2011-06-21 Thread Amit Bobade
Thank you so much, Željko :) On Tue, Jun 21, 2011 at 3:31 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Jun 21, 2011 at 11:55 AM, Amit Bobade amit.sr...@gmail.com wrote: I want to check whether particular 'div' is loaded or not using Watir? This will return true

[wtr-general] How to make the scripts more effective at slow connection?

2011-06-23 Thread Amit Bobade
due to some reasons. Please could you provide some solutions regarding to the same. Please tell me how to make scripts more effective. -- Thanks and Regards, Amit -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

Re: [wtr-general] Re: How to make the scripts more effective at slow connection?

2011-06-27 Thread Amit Bobade
Thanks for your valuable advice. :) On Mon, Jun 27, 2011 at 2:24 PM, Danijel danijel.vuko...@gmail.com wrote: Hi Amit, Like said joedio, you need to add when you are loading new pages, every page has it's own recognizing element, until this element is present then wait, after finding

Re: [wtr-general] Re: How to get the value of the li tag

2011-06-28 Thread Amit Bobade
-general+unsubscr...@googlegroups.com -- Thanks and Regards, Amit -- 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

Re: [wtr-general] Re: Jssh Socket error

2011-07-07 Thread Amit Bobade
hi, I encountered this problem long before. I tried so hard to overcome this problem. The solution is - use Watir-webdriver and change your script accordingly. To install Watir-webdriver use following command: gem install watir-webdriver Let me know if any problem. Thanks, -Amit On Thu, Jul

Re: [wtr-general] Re: Jssh Socket error

2011-07-07 Thread Amit Bobade
Hi, Have you changed scripts for watir-Webdrivers as follows? Include :- require 'rubygems' require 'Watir-webdriver' To open browser:- browser = Watir::Browser.new :ff browser.goto(URL) Try this and let me know. Thanks, Amit On Thu, Jul 7, 2011 at 6:30 PM, V vaditya2...@gmail.com wrote

Re: [wtr-general] Re: Jssh Socket error

2011-07-07 Thread Amit Bobade
Hi, Lets resolved error first. To open browser use following code: To open browser:- browser = Watir::Browser.new :ff browser.goto(URL) Try this. Thanks Amit On Thu, Jul 7, 2011 at 7:11 PM, V vaditya2...@gmail.com wrote: changed.. But getting this error: Bro.rb:17:in `setdefaultbrowser

Re: [wtr-general] Re: Jssh Socket error

2011-07-07 Thread Amit Bobade
hi, browser = Watir::Browser.new :ff - Why do we need to have FF here? You can have :chrome and : ie also. Thanks, -Amit On Thu, Jul 7, 2011 at 7:43 PM, V vaditya2...@gmail.com wrote: How do i maximize the FF window? I need to replace the browser every time i execute. How? browser

Re: [wtr-general] Re: Jssh Socket error

2011-07-08 Thread Amit Bobade
Hi, To maximize the IE browser, try this: require 'rubygems' require 'Watir' ie = Watir::IE.new ie.goto(http://www.google.com;) ie.maximize For other browsers, I am trying to find out the solutions. Thanks, -Amit On Fri, Jul 8, 2011 at 5:24 PM, Aditya vaditya2...@gmail.com wrote

Re: [wtr-general] Unable to Identify the Divs

2011-07-15 Thread Amit Bobade
, globalSearchItems ).exist? = false -- 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 -- Thanks and Regards, Amit

[wtr-general] Chrome is getting closed even I do not use browser.close() method.

2011-07-21 Thread Amit Bobade
. Thanks in advance. -- Thanks and Regards, Amit -- 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

Re: [wtr-general] Chrome is getting closed even I do not use browser.close() method.

2011-07-22 Thread Amit Bobade
Thank you very much. Please let us know once you are done. Thanks in advance. On Fri, Jul 22, 2011 at 1:48 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Jul 22, 2011 at 7:50 AM, Amit Bobade amit.sr...@gmail.com wrote: My scripts are running properly but Chrome browser

Re: [wtr-general] Chrome is getting closed even I do not use browser.close() method.

2011-08-02 Thread Amit Bobade
Dear Željko, I am still facing this problem. Any updates? Thanks, Amit. 2011/7/22 Amit Bobade amit.sr...@gmail.com Thank you very much. Please let us know once you are done. Thanks in advance. On Fri, Jul 22, 2011 at 1:48 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri

  1   2   >