Re: [wtr-general] Re: Executing a javascript command in firewatir

2011-01-12 Thread Željko Filipin
On Wed, Jan 12, 2011 at 2:50 AM, xguarder shams...@gmail.com wrote: not sure how to do them quickly in a sequence. browser.element(how, what).fire_event onclick browser.element(how, what).fire_event onmousedown ... Željko -- Before posting, please read http://watir.com/support. In short:

Re: [wtr-general] Re: Recent Stack Overflow Questions Tagged Watir

2011-01-12 Thread Željko Filipin
http://stackoverflow.com/questions/4661400/it-seems-as-though-firewatir-is-not-being-found-when-trying-to-run-my-script http://stackoverflow.com/questions/4664155/how-to-handle-tinymce-when-automating-with-watir-webdriver -- Before posting, please read http://watir.com/support. In short: search

[wtr-general] Re: Click on OK Button + click_no_wait problem

2011-01-12 Thread Jarmo Pertman
Out of curiosity - why you didn't want to use the Simplest way to stop JavaScript Pop Ups from showing when running your Watir tests? Jarmo On Jan 10, 2:16 pm, Preethi preethi.sivaku...@gmail.com wrote: Thanks a ton for advising me to go for higher version of WATIR. I un-installed my older

[wtr-general] button type = submit + Click

2011-01-12 Thread Aravind
Hi Experts I have a button in my page with the html code span id=ADloginWSLSubmitButtoninput type=submit value=I Concur / span I used the code like button(:id, one).click But when i run it is not clicking the button Please help thanks aravind -- Before posting, please read

Re: [wtr-general] button type = submit + Click

2011-01-12 Thread Željko Filipin
On Wed, Jan 12, 2011 at 3:54 PM, Aravind aravindredd...@gmail.com wrote: input type=submit value=I Concur button(:id, one).click Try this: button(:value = I Concur ).click Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing.

Re: [wtr-general] button type = submit + Click

2011-01-12 Thread Aravind
Thanks Filipin it worked thanks aravind On Wed, Jan 12, 2011 at 8:24 PM, Aravind aravindredd...@gmail.com wrote: Hi Experts I have a button in my page with the html code span id=ADloginWSLSubmitButtoninput type=submit value=I Concur /span I used the code like button(:id, one).click

Re: [wtr-general] Watir virtual appliances?

2011-01-12 Thread Emmanuel Cecchet
Hi Željko, I'll make VMs available for Linux. The Windows VM can be made available as Amazon EC2 AMIs for those who are willing to run their VMs in the cloud. Emmanuel On 1/11/2011 10:14 AM, Željko Filipin wrote: On Tue, Jan 11, 2011 at 4:06 PM, Emmanuel Cecchet cecc...@gmail.com

[wtr-general] Re: Executing a javascript command in firewatir

2011-01-12 Thread Super Kevy
Mootools develper comments are: http://www.electricprism.com/aeron/calendar/#features I have tried to make Calendar as semantic as possible–with proper usage of CAPTION, THEAD, TBODY, TH and TD elements–and lots of CSS styling hooks. ... On Jan 12, 3:04 am, Željko Filipin

[wtr-general] Re: Executing a javascript command in firewatir

2011-01-12 Thread Super Kevy
Whoops... entered my send too fast Here's the prototype of the form from mootools div class=calendar div table caption a class=prevlt;/a span class=month[Month]/span span class=year[Year]/span a class=nextgt;/a /caption thead tr

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

2011-01-12 Thread Sanu
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 #text SCRIPT and goes like this if i spy the tab i am getting the below Attributs, Name

[wtr-general] Problem with firewatir hanging on close

2011-01-12 Thread Stephen Mc Gowan
Hi, I've been seeing a very sporadic issue with closing a firefox instance with firewatir 1.6.7. I'm running the following code to attach to an existing window and close it: require rubygems require watir Watir::Browser.default = 'firefox' puts('ruby: attaching to browser') b =

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

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

2011-01-12 Thread orde
I'm not sure what your question is? +1. td tags can be accessed via the .cell method: http://wtr.rubyforge.org/rdoc/1.6.5/classes/Watir/Container.html#M000298 orde On Jan 12, 9:24 am, Basim Baassiri ba...@baassiri.ca wrote: I'm not sure what your question is? On Wed, Jan 12, 2011 at

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

2011-01-12 Thread Adam Reed
I think what you're looking for is a way to use Watir to attach to or investigate that TD element. You can find an exact example of that in the Watir Wiki using XPath: http://wiki.openqa.org/display/WTR/XPath puts ie.cell(:xpath, //i...@src='3.jpg']/../).text Adam On Jan 12, 9:28 am, Sanu

[wtr-general] Watir 1.7.1 issue

2011-01-12 Thread Reciprocity
Hello, I'm testing on Win7 (IE8), Ruby 1.8.6 (also tested under 1.8.7) and Watir 1.7.1 Below irb session works fine under all the same environment except Watir 1.6.2 I have a page that pops up a new window. I can attach to it without an error but it just isn't right. irb(main):001:0 require

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

2011-01-12 Thread sweet flower
Hi, I was able to automate that using the Cell method. I have one more question. I have an object with in IMG tag.. but the properties are not enough to identify the same I have title, class, src and align properties alone. how can i use the image method to identify this? kindly help. By, Sanu.

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

2011-01-12 Thread Prajakta Jadhav
you could use src to identify it. browser.image(:src = /gtk-ok/).click Find more info here: http://wtr.rubyforge.org/rdoc/1.6.5/classes/Watir/Container.html#M000324 -Prajakta On Thu, Jan 13, 2011 at 10:43 AM, sweet flower ure...@gmail.com wrote: Hi, I was able to automate that using the Cell