Re: [wtr-general] Watir page objects variables

2011-06-03 Thread Basim Baassiri
From reading your code, it looks like you are using the page objects pattern in a good way. I would be curious to see the entire stack trace of the exception you are describing On Fri, Jun 3, 2011 at 12:44 PM, Rahul Sharma rahulsharma@gmail.comwrote: Hi Guys, I have got a problem that I

Re: [wtr-general] SelectList javascript event handlers not firing when JQuery is used

2011-05-26 Thread Basim Baassiri
it would be helpful if you provided some of the code as well as the jquery selectlist and html and if it is publicly available a link to it On Fri, May 27, 2011 at 1:35 AM, Babitha babitha.augus...@gmail.com wrote: Hello I have a selectlist on my page, which has a onchange event handler

[wtr-general] finding input by xpath

2011-04-19 Thread Basim Baassiri
Hello I have the following input fields input type=text readOnly=readonly value=RKmFFz5H/ input type=text readOnly=readonly value=t77Gty2G/ input type=text readOnly=readonly value=npWX8NNy/ and since there is no html id or name, I'm using xpath to find the 2nd input field here is my xpath

Re: [wtr-general] Java Developer - Technical/Product Job Opening - NYC,NY

2011-04-04 Thread Basim Baassiri
seriously, this is not a watir related question Please can you stop Thanks Basim On Mon, Apr 4, 2011 at 1:12 PM, Makro Tech makrotech@gmail.com wrote: Hi Dear Candidate, This is Vignesh with Makro Technologies, Inc. We have been in business for over 10 years and we are one of the

Re: [wtr-general] Click on links on a dynamic pane

2011-03-17 Thread Basim Baassiri
When you say click on the action, do you use click method or do you use fire_event ? On Thu, Mar 17, 2011 at 11:13 AM, Aravind aravindredd...@gmail.com wrote: Hi This is the continuation of my previous question which is resolved. I have some links with the name action in the1st column of

Re: [wtr-general] Click on links on a dynamic pane

2011-03-17 Thread Basim Baassiri
aravind On Thu, Mar 17, 2011 at 8:51 PM, Basim Baassiri ba...@baassiri.ca wrote: When you say click on the action, do you use click method or do you use fire_event ? On Thu, Mar 17, 2011 at 11:13 AM, Aravind aravindredd...@gmail.comwrote: Hi This is the continuation of my previous

Re: [wtr-general] error message

2011-03-11 Thread Basim Baassiri
It would very very helpful if you provided the code that generated this exception My gut feeling is that you are using something incorrectly Did you read any of the examples http://wiki.openqa.org/display/WTR/Cheat+Sheet On Fri, Mar 11, 2011 at 6:29 AM, tsd mail...@testsitedaily.com wrote: hi

Re: [wtr-general] Need to get/retrieve value

2011-02-22 Thread Basim Baassiri
I've had a similar problem in automating a signup page that had a captcha on it. I solved it by implementing in the production code to detect the test environment and when the test environment was evaluated the captcha was hardcoded to QAQA and hence i used that string to proceed with the signup

[wtr-general] failed to register Autoit

2011-02-09 Thread Basim Baassiri
Has anyone seen this error on windows 7 when registering Autoit.dll 'The module AutoItX3.dll was loaded but the call to DllRegisterServer failed with error code 0x80070005 I've done the following as my current user which is part of the Administrators Group on my machine cd

Re: [wtr-general] Re: Need help, trying to develop tests for a dojo filtering select widget.

2011-02-03 Thread Basim Baassiri
a session where I (manually and via watir) used the widget and watched the detected events in firebug but did not find enlightenment, it could be that I have not used these browser tools that extensively. On Feb 3, 8:38 am, Basim Baassiri ba...@baassiri.ca wrote: Have you tried tools like

Re: [wtr-general] Click on link with href Javascript:calllogout()

2011-01-19 Thread Basim Baassiri
Hi Aravind Do you have an example of the code that is causing you the problem? What code have you tried? When you say failed, is the application under test failed to respond or is there an exception in the watir script? Thanks Basim On Wed, Jan 19, 2011 at 7:24 AM, Aravind

Re: [wtr-general] Automating the object with in TD tag

