Re: [wtr-general] Re: Watir-webdriver - Screenshots - Browser is minimised before screeshot is taken and only part of the page is saved

2013-05-09 Thread LuisE
I have the same proble, did anyone fix it? Best Regards El jueves, 17 de enero de 2013 19:52:33 UTC+1, johnssn escribió: Awesome! Thanks... -- *From:* Dan dfr...@gmail.com javascript: *To:* watir-...@googlegroups.com javascript: *Cc:* John Fitisoff

Re: [wtr-general] Re: Watir-webdriver - Screenshots - Browser is minimised before screeshot is taken and only part of the page is saved

2013-05-09 Thread Ankita
Hi Not sure if this is something to get a screen shot.. but I tried adding a screen shot folder to the UI test folder where I put in all the tests and then adding this line to the places where I would like to get the screen shotsolves my problem

Re: [wtr-general] Re: Watir-webdriver - Screenshots - Browser is minimised before screeshot is taken and only part of the page is saved

2013-05-09 Thread Ankita
Hi Not sure if this is something to get a screen shot.. but I tried adding a screen shot folder to the UI test folder where I put in all the tests and then adding this line to the places where I would like to get the screen shotsolves my problem

Re: [wtr-general] Problem: Unable to validate HTML Report using Watir

2013-05-09 Thread v b baba kanchustambham
Hi Filipin, I am having problem while captuirng data from HTML Report. I have used the method relationship_in_report = get_element_text(popup, :td, :class, 'A06df9158c527411db1b8fef473271b9a12896') which is giving me the error Unable to Return text in td

[wtr-general] Tabs, PDFs, focus, and Chrome

2013-05-09 Thread Dan Meltz
Short version: new tabs in Chromeprevent old tabs from being used, fixing that means that opened tabs with PDFs in them get reused before a human can examine the PDFs. Originally it worked like this: 1. open new Chrome window to main page of the app (tab #1) 2. [do process A and then] click

[wtr-general] Re: Watir-Webdriver Installation Issue

2013-05-09 Thread Sohail Mirza
Zelijko, noted your suggestion. Now i am getting the following error * * *irb(main):002:0 require watir-webdriver* = true *irb(main):003:0 browser=Watir::Browser.new:chrome* Started ChromeDriver port=9515 version=0.8 log=C:\devkit\chromedriver.log You are using an old or stdlib version of json

Re: [wtr-general] Re: Watir-Webdriver Installation Issue

2013-05-09 Thread Željko Filipin
On Thu, May 9, 2013 at 12:05 PM, Sohail Mirza mrz...@gmail.com wrote: Now i am getting the following error Do you understand the error message? It says what you have to do. Željko -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] Problem: Unable to validate HTML Report using Watir

2013-05-09 Thread Željko Filipin
On Thu, May 9, 2013 at 9:06 AM, v b baba kanchustambham vbb...@gmail.comwrote: I am unable to attach screen shot of the HTML report source here also. Do not attach screen shot, but copy/paste relevant HTML. Željko -- -- Before posting, please read http://watir.com/support. In short: search

[wtr-general] Re: Problems selecting an item in a list

2013-05-09 Thread Marc Westwood
Have found a solution. I firstly need to fire_event(onmouseover) which selects the item then fire_event(onclick). Thank you all for your comments. On Wednesday, May 8, 2013 10:39:16 AM UTC+1, Marc Westwood wrote: Yes it works in terms of its clicks on the item in the select list because

[wtr-general] Re: Watir-Webdriver Installation Issue

2013-05-09 Thread Sohail Mirza
I do understand the error message hopefully in correct way. but when i run gem update command it says me that Nothing to update. All gems are updated. I have ruby 1.9.3. 3p392 what i am missing here On Thu, May 9, 2013 at 2:05 PM, Sohail Mirza mrz...@gmail.com wrote: Zelijko, noted your

Re: [wtr-general] Re: Watir-Webdriver Installation Issue

2013-05-09 Thread Željko Filipin
On Thu, May 9, 2013 at 12:05 PM, Sohail Mirza mrz...@gmail.com wrote: You are using an old or stdlib version of json gem Please upgrade to the recent version by adding this to your Gemfile: gem 'json', '~ 1.7.7' I think you should explicitly install json gem: gem install json Željko --

Re: [wtr-general] Re: Watir-Webdriver Installation Issue

