Re: [wtr-general] Watir at Wikipedia

2010-08-31 Thread Pallavi Sharma
Hi The handling pp ups example should link to the popup handling example at the watir site. It tells watir can be used for firefox, chrome, but there are different version of watir which does. Fire watir. It also starts talking about some tit bits to help people in developing frameworks, like

[wtr-general] Re: WATiR Query

2010-08-24 Thread Pallavi Sharma
Adding Watir group, for everyone's benefit. Best place is www.watir.com go to the documentation part you have nice well explained examples. and some great cheat sheets ruby, www.ruby.org, rest the more you do it the more you learn... Regards Pallavi. On Mon, Aug 23, 2010 at 10:48 AM, Mohamed

Re: [wtr-general] using regular expression

2010-08-24 Thread Pallavi Sharma
:) great.. all the best Regards Pallavi. On Mon, Aug 23, 2010 at 9:01 PM, chunchu kartheek chunchukarth...@gmail.com wrote: Thanks alot pallavi its working now On Mon, Aug 23, 2010 at 10:45 AM, Pallavi Sharma write2pall...@gmail.comwrote: Hi I believe first you would have to get

Re: [wtr-general] using regular expression

2010-08-22 Thread Pallavi Sharma
Hi If you wish to select multiple check boxes, may be you would require a 'for' loop and some code like this: for i in (1..5) str= ie.frame(:id,'frame').checkbox(:name, checkbox_ + i.to_s obj=eval str obj.set end Regards Pallavi. On Sun, Aug 22, 2010 at 11:49 AM, chunchu kartheek

Re: [wtr-general] using regular expression

2010-08-22 Thread Pallavi Sharma
, Aug 22, 2010 at 7:09 PM, Pallavi Sharma write2pall...@gmail.comwrote: Hi If you wish to select multiple check boxes, may be you would require a 'for' loop and some code like this: for i in (1..5) str= ie.frame(:id,'frame').checkbox(:name, checkbox_ + i.to_s obj=eval str

Re: [wtr-general] Speed/Delay

2010-08-20 Thread Pallavi Sharma
Hi Which version are you using? It works fine with 1.6.2. Regards Pallavi. On Sat, Aug 21, 2010 at 2:10 AM, ravi rav...@gmail.com wrote: The cheat sheet here(http://wiki.openqa.org/display/WTR/Cheat+Sheet) specifies a parameter called speed for the browser object which can be used to set

Re: [wtr-general] Re: How to select a item from the dropbox

2010-08-16 Thread Pallavi Sharma
, Pallavi Sharma write2pall...@gmail.com wrote: Sudhir For ABPorts, give the complete select list html code, for the other one: select name=selectedReportDetailsString size=1 onchange=javascript:submitReportTypes(' %=WebOperation.REPORTTEMPLATE_REPORT_SELECT%'); class=select- menu180option

Re: [wtr-general] Extracting String from a node / (String Function)

2010-08-16 Thread Pallavi Sharma
Hi Cyril The return you are getting is right, as the div, contains all the text. Try this: require 'watir' ie=Watir::IE.attach(:title,//) a=ie.div(:id,'answer_text').text b=a.split(Text - How useful was my answer?) puts b[0].strip Regards Pallavi. On Mon, Aug 16, 2010 at 1:43 PM,

Re: [wtr-general] Re: How to select a item from the dropbox

2010-08-16 Thread Pallavi Sharma
:in `select' from (irb):32 from :0 I am getting the above error while selecting from the dropbox... Let me know if you require more deatils. The website I want to automate is not public... On Aug 16, 11:18 am, Pallavi Sharma write2pall...@gmail.com wrote: Sudhir

Re: [wtr-general] Re: How to select a item from the dropbox

2010-08-16 Thread Pallavi Sharma
).set(jpm) b.form(:action, /PM/PMlogin.do).submit b.frame(:name, menuMiddle).link(:text, Performance).click Instead of exception I am able to login with above userid and pwd and upto Performance click On Aug 16, 2:40 pm, Pallavi Sharma write2pall...@gmail.com wrote: No Sudhir You

Re: [wtr-general] Re: How to select a item from the dropbox

2010-08-16 Thread Pallavi Sharma
(:name, menuMiddle).link(:text, Performance).click #b.select_list(:name, 'level0').select (00990) rescue Exception = ex puts ex.message end Is it possible that the select list you are trying to access is also in a frame?? Regards Pallavi 2010/8/16 Pallavi Sharma write2pall...@gmail.com

Re: [wtr-general] Re: How to select a item from the dropbox

2010-08-16 Thread Pallavi Sharma
from (irb):98:in `write' See the two executionFirst one able to login but with b.show_frames() not able to login On Aug 16, 5:23 pm, Pallavi Sharma write2pall...@gmail.com wrote: Sudhir Do this: require 'watir' begin test_site

[wtr-general] Re: regarding watir and there use

2010-08-15 Thread Pallavi Sharma
Adding watir group so that everyone can benefit in here Sudhir. Yes should be feasible, can we have a look at your website if its available publicly, or can you send us the html of the page. Is there any frames on your website, what error do you get when you try selecting the element in your

Re: [wtr-general] Differences between Watir, FireWatir, Webdriver ?

2010-08-14 Thread Pallavi Sharma
Can you post your three scripts here, as far as i have used, firwatir and watir are quite consistent, except where text handling is required, rest all you need is to change the browser instance. Regards Pallavi. On Sat, Aug 14, 2010 at 11:24 AM, Chan Nguyen atbl1...@gmail.com wrote: Hi

Re: [wtr-general] Re: How to select a item from the dropbox

2010-08-14 Thread Pallavi Sharma
Sudhir For ABPorts, give the complete select list html code, for the other one: select name=selectedReportDetailsString size=1 onchange=javascript:submitReportTypes(' %=WebOperation.REPORTTEMPLATE_REPORT_SELECT%'); class=select- menu180option value=- Select One -##-1## ## || || ||

Re: [wtr-general] Re: Calendar Click

2010-08-04 Thread Pallavi Sharma
Hi This would work: require watir browser = Watir::Browser.start(http://www.cleartrip.com/;) browser.radio(:id = rnd_trip).set # set round trip radio button browser.image(:src = /calendar_icon.gif/).click # click the first calendar browser.image(:src = /calendar_icon.gif/, :index = 2).click #

Re: [wtr-general] What Ruby version do you all recommend using with Watir?

2010-08-02 Thread Pallavi Sharma
1.86, and windows xp is good enough. watir version 1.6.5 Regards Pallavi. On Sat, Jul 31, 2010 at 10:26 PM, karim rayani karim.ray...@gmail.comwrote: yeh 1.8.6 is recommended, ruby 1.9.* would work on unix but on windows environment gosh knows, although the library has been patched to work

Re: [wtr-general] Watir and Frames

2010-03-20 Thread Pallavi Sharma
Zeljko The last step was not there, thats why i struggled, i do plan to update wiki .. :) Thanks Regards Pallavi. On Fri, Mar 19, 2010 at 2:43 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Mar 19, 2010 at 7:37 AM, Pallavi Sharma write2pall...@gmail.com wrote

Re: [wtr-general] Watir and Frames

2010-03-19 Thread Pallavi Sharma
objects in IE Developer toolbar. If yes then put your site url in Trusted Sites. Then try your code. Reagrds, Mrunal Pallavi Sharma wrote: Hi I have attached the complete error i am getting, the code is simple ie=Watir::IE.attach(:title,//) a=ie.frames(:index,1).link(:text

Re: [wtr-general] Watir and Frames

2010-03-16 Thread Pallavi Sharma
, Mrunal Pallavi Sharma wrote: Hi I have a frame issue with watir, where i get the following error: c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/frame.rb:52:in `method_missing': document (WIN32OLERuntimeError) OLE error code:80070005 in Unknown Access is denied

[wtr-general] Watir and Frames

2010-03-15 Thread Pallavi Sharma
Hi I have a frame issue with watir, where i get the following error: c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/frame.rb:52:in `method_missing': document (WIN32OLERuntimeError) OLE error code:80070005 in Unknown Access is denied. HRESULT error code:0x80020009

Re: [wtr-general] Re: Problem with .click method

2010-02-02 Thread Pallavi Sharma
Hi Tiffany and all The problem is which happens rarely is, the IE status comes as done but all the objects are not yet loaded in the page. And we see a white page. Is it something to do with the ie.ready_status coming to 4 ? So even if the page objects have not loaded completely the ie status

Re: [wtr-general] .text method in Watir and FireWatir

2010-02-02 Thread Pallavi Sharma
Dear Angrez Thanks, yes we would log it in the Jira Tiffany, sure we would mail the code and the sample page where we could reproduce this issue and check it. Thanks for answering. Regards Pallavi. On Tue, Feb 2, 2010 at 12:46 PM, Angrez Singh ang...@gmail.com wrote: Surely, will look

[wtr-general] Fire Watir and Team Viewer

2010-01-20 Thread Pallavi Sharma
Hi We have a weird problem, whenever we connect teamviewer to the system which is using firewatir to execute runs, the Firewatir plugin doesn't work. Has it got anything to do with the interference in the port which these two might be using? in that case is this configurable in firewatir or

Re: [wtr-general] Re: Not able to access Dojo controls

2010-01-19 Thread Pallavi Sharma
Zeljko The problem is that its not mentioned that the input is of type text, like it should in case its a text field. Will watir work with such html code, where its just written input ... Kindly answer this, the browser depicts its a text field. Thanks for the help so far. Regards Pallavi.

Re: [wtr-general] Re: Not able to access Dojo controls

2010-01-19 Thread Pallavi Sharma
Ok Zeljko Thanks, for the info i would check and revert back the same. Regards Pallavi. On Tue, Jan 19, 2010 at 3:28 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Jan 19, 2010 at 10:49 AM, Pallavi Sharma write2pall...@gmail.com wrote: The problem is that its

Re: [wtr-general] Re: Not able to access Dojo controls

2010-01-19 Thread Pallavi Sharma
Zeljo I checked, but other elements are getting recognized with watir, but for this particula dojo kind element, we are not able to recognize. Anything else which we could try please.. Regards Pallavi. On Tue, Jan 19, 2010 at 3:48 PM, Pallavi Sharma write2pall...@gmail.comwrote: Ok Zeljko

Re: [wtr-general] Re: Not able to access Dojo controls

2010-01-19 Thread Pallavi Sharma
-research.ch wrote: On Tue, Jan 19, 2010 at 2:38 PM, Pallavi Sharma write2pall...@gmail.com wrote: other elements are getting recognized with watir, but for this particula dojo kind element, we are not able to recognize. When you use the code I have provided, another element is recognized? Or you

Re: [wtr-general] Re: Not able to access Dojo controls

2010-01-19 Thread Pallavi Sharma
. Regards Pallavi. On Tue, Jan 19, 2010 at 7:39 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Jan 19, 2010 at 3:04 PM, Pallavi Sharma write2pall...@gmail.com wrote: Can it be possible, that the element doesn't allowing setting of text on it, in case of a dojo control

Re: [wtr-general] Re: Fwd: Regarding Getting Page Text in Watir and FireWatir

2010-01-05 Thread Pallavi Sharma
outerHTML for an element and FireWatir returns innerHTML for element. Can you log a bug in JIRA so that we can track this in next release? - Angrez On Mon, Jan 4, 2010 at 3:44 PM, Pallavi Sharma write2pall...@gmail.comwrote: Hi Angrez As we were trying at our end we thought of this solution

Re: [wtr-general] Re: Fwd: Regarding Getting Page Text in Watir and FireWatir

2010-01-05 Thread Pallavi Sharma
, Dec 31, 2009 at 11:26 AM, Pallavi Sharma write2pall...@gmail.com wrote: Thanks Angrez. Rgds Pallavi. On Thu, Dec 31, 2009 at 11:18 AM, Angrez Singh ang...@gmail.comwrote: I'll look into this issue. - Angrez On Thu, Dec 31, 2009 at 10:40 AM, Krishna saradka krishna.sara

Re: [wtr-general] Re: Fwd: Regarding Getting Page Text in Watir and FireWatir

2010-01-03 Thread Pallavi Sharma
into it. Regards Pallavi. On Sat, Jan 2, 2010 at 10:30 AM, Pallavi Sharma write2pall...@gmail.comwrote: Sure Angrez, Let me know if there is any help I could provide or research on. Thanks for looking into the issue once again and wish you a happy new year. Rgds Pallavi. On Thu, Dec 31

Re: [wtr-general] Re: Fwd: Regarding Getting Page Text in Watir and FireWatir

2010-01-01 Thread Pallavi Sharma
while fetching text, it might still break somewhere else. So, let me see if something is possible to make then look similar. - Angrez On Thu, Dec 31, 2009 at 3:02 PM, Pallavi Sharma write2pall...@gmail.comwrote: I agree with you Angrez, about seeing the same thing differently, but when we

Re: [wtr-general] Re: Fwd: Regarding Getting Page Text in Watir and FireWatir

2009-12-31 Thread Pallavi Sharma
is as per the W3C standard. Check this link: https://bugzilla.mozilla.org/show_bug.cgi?id=316063 I am working on how we can actually make the results similar. - Angrez On Thu, Dec 31, 2009 at 11:26 AM, Pallavi Sharma write2pall...@gmail.comwrote: Thanks Angrez. Rgds Pallavi. On Thu, Dec 31

Re: [wtr-general] Re: Fwd: Regarding Getting Page Text in Watir and FireWatir

2009-12-31 Thread Pallavi Sharma
the result returned by Firewatir is as per the W3C standard. Check this link: https://bugzilla.mozilla.org/show_bug.cgi?id=316063 I am working on how we can actually make the results similar. - Angrez On Thu, Dec 31, 2009 at 11:26 AM, Pallavi Sharma write2pall...@gmail.com wrote: Thanks Angrez

Fwd: [wtr-general] Re: Fwd: Regarding Getting Page Text in Watir and FireWatir

2009-12-30 Thread Pallavi Sharma
Hi Angrez Could you please give some time and help with this.. Regards Pallavi. -- Forwarded message -- From: Pallavi Sharma write2pall...@gmail.com Date: Wed, Dec 30, 2009 at 9:21 AM Subject: Re: [wtr-general] Re: Fwd: Regarding Getting Page Text in Watir and FireWatir

Re: [wtr-general] Re: Fwd: Regarding Getting Page Text in Watir and FireWatir

2009-12-30 Thread Pallavi Sharma
then for the time being try making it compare depending on whether it is ie or ff. Though this is not a clean way of doing the things. Thanks regards, KK On Thu, Dec 31, 2009 at 10:11 AM, Pallavi Sharma write2pall...@gmail.comwrote: Hi Angrez Could you please give some time and help

Re: [wtr-general] Re: Fwd: Regarding Getting Page Text in Watir and FireWatir

2009-12-30 Thread Pallavi Sharma
are comparing the string to arrive at some decision then for the time being try making it compare depending on whether it is ie or ff. Though this is not a clean way of doing the things. Thanks regards, KK On Thu, Dec 31, 2009 at 10:11 AM, Pallavi Sharma write2pall...@gmail.com wrote: Hi

Re: [wtr-general] Re: Fwd: Regarding Getting Page Text in Watir and FireWatir

2009-12-29 Thread Pallavi Sharma
by watir and firewatir is not same, i cannot simply run my same watir scripts in fire watir. Any solution or feedback on it... Regards Pallavi. On Wed, Dec 30, 2009 at 4:52 AM, George george.sand...@gmail.com wrote: Hello, What does your code look like? On Dec 27, 8:15 pm, Pallavi Sharma

[wtr-general] Re: unexpected popup window which has no title ::: need help

2009-12-28 Thread Pallavi Sharma
Chetan If its an unexpected window with no title and you just wish to detect and close it, then Auto IT script which is provided in popup helps would work. I am facing the difficulty in identifying the specific button like OK, Cancel Adding watir general groups for everyone's benefit. Regards

[wtr-general] Regarding Getting Page Text in Watir and FireWatir

2009-12-21 Thread Pallavi Sharma
Hello If i try to get the page text for watir and firewatir a peculiar problem arises; for watir if there is br tag then with the test a new line appers but for Firewatir this doesn't happen. I am not able to run directly my test cases made in watir into firewatir due to this behaviour as the

[wtr-general] Re: firewatir- I cannot close the second popup.

2009-11-16 Thread Pallavi Sharma
Can't you start two start clickers at once? Will they both try to access the first pop up and if found close it? So what i am suggesting is this: ff.startClicker(ok) $ff.startClicker(ok) $ff.image(:name, /elete/).click Wont this work Angrez? I had a similar situation for IE, and i used the

[wtr-general] Re: ruby not exit

2009-11-16 Thread Pallavi Sharma
maybe you can try putting an exit() after your last puts statement. -- Pallavi On Mon, Nov 16, 2009 at 12:43 PM, Mamunur Rashid mamun...@gmail.com wrote: i've written following code require 'watir' Watir::Browser.default = firefox url=http://turagv2:8080/lotry/Login.do; name=admin

[wtr-general] Re: Can Watir fetch the system time?

2009-11-08 Thread Pallavi Sharma
Watir is designed in Ruby, and Ruby being a powerful language supports all such functionalities: Link: http://www.tutorialspoint.com/ruby/ruby_date_time.htm http://www.tutorialspoint.com/ruby/ruby_date_time.htmhope this helps. -- Pallavi. On Mon, Nov 9, 2009 at 10:04 AM, yuping zhong

[wtr-general] Re: .Click! and IE hangs

2009-11-07 Thread Pallavi Sharma
4, 10:22 pm, Pallavi Sharma write2pall...@gmail.com wrote: Hi I have a scenario as follows: 1. openwww.makemytrip.comand select International Flights 2. Select the cities in them as delhi, mumbai and click on search button 3. A div appears with two buttons 'continue' and 'cancel

[wtr-general] Object Click and Timeout::timeout

2009-11-02 Thread Pallavi Sharma
Hi I am trying a scenario, where the object click results in a pop up window so it hangs until the popup is handled. so i am trying something like this: begin Timeout::timeout(30) { obj.click } rescue Exception = e message=e end So ideally this should time out the code in the block and come

[wtr-general] Re: Firefox 3.5 and Auto it and FireWatir

2009-11-02 Thread Pallavi Sharma
Will it support using Regular Expressions? I tried it wasn't working for me so thats why switched to Auto it -- Pallavi. On Mon, Nov 2, 2009 at 4:15 PM, Angrez Singh ang...@gmail.com wrote: 1. I am using Firewatir to work on Firefox 3.5, coz somehow my test runs get stuck on FF 3.0 i dont

[wtr-general] Re: Firefox 3.5 and Auto it and FireWatir

2009-11-02 Thread Pallavi Sharma
1. I am using Firewatir to work on Firefox 3.5, coz somehow my test runs get stuck on FF 3.0 i dont know why This should not happen. Can you let me know what is not working? I exactly dont know Angrez but the code just hangs in there, but this is not an issue with 3.5. Can you tell me how

[wtr-general] Re: Object Click and Timeout::timeout

2009-11-02 Thread Pallavi Sharma
Why will .Click Fail? Can you tell me that please? -- Pallavi. On Mon, Nov 2, 2009 at 5:12 PM, Jarmo Pertman jarm...@gmail.com wrote: Use #click_no_wait instead. Jarmo On Nov 2, 11:29 am, Pallavi Sharma write2pall...@gmail.com wrote: Hi I am trying a scenario, where the object click

[wtr-general] Re: Object Click and Timeout::timeout

2009-11-02 Thread Pallavi Sharma
Also click_no_wait doesn't work in the FW i am building. Somehow the spawining of the ruby process just highlights the object but doesn't click. On Mon, Nov 2, 2009 at 5:14 PM, Pallavi Sharma write2pall...@gmail.comwrote: Why will .Click Fail? Can you tell me that please? -- Pallavi

[wtr-general] Re: Firefox 3.5 and Auto it and FireWatir

2009-11-02 Thread Pallavi Sharma
wrote: If you post the HTML code along with ruby code it would be helpful. No one yet knows what kind of pop up you are talking about. Your HTML code shows just one button clicking on which nothing happens. Thanks, Angrez On Mon, Nov 2, 2009 at 5:13 PM, Pallavi Sharma write2pall

[wtr-general] Re: Firefox 3.5 and Auto it and FireWatir

2009-11-02 Thread Pallavi Sharma
. -- Thanks Pallavi On Mon, Nov 2, 2009 at 5:22 PM, Pallavi Sharma write2pall...@gmail.comwrote: Angrez I have attached both the html page and auto it code, and on clicking the button a popup window appears and on clicking on the popup nothing happens, whether you click ok or cancel The ruby

[wtr-general] Re: Firefox 3.5 and Auto it and FireWatir

2009-11-02 Thread Pallavi Sharma
into this issue -- Pallavi. On Mon, Nov 2, 2009 at 9:36 PM, Angrez Singh ang...@gmail.com wrote: Can't see your HTML code file? Can you attache that again? - Angrez On Mon, Nov 2, 2009 at 5:40 PM, Pallavi Sharma write2pall...@gmail.comwrote: The Ruby Code: # Function to look for popups

[wtr-general] Re: Object Click and Timeout::timeout

2009-11-02 Thread Pallavi Sharma
waitForIE? is it because of this? Please anyone?? -- Thanks Pallavi. On Mon, Nov 2, 2009 at 5:16 PM, Pallavi Sharma write2pall...@gmail.comwrote: Also click_no_wait doesn't work in the FW i am building. Somehow the spawining of the ruby process just highlights the object but doesn't click

[wtr-general] Firefox 3.5 and Auto it and FireWatir

2009-10-31 Thread Pallavi Sharma
Hi I have a scenario as follows: 1. I am using Firewatir to work on Firefox 3.5, coz somehow my test runs get stuck on FF 3.0 i dont know why 2. I need to use auto it directly as some popups come which's title i dont know before han so i need to use REGEXPTITLE functionality 3. Now the problem

[wtr-general] Re: Watir, AutoIT, Window Title and Regular Expression

2009-10-29 Thread Pallavi Sharma
Oh Thanks Zeljko thats what even i was thinking, but i wonder why for SMF SMF the ruby script works?? nyways thanks Zeljko. -- Pallavi. On Thu, Oct 29, 2009 at 2:40 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, Oct 29, 2009 at 8:04 AM, Pallavi Sharma write2pall

[wtr-general] Re: Watir, AutoIT, Window Title and Regular Expression

2009-10-29 Thread Pallavi Sharma
then the ruby/watir script will work?? -- Pallavi. On Thu, Oct 29, 2009 at 3:49 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: 2009/10/29 Pallavi Sharma write2pall...@gmail.com i wonder why for SMF SMF the ruby script works?? I did not understand this. Željko

[wtr-general] Re: Watir, AutoIT, Window Title and Regular Expression

2009-10-29 Thread Pallavi Sharma
Also, in the scripts i am trying to detect if a Notepad window is opened if yes then close it. for me autoit script works but not ruby/watir. -- Pallavi On Thu, Oct 29, 2009 at 3:59 PM, Pallavi Sharma write2pall...@gmail.comwrote: Another person has replied and stated that the ruby script

[wtr-general] Re: Watir, AutoIT, Window Title and Regular Expression

2009-10-29 Thread Pallavi Sharma
for me. -- Pallavi. On Thu, Oct 29, 2009 at 4:03 PM, SMF SMF shaikm.fi...@gmail.com wrote: In my machine I have AutoIT - autoit-v3-setup.exe and Watir - ruby186-26.exe On Thu, Oct 29, 2009 at 3:59 PM, Pallavi Sharma write2pall...@gmail.comwrote: Another person has replied and stated

[wtr-general] good link on watir.

2009-10-29 Thread Pallavi Sharma
Hi Anyone seen this link: http://justaddwatir.com/watir/ quite useful and interesting. -- Pallavi --~--~-~--~~~---~--~~ 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] Fire Watir and Get Object Text

2009-10-28 Thread Pallavi Sharma
Hi When i do in firewatir the following: object.text = it returns too many characters, a lot of special characters etc which is causing problem object.innerhtml = returnn blank object.html = returns only the header text. I need to fetch just the text on the object like watir does. Anyone

[wtr-general] Re: watir or selenium

2009-10-28 Thread Pallavi Sharma
Sorry to answer as the question as it is not directed to all I believe what Raveendran means is that with Selenium you can code in your own fav programming language whether its java, perl, ruby, c# etc etc . For each their is a driver available which interacts with selenium RC. But watir works

[wtr-general] Re: Multiple select_list(s) with the same name

2009-10-28 Thread Pallavi Sharma
(:text, Fine Art)).set(Drawing - In A Day) Bret Pallavi Sharma wrote: Have you tried multiple attributes and used index?? ie.select_list(:name = select, :index = 2).set(Drawing - In A Day) Try this. It should solve the issue. -- Pallavi On Wed, Oct 28, 2009 at 7:38 AM, Ben

[wtr-general] Re: FireWatir Issue with Regular expressions

2009-10-27 Thread Pallavi Sharma
:32 AM, Pallavi Sharma write2pall...@gmail.comwrote: Sorry Angrez, forgot to mention that. it is 0.9.4. I think i should upgrade firewatir now. On Mon, Oct 26, 2009 at 3:50 PM, Angrez Singh ang...@gmail.com wrote: Not sure about that. Which Firewatir version are you using? On Mon, Oct

[wtr-general] Re: FireWatir Issue with Regular expressions

2009-10-27 Thread Pallavi Sharma
oh i guess it installs correct but when i say gem --version firewatir gives 0.9.4 why so?? any idea?? On Tue, Oct 27, 2009 at 2:33 PM, Pallavi Sharma write2pall...@gmail.comwrote: Hi Angrez when i do gem install firewatir, it is installing gem version 0.9.4; can you please let me know

[wtr-general] Re: how to recognized DIV object

2009-10-27 Thread Pallavi Sharma
(NoMethodError) Please let me know if i am missing something. On Oct 27, 10:13 am, Pallavi Sharma write2pall...@gmail.com wrote: You can try with index property, if any two objects have the same property, use a third one called index. Watir supports multiple attributes to recognize an object

[wtr-general] Re: how to recognized DIV object

2009-10-27 Thread Pallavi Sharma
, Pallavi Sharma write2pall...@gmail.com wrote: Div doesn't have set function What i was saying that the Div contains maybe a text box on which you are trying to set the text. so directly give the textbox identification ie.text_field(:prop,value).set this should work.. Let me know

[wtr-general] Re: Multiple select_list(s) with the same name

2009-10-27 Thread Pallavi Sharma
Have you tried multiple attributes and used index?? ie.select_list(:name = select, :index = 2).set(Drawing - In A Day) Try this. It should solve the issue. -- Pallavi On Wed, Oct 28, 2009 at 7:38 AM, Ben bgo...@googlemail.com wrote: Below is a sniplet of the code of the web page. I

[wtr-general] FireWatir Issue with Regular expressions

2009-10-26 Thread Pallavi Sharma
Hi I have a weird situation where the Fire-watir sometimes work very smoothly with the scripts involving regular expression to identify the objects but in another case, the script just hangs. and also this scenario happens on different systems, which have the same configuration. Can anyone

[wtr-general] FireWatir Issue with Regular expressions

2009-10-26 Thread Pallavi Sharma
Hi I have a weird situation where the Fire-watir sometimes work very smoothly with the scripts involving regular expression to identify the objects but in another case, the script just hangs. and also this scenario happens on different systems, which have the same configuration. Can anyone

[wtr-general] Re: FireWatir Issue with Regular expressions

2009-10-26 Thread Pallavi Sharma
On Mon, Oct 26, 2009 at 2:17 PM, Pallavi Sharma write2pall...@gmail.comwrote: Hi I have a weird situation where the Fire-watir sometimes work very smoothly with the scripts involving regular expression to identify the objects but in another case, the script just hangs. and also

[wtr-general] Re: FireWatir Issue with Regular expressions

2009-10-26 Thread Pallavi Sharma
The version on which we are checking is Firefox 3.0, maybe it is because of this. On Mon, Oct 26, 2009 at 3:22 PM, Pallavi Sharma write2pall...@gmail.comwrote: Hi Angrez So can it be a possibility that this might fail with other firewatir and firefox versions? Please let me know

[wtr-general] Re: FireWatir Issue with Regular expressions

2009-10-26 Thread Pallavi Sharma
Sorry Angrez, forgot to mention that. it is 0.9.4. I think i should upgrade firewatir now. On Mon, Oct 26, 2009 at 3:50 PM, Angrez Singh ang...@gmail.com wrote: Not sure about that. Which Firewatir version are you using? On Mon, Oct 26, 2009 at 3:41 PM, Pallavi Sharma write2pall

[wtr-general] Re: how to recognized DIV object

2009-10-26 Thread Pallavi Sharma
You can try with index property, if any two objects have the same property, use a third one called index. Watir supports multiple attributes to recognize an object. You can directly give the object properties, doesn't matter whether it is in a div or not with watir. Hope this helps. -- Pallavi

[wtr-general] Re: Downloading File and FireWatir

2009-10-23 Thread Pallavi Sharma
Zeljko Sorry didn't get time. I actually need some help, coz i tried a lot but couldn't mend it. Sorry should have told you so. Please do let me know what to do exactly. I put seperators between the code line but still didn't help. Pallavi. On Fri, Oct 23, 2009 at 2:55 PM, Željko Filipin

[wtr-general] Re: Has anyone tried using AutoIt to handle unexpected Popup windows

2009-10-21 Thread Pallavi Sharma
. Please let me know about it. The script runs from command line HandlePopup.rb windowtitle Buttontext Timeout On Wed, Oct 21, 2009 at 1:51 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Oct 21, 2009 at 9:59 AM, Pallavi Sharma write2pall...@gmail.com wrote: as WinWait

[wtr-general] Re: Downloading File and FireWatir

2009-10-21 Thread Pallavi Sharma
Zeljko Sorry i forgot to ask in the earlier mail about the steps for How to put a post on wiki I have never done that before. So please do let me know. Thanks Pallavi. On Wed, Oct 21, 2009 at 10:34 AM, Pallavi Sharma write2pall...@gmail.comwrote: Sure Zeljko I will do that :) On Tue, Oct

[wtr-general] Re: Has anyone tried using AutoIt to handle unexpected Popup windows

2009-10-21 Thread Pallavi Sharma
PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Oct 21, 2009 at 10:46 AM, Pallavi Sharma write2pall...@gmail.com wrote: I have full installed AutoIT on my system Zeljko, still this doesn't work. Did you ask at Autoit forum? This sounds to me like Autoit problem, not really

[wtr-general] Re: Downloading File and FireWatir

2009-10-21 Thread Pallavi Sharma
Zeljko I updated it, but i guess my script is causing some error on the page its coming in Pink color. How do i rectify that? Let me know Pallavi. On Wed, Oct 21, 2009 at 2:41 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Oct 21, 2009 at 10:53 AM, Pallavi Sharma

[wtr-general] Re: Has anyone tried using AutoIt to handle unexpected Popup windows

2009-10-21 Thread Pallavi Sharma
Ankur I already know the code to handle a popup window via autoit if you know the window tile. Do you have an idea about handling a popup where i dont know what is the windowtitle? Means handling unexpected popup window, which will like handle pop up whatever may be the window title. If you

[wtr-general] Re: Has anyone tried using AutoIt to handle unexpected Popup windows

2009-10-21 Thread Pallavi Sharma
Yeah you are right about it, I know this, but was looking for something to do with the using of regular expression in title. Would have helped my implementation. Anyways thanks, will try what you have suggested. Thanks Pallavi. On Wed, Oct 21, 2009 at 3:36 PM, Ankur Gera ankurg...@gmail.com

[wtr-general] Re: Has anyone tried using AutoIt to handle unexpected Popup windows

2009-10-21 Thread Pallavi Sharma
Yes, i don't do it using ruby, i do it using vb.net a framework which i have build for automation solution using watir. On Wed, Oct 21, 2009 at 5:15 PM, al3kc aleks.kiev...@gmail.com wrote: Do you create separate thread for check_for_popup method?

[wtr-general] Re: Downloading File and FireWatir

2009-10-20 Thread Pallavi Sharma
Sure Zeljko I will do that :) On Tue, Oct 20, 2009 at 4:43 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Oct 20, 2009 at 12:33 PM, Pallavi Sharma write2pall...@gmail.com wrote: I am done with the solution. Its also atttached with the mail. It will be hard for other

[wtr-general] Re: Capturing Java Script Errors

2009-10-19 Thread Pallavi Sharma
Hi Everyone I found this link: http://exploretesting.blogspot.com/2008/09/reporting-ie-js-error-messages-in-watir.html http://exploretesting.blogspot.com/2008/09/reporting-ie-js-error-messages-in-watir.htmlfor reporting JS error, has anyone here tried this. Also please let me know if the alert

[wtr-general] Re: Capturing Java Script Errors

2009-10-14 Thread Pallavi Sharma
Hi Jarmo Can you share the code for the AutoIt if its not an issue. I would be interested in something similar for our work. On Fri, Oct 9, 2009 at 3:46 PM, Jarmo Pertman jarm...@gmail.com wrote: Hello. We used AutoIt for opening the javascript error message window, then make a screenshot

[wtr-general] Re: Capturing Java Script Errors

2009-10-14 Thread Pallavi Sharma
Hi Bret Is there a way in watir I can fetch the warning message which appears in the status bar of IE during a JS error? Can that be a solution for this issue? Please let me know. Thanks Pallavi. On Mon, Oct 12, 2009 at 8:45 AM, Bret Pettichord b...@pettichord.comwrote: Marlon MxM wrote:

[wtr-general] Re: Get X and Y Coordinates of an Object

2009-10-13 Thread Pallavi Sharma
although I'm sure there is a way. Anyone know how to do this in FF? Alan On Mon, Oct 12, 2009 at 4:00 AM, Pallavi Sharma write2pall...@gmail.comwrote: Hi Is it possible to get X and Y co-ordinates of an object using Watir and FireWatir? Please let me know. Thanks, Pallavi

[wtr-general] Check if a Print Dialog appears or not

2009-10-13 Thread Pallavi Sharma
Hi I have a scenario in which there is button Print clicking on it a Print Dialog appears. I need to check the appearance of the print dialog box, can anyone here tell me how do I do it? Should i use some AutoIT functionality for this? or is it possible to do using watir? Please do let me know

[wtr-general] Get X and Y Coordinates of an Object

2009-10-12 Thread Pallavi Sharma
Hi Is it possible to get X and Y co-ordinates of an object using Watir and FireWatir? Please let me know. Thanks, Pallavi. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this

[wtr-general] Re: Difference b/w Click_no_wait and .Click!

2009-10-11 Thread Pallavi Sharma
the ruby one click installer 1.8.6.27 rc2. Try the previous version 1.8.6.26. -c On Thu, Oct 8, 2009 at 11:06 PM, Pallavi Sharma write2pall...@gmail.comwrote: Hi Can anyone here tell me what are the differences between Click! and click_no_wait for both watir and firewatir I have a scenario

[wtr-general] Close All browsers and Firewatir

2009-10-08 Thread Pallavi Sharma
Hi Is it possible to close all firefox instances open with FireWatir?? Please let me know Thanks Pallavi. --~--~-~--~~~---~--~~ 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: How to veify text using FireWatir

2009-10-08 Thread Pallavi Sharma
Nope This doesnot work.. although browser.html?include text this one works in FireWatir. On Wed, Sep 9, 2009 at 7:37 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Sep 9, 2009 at 4:03 PM, Pallavi Sharma write2pall...@gmail.com wrote: .text?include is not working

[wtr-general] Re: To fetch the style.DISPLAY property of an object

2009-10-08 Thread Pallavi Sharma
Betsy The error is with Attribute_value function. Betsy for Watir, when we do attribute_value(‘STYLE’) it returns an object for which you can use a . and the other attributes likes color, width and the value will come out Where as for FireFox, when you do attribute_value(‘STYLE’) it

[wtr-general] Difference b/w Click_no_wait and .Click!

2009-10-08 Thread Pallavi Sharma
Hi Can anyone here tell me what are the differences between Click! and click_no_wait for both watir and firewatir I have a scenario in which click_no_wait is failing but .click! is working? What could be the reason? Can i use safely .click! instead of click_no_wait even for pop ups?? Thanks

[wtr-general] Re: Html Elements Supported by Watir

2009-10-08 Thread Pallavi Sharma
Zeljko its just awesome the amount of hard work you put into this group. Thanks Zeljko for every help and suggestion ... Regards, Pallavi. On Thu, Oct 8, 2009 at 10:33 PM, Charley Baker charley.ba...@gmail.comwrote: +1, Zeljko has been a long standing active member of the Watir community,

[wtr-general] To check alignement of objects in a Page using Watir

2009-10-06 Thread Pallavi Sharma
Hi Can we check the alignments of the page using watir ? Is it possible? Like if i can get the expected location of the object on the page, can i get the actual using watir compare their values? If anyone knows about it please let me know. Thanks Pallavi.

[wtr-general] Third Party Combo Boxes in an Input Tag

2009-10-01 Thread Pallavi Sharma
Hi I have a scenario in which we have third party combo boxes in the app which are defined as: INPUT class=dojoComboBox autoSelectBox __doClobber__ autocomplete=off dojoAttachPoint=textInputNode dojoAttachEvent=key:_handleKeyEvents; keyUp: onKeyUp; compositionEnd; onResize; value= / Is there

[wtr-general] Re: Third Party Combo Boxes in an Input Tag

2009-10-01 Thread Pallavi Sharma
Thanks did that works, but it works as a text _field so will it be okay to do so? On Thu, Oct 1, 2009 at 12:00 PM, kiran yajamanyam kiranyajaman...@gmail.com wrote: Try with index. This will be the best way. Regards, Kiran On Thu, Oct 1, 2009 at 11:58 AM, Pallavi Sharma write2pall

[wtr-general] Re: Third Party Combo Boxes in an Input Tag

2009-10-01 Thread Pallavi Sharma
basis by changing index value from 1 until you get the correct one. Still if didnt work let me know i will give you a small function where you can get the index value at run time for your text field On Thu, Oct 1, 2009 at 12:11 PM, Pallavi Sharma write2pall...@gmail.comwrote: Thanks did

[wtr-general] Re: Third Party Combo Boxes in an Input Tag

2009-10-01 Thread Pallavi Sharma
Zeljko I tried using class, but this doesn't work, only index worked. XPath is also a good idea will try it Thanks :) On Thu, Oct 1, 2009 at 1:25 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, Oct 1, 2009 at 8:28 AM, Pallavi Sharma write2pall...@gmail.com wrote: INPUT

  1   2   >