2011-01-12 Thread Basim Baassiri
I'm not sure what your question is? On Wed, Jan 12, 2011 at 10:28 AM, Sanu ure...@gmail.com wrote: Hi, I have an object with TD tag with out any object type specified. That is actually a tag in the application. please find the HTML code below TR TD class=styleTabUnSelected id=S3Role

Re: [wtr-general] Unable to connect to machine : 127.0.0.1 on port 9997. Make sure that JSSh is properly installed and Firefox is running with '-jssh' option

2010-12-13 Thread Basim Baassiri
Are you running this on Linux and is SElinux enabled? Did you check the firewall setting? On Mon, Dec 13, 2010 at 1:12 PM, abhirevo1 abhi.r...@gmail.com wrote: Hi Friends, I just came across this problem in firewatir .Please help me out-error is as following- * Unable to connect to machine

Re: [wtr-general] Unable to connect to machine : 127.0.0.1 on port 9997. Make sure that JSSh is properly installed and Firefox is running with '-jssh' option

2010-12-13 Thread Basim Baassiri
abhi.r...@gmail.com wrote: No, i am using Win 7 and i am having manual proxy configuration with port 8080.Do you mean that this is produing some problem .If yes , please tell me with which setting i should go for ? Thanks Abhirevo On Mon, Dec 13, 2010 at 11:46 PM, Basim Baassiri ba

Re: [wtr-general] help-please: cucumber-watir tutorial

2010-12-12 Thread Basim Baassiri
Have you read any information here http://www.cuke4ninja.com/ On Sun, Dec 12, 2010 at 12:40 PM, Irfan Ahmed irfan...@gmail.com wrote: Hi, Anybody here who can provide some tutorial links/books on Cucumber- Watir-Wevdriver? I need this help very urgently. Please help me. -- Before

Re: [wtr-general] are you sure you want to navigate from this page.

2010-12-09 Thread Basim Baassiri
Are you able to disable some of the security settings in IE? On Thu, Dec 9, 2010 at 7:26 AM, Ramu Gadde ramu.ga...@gmail.com wrote: Hi All, Can any one help to handle this message are you sure you want to navigate from this page. in IE 6 using ruby and watir. I tried in different ways. so

Re: [wtr-general] Please help me with watir-ruby script

2010-11-16 Thread Basim Baassiri
without any code that you've written or html, no one in this forum will be able to help other than refer you to the documentation http://watir.com/documentation/ On Tue, Nov 16, 2010 at 7:28 AM, Robin D'Souza robin.so...@gmail.comwrote: Please help me with code for javascript pop up

Re: [wtr-general] Capture Text

2010-11-08 Thread Basim Baassiri
:46 PM, Basim Baassiri ba...@baassiri.ca wrote: What code have you tried? You could use Xpath to retrieve the value looking at the class (if its unique to the page) http://wiki.openqa.org/display/WTR/XPath Try reading about tables http://rdoc.info/gems/watir/1.6.6/Watir/Table On Fri, Nov

Re: [wtr-general] Capture Text

2010-11-05 Thread Basim Baassiri
What code have you tried? You could use Xpath to retrieve the value looking at the class (if its unique to the page) http://wiki.openqa.org/display/WTR/XPath Try reading about tables http://rdoc.info/gems/watir/1.6.6/Watir/Table On Fri, Nov 5, 2010 at 5:32 PM, Eric Mathiesen

Re: [wtr-general] Trying to test for table data

2010-09-14 Thread Basim Baassiri
you will need to provide the html as well On Tue, Sep 14, 2010 at 3:58 PM, Watir General sean...@gmail.com wrote: I'm attempting to check a table for a string of data, however I keep getting this: 9if browser.table(:id, dataTableBody).include?(146173) 10 puts Data Verify passed 11

Re: [wtr-general] Trying to test for table data

2010-09-14 Thread Basim Baassiri
your e On Tue, Sep 14, 2010 at 4:03 PM, Basim Baassiri ba...@baassiri.ca wrote: you will need to provide the html as well On Tue, Sep 14, 2010 at 3:58 PM, Watir General sean...@gmail.com wrote: I'm attempting to check a table for a string of data, however I keep getting this: 9

Re: [wtr-general] Re: How to Click on ENTER keystroke in Watir-WebDriver

2010-09-10 Thread Basim Baassiri
+1 name calling is unacceptable On Fri, Sep 10, 2010 at 11:44 AM, Ċ½eljko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Sep 10, 2010 at 5:38 PM, Sarndeep Nijjar sarndeepnij...@googlemail.com wrote: here you go dumbass: -- In short: search before you ask, be nice. Did you read