2013-05-09 Thread Sohail Mirza
even this is not working. i just learnt from chromdriver download page that Chrome Driver is not available for WIN 64 bit operating system. :( is it true? i think my OS is 64 bit and that is causing problem since chrome driver is 32 bit compatible On Thu, May 9, 2013 at 3:33 PM, Željko Filipin

[wtr-general] Re: Tabs, PDFs, focus, and Chrome

2013-05-09 Thread Dan
Seems like the best thing to do would be to disable the chrome pfd viewer so it downloads it instead of trying to open it. I think technically you should be able to pass a switch to chrome to disable the viewer programmatically, but I tried and it didn't work for me, but maybe this will lead

[wtr-general] Re: Tabs, PDFs, focus, and Chrome

2013-05-09 Thread Dan
Can't seem to edit my post, but the example should be profile = Selenium::WebDriver::Chrome::Profile.new profile['plugins.enabled_internal_pdf3'] = false b = Watir::Browser.new :chrome, :profile = profile b.goto(http://www.aisb.org.uk/convention/aisb08/AISB08.pdf;) On Thursday, May 9, 2013

Re: [wtr-general] Re: Watir-Webdriver Installation Issue

2013-05-09 Thread Dan
You downloaded the wrong chromedriver. Chromedriver2 isn't quite ready. Get the chromedriver_win_26.0.1383.0.ziphttps://chromedriver.googlecode.com/files/chromedriver_win_26.0.1383.0.zip . On Thursday, May 9, 2013 7:35:37 AM UTC-4, mc060200778 wrote: even this is not working. i just learnt

[wtr-general] Re: Problems selecting an item in a list

2013-05-09 Thread Super Kevy
Congratulations.Stacking the fire_events. . On May 9, 5:24 am, Marc Westwood marcawestw...@gmail.com wrote: Have found a solution. I firstly need to fire_event(onmouseover) which selects the item then fire_event(onclick). Thank you all for your comments. On Wednesday, May 8,

[wtr-general] Re: Tabs, PDFs, focus, and Chrome

2013-05-09 Thread Dan Meltz
Dan, Thanks for the help, but I wasn't able to make that work, either. I also tried exploring using something like b = Watir::Browser.new :chrome, :switches = ['--disable-plugins'] but I had no luck with that, either. The point of the test is for a human to look at the PDFs, so I don't really

[wtr-general] Looking for click_no_wait functionality/solution for Browser.alert

2013-05-09 Thread dubsbox
I'm testing a home-grown shopping cart application which has scenarios where adding an item to the cart results in an alert pop-up appearing. Scenarios that have just a single alert pop-up can be handled with Browser.alert.ok. I have run into a couple of scenarios where adding an item to the

[wtr-general] Re: Watir webdriver - How to click on last td in table ?

2013-05-09 Thread Ankita@Adslot
If the number of rows is static, would make sense to use xpath and locate the last row with it and then click on image of the last row. something like b.element(:xpath,//table[@class='rctable']/tbody/tr[15]/td[2]/img[@src=' /tracker/images/skin2/bolean.png']).click On Wednesday, May 1, 2013

[wtr-general] Re: Waitir: Ignoring modal wait dialogs during ajax call

2013-05-09 Thread Ankita@Adslot
what if you add browser.text_field(:id, subscriber_id).wait_until_present(timeout = 100) before browser.text_field(:id, subscriber_id).set(1) On Saturday, April 20, 2013 7:56:08 PM UTC+10, Christian Scheid wrote: Hi, I'm just starting to use Waitir and have the following issue: The

[wtr-general] Re: Waitir: Ignoring modal wait dialogs during ajax call

2013-05-09 Thread Dan
There's a few funny things about your script. You really only need to require watir or watir-webdriver. If you're using the watir gem it'll either load the watir-classic gem, if you ask it for ie, or watir-webdriver gem if you ask it for chrome or firefox. Secondly, your syntax for starting

[wtr-general] Re: Looking for click_no_wait functionality/solution for Browser.alert

2013-05-09 Thread Ankita@Adslot
How about using browser.alert.wait_while_present this will wait for the next line of code to execute until alert goes away On Friday, May 10, 2013 5:42:54 AM UTC+10, dubsbox wrote: I'm testing a home-grown shopping cart application which has scenarios where adding an item to the cart

Re: [wtr-general] Problem: Unable to validate HTML Report using Watir

2013-05-09 Thread v b baba kanchustambham
Hi Zeilko, Below is the portion of HTML source code of the HTML Report from which i want to capture the value POC_Reports_test and store it in a varibale so that i can compare this value with the data in my application TD ROWSPAN=2 COLSPAN=3/TDTD COLSPAN=17DIV growRect=true

Re: [wtr-general] Problem: Unable to validate HTML Report using Watir

2013-05-09 Thread v b baba kanchustambham
Hi The report we are trying to generate from out web application is an SSRS Report, just want to add this Veera On Friday, 10 May 2013 08:45:13 UTC+5:30, v b baba kanchustambham wrote: Hi Zeilko, Below is the portion of HTML source code of the HTML Report from which i want to capture the