Re: [wtr-general] RE:Automating command line tools

2010-09-03 Thread Basim Baassiri
Watir stands for web application testing in ruby so I believe the answer to your question is no On Fri, Sep 3, 2010 at 9:04 AM, Srinidhi srinidhi...@gmail.com wrote: Hi All, Is it possible to automate command line tools like puttysftp or openSSH in ruby. Please let me know any way. :Sorry

Re: [wtr-general] JIRA tickets for Watir

2010-08-26 Thread Basim Baassiri
If you are creating a ticket, please see http://wiki.openqa.org/display/WTR/Create+Jira+Ticket http://wiki.openqa.org/display/WTR/Create+Jira+TicketBasim 2010/8/26 Charley Baker charley.ba...@gmail.com Hi all, I'm taking a quick swipe through the JIRA tickets on Watir, Please feel free to

Re: [wtr-general] More than one condition

2010-08-24 Thread Basim Baassiri
I would like to able to help you but you haven't provided any html code that illustrates your problem nor any code that shows me that you have tried assuming that you have read the examples http://wiki.openqa.org/display/WTR/Links you would see that http://wiki.openqa.org/display/WTR/Links

Re: [wtr-general] More than one condition

2010-08-24 Thread Basim Baassiri
with id: ie.table(:id,breadcrumbTable) I also have two links with the same id unfortunately: ie.link(:id,x).click I would like to be able to click on the link that is located *outside* of the table above. Is that clearer? On Tue, Aug 24, 2010 at 1:44 PM, Basim Baassiri ba...@baassiri.ca

Re: [wtr-general] Unable to connect to oracle by oci8

2010-08-20 Thread Basim Baassiri
On Thu, Aug 19, 2010 at 10:24 AM, Wang, Conglin cwa...@statestreet.comwrote: Hi groups, When I try to connect to oracle db by oci8,it hints below error: c:/ruby186-26/lib/ruby/gems/1.8/gems/ruby-oci8-1.0.2-i386-mswin32/lib/oci8 .rb:52:in `init': OCI Library Initialization Error (OCIError)

Re: [wtr-general] Re: Cannot access element through iframe?

2010-08-20 Thread Basim Baassiri
frame either. Our web service system is huge, I was so excited to start at the beginning. But now I feel so lost and frustrated, I feel like making even 50% of the system automation is impossible task. :( ! On Aug 19, 2:18 pm, Basim Baassiri ba...@baassiri.ca wrote: Have you tried reading

Re: [wtr-general] which version of ruby to be installed

2010-08-19 Thread Basim Baassiri
from the Installation Page http://watir.com/installation/ We recommend using Ruby 1.8.6-26 with Watir 1.6. http://rubyforge.org/frs/download.php/29263/ruby186-26.exe On Thu, Aug 19, 2010 at 11:04 AM, arihan sinha arihan.si...@gmail.comwrote: Dear All, Which version of ruby I need to be

Re: [wtr-general] Re: Cannot access element through iframe?

2010-08-19 Thread Basim Baassiri
Have you tried reading the documentation for select_list Can you try something like this? browser.frame( :id, Main_Body ).select_list( :name, Property_Type_ComboBox ).select( Mobile/Floating Home ) or browser.frame( :id, Main_Body ).select_list( :name, Property_Type_ComboBox ).select_value( MOBL

Re: [wtr-general] unable to find element using xpath

2010-08-15 Thread Basim Baassiri
Hi Goutham You'll need to post some code and some html to illustrate better your problem On Sun, Aug 15, 2010 at 11:22 AM, goutham goutham.mand...@gmail.com wrote: hai all, i am using element_by_xpath to find an element in watir but browser is closing when i come to xpath step. does we need

Re: [wtr-general] How to click on a span id?

2010-08-12 Thread Basim Baassiri
It is clear from the source the html element associated with id findarealtor is a span and not a try browser.image(:name, findrealestateprof).click On Thu, Aug 12, 2010 at 11:30 AM, Chan Nguyen atbl1...@gmail.com wrote: I want to go to this page http://norcalmls.rapmlsstg.com/ And then click

Re: [wtr-general] link with url title empty.

2010-08-10 Thread Basim Baassiri
Did you try looking at some examples from the documentation http://wtr.rubyforge.org/rdoc/1.6.5/classes/Watir/Container.html#M000317 On Tue, Aug 10, 2010 at 2:20 PM, Shlomit Gazit shlomitpatr...@gmail.comwrote: I have two links leading to two different places in my application. (It is quite a

Re: [wtr-general] link with url title empty.

2010-08-10 Thread Basim Baassiri
in the page because I was a specific links collection. On Tue, Aug 10, 2010 at 11:25 AM, Basim Baassiri ba...@baassiri.cawrote: Did you try looking at some examples from the documentation http://wtr.rubyforge.org/rdoc/1.6.5/classes/Watir/Container.html#M000317 On Tue, Aug 10, 2010 at 2:20 PM

Re: [wtr-general] Re: link with url title empty.

2010-08-10 Thread Basim Baassiri
, Basim Baassiri ba...@baassiri.ca wrote: Shlomit, Can you provided a small sample of the html to give some context? Basim On Tue, Aug 10, 2010 at 2:46 PM, Shlomit Gazit shlomitpatr...@gmail.com wrote: Hello Basim, * * I dont see a solution to my problem in the link you

Re: [wtr-general] Curious browser behavior: Firefox browser won't close on some pages but will everywhere else

2010-08-03 Thread Basim Baassiri
HI Schase, I had the same problem (method wasn't returning the named windows which causes the exception) and I switched to vapir which solved my problem Not much of a suggestion but it is my experience Basim On Tue, Aug 3, 2010 at 2:53 PM, Schase promac...@gmail.com wrote: I'm writing

Re: [wtr-general] Re: Getting error (JsshSocket::JSReferenceError)

2010-07-29 Thread Basim Baassiri
HI Chethan I think you will have to provide some code to give some context Basim On Thu, Jul 29, 2010 at 10:00 AM, chethan sarathy chethan2...@yahoo.co.inwrote: Pls any one help me to over come this problem Thanks, Chethan --- On *Mon, 26/7/10, chethan sarathy chethan2...@yahoo.co.in*

Re: [wtr-general] Re: How to access element in a table ?

2010-07-28 Thread Basim Baassiri
information, I strongly recommend changing the password as google has probably already indexed this thread Good Luck! Basim Baassiri On Wed, Jul 28, 2010 at 10:34 AM, Chan Nguyen atbl1...@gmail.com wrote: Hello Zeljko, I just tried to test our website.From my understanding, Watir has to know

Re: [wtr-general] Re: How to access element in a table ?

2010-07-28 Thread Basim Baassiri
, 2010 at 7:41 AM, Basim Baassiri ba...@baassiri.ca wrote: Chan There are many solutions to your problem Try this one as it works for me require 'watir' test_site = http://svvarmls.rapmlsqa.com/; ie = Watir::IE.new ie.goto test_site ie.text_field( :id, txtUserName ).set rapstaff

Re: [wtr-general] How to access element in a table ?

2010-07-27 Thread Basim Baassiri
Hi Chan You can try and use firebug to identify element http://getfirebug.com/downloads http://getfirebug.com/downloadsBasim On Tue, Jul 27, 2010 at 3:17 PM, Chan Nguyen atbl1...@gmail.com wrote: down vote favorite Hi everyone, I'm current writing a test script for our MLS( Multiple

Re: [wtr-general] Re: How to access element in a table ?

2010-07-27 Thread Basim Baassiri
to click an option in this list? http://i235.photobucket.com/albums/ee62/rox_rook/Ex-1.gif On Tue, Jul 27, 2010 at 12:59 PM, Basim Baassiri ba...@baassiri.ca wrote: Hi Chan You can try and use firebug to identify element http://getfirebug.com/downloads http://getfirebug.com

Re: [wtr-general] Re: How to access element in a table ?

2010-07-27 Thread Basim Baassiri
to access table? Further, I don't know how to click an option in this list? http://i235.photobucket.com/albums/ee62/rox_rook/Ex-1.gif On Tue, Jul 27, 2010 at 12:59 PM, Basim Baassiri ba...@baassiri.ca wrote: Hi Chan You can try and use firebug to identify element http

Re: [wtr-general] Re: unable to click image in a div

2010-07-22 Thread Basim Baassiri
On Wed, Jul 14, 2010 at 11:49 AM, Basim Baassiri ba...@baassiri.ca wrote: Thanks Super for the suggestion.I was looking for a cross platform solution I tried you suggestion and it works (as a workaround) Thanks Basim On Wed, Jul 14, 2010 at 10:39 AM, Super Kevy kpe

Re: [wtr-general] Regarding watir framework

2010-07-22 Thread Basim Baassiri
HI Sudhir Please have a look at http://wiki.openqa.org/display/WTR/Examples The Advanced Examples Frameworks examples should be helpful On Thu, Jul 22, 2010 at 6:51 AM, sudhir prem...@gmail.com wrote: Hi All, I am new to the watir. can you provide details how to create watir framework.

Re: [wtr-general] Fwd: How to automate a scrollbar

2010-07-21 Thread Basim Baassiri
Padma Perhaps a link to a page or some html (and javascript) would be helpful in solving your problem. From the sounds of it, it might be solvable by sending a javascript event or using autoit you could move your mouse to the position of the scrollbar and send mouse clicks or send keyboard

Re: [wtr-general] Help: cant get jSSH to work on windows 2003

2010-07-20 Thread Basim Baassiri
Eddie, Is your firewall blocking access to the port? On Mon, Jul 19, 2010 at 10:35 PM, Eddie ed...@mattermedia.com wrote: win2003 SP2 R2 x86 FF 3.6.6 jSSH XPI for FF 3.6 i am installed portable* FF as admin. in installed the XPI as admin. i start firefox with firefox.exe -jssh, as admin. i

Re: [wtr-general] Find whether a tree has nodes under it

2010-07-20 Thread Basim Baassiri
Hi Ashok Its difficult to answer your question with no code example or html output But I'm guessing if you check to see if the count (of nodes) is equal to zero. Good Luck On Tue, Jul 20, 2010 at 12:33 AM, Ashok Prabhu ashokprab...@gmail.comwrote: I have a web application which has a tree

Re: [wtr-general] Re: unable to click image in a div

2010-07-14 Thread Basim Baassiri
Thanks Super for the suggestion.I was looking for a cross platform solution I tried you suggestion and it works (as a workaround) Thanks Basim On Wed, Jul 14, 2010 at 10:39 AM, Super Kevy kpe...@scholarshipamerica.orgwrote: Consider autoit sendkeys. This is code (partial) scraped from the

[wtr-general] NoMethodError: undefined method `' for nil:NilClass when closing base browser on new window pop-up

2010-07-14 Thread Basim Baassiri
I tried the following without success irb(main):001:0 require 'watir' = true irb(main):002:0 Watir::Browser.default = 'firefox' = firefox irb(main):003:0 url = ' http://overlay-retail-test-files.overlay.tv/watir/watir-group-new-window.html ' =

[wtr-general] unable to click image in a div

2010-07-13 Thread Basim Baassiri
pre-conditions: ruby -v ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] gem list watir *** LOCAL GEMS *** watir (1.6.5, 1.5.6) Browser: Firefox 3.6.6 HTML Page: http://v.overlay.tv/demo/html5 I've tried the following with no success (didn't respond to clicking of the play button). I

Re: [wtr-general] Re: unable to click image in a div

2010-07-13 Thread Basim Baassiri
orde, I tried your suggestion with no luck Basim On Tue, Jul 13, 2010 at 4:27 PM, orde ohil...@gmail.com wrote: Did you try just browser.image(:class, gwt-Image).click or browser.image(:class, gwt-Image).fire_event(onload)? orde On Jul 13, 12:59 pm, Basim Baassiri ba...@baassiri.ca wrote

Re: [wtr-general] WIN32OLE.Open - runtime error

2010-07-08 Thread Basim Baassiri
is the d drive that you are specifying a network share? also, does the file exist with the correct spelling Basim On Thu, Jul 8, 2010 at 8:08 AM, Shiv tms...@gmail.com wrote: Thanks, BUT i get same error, I changed the 2nd line to excel = WIN32OLE::new('excel.application') On Thu, Jul 8,

Re: [wtr-general] WIN32OLE.Open - runtime error

2010-07-08 Thread Basim Baassiri
at 11:09 AM, Shiv tms...@gmail.com wrote: hi, d drive is not in network share, it is local drive of my machine shiv On Thu, Jul 8, 2010 at 6:55 PM, Basim Baassiri ba...@baassiri.ca wrote: is the d drive that you are specifying a network share? also, does the file exist with the correct