[wtr-general] Watir with Safari!!!

2013-01-16 Thread Sophia Sunitha
Hi, I'm facing problems in the following areas: 1. Whether WATiR can be used to automate in Safari browser? 2. If it is possible what are the steps needed to follow for that? 3. If it is not possible, then are there any documents/authentic web site reference available

Re: [wtr-general] Watir with Safari!!!

2013-01-16 Thread Željko Filipin
On Wed, Jan 16, 2013 at 11:53 AM, Sophia Sunitha sophia.joac...@gmail.comwrote: Whether WATiR can be used to automate in Safari browser? This is all I know about driving Safari: http://watirwebdriver.com/safari/ Željko -- https://leanpub.com/watirbook -- Before posting, please read

Re: [wtr-general] Watir with Safari!!!

2013-01-16 Thread Oscar Rieken
+1 it does work its a bit slower than with other browsers and an involved process of installing the driver On Wed, Jan 16, 2013 at 6:42 AM, Željko Filipin zeljko.fili...@gmail.comwrote: On Wed, Jan 16, 2013 at 11:53 AM, Sophia Sunitha sophia.joac...@gmail.com wrote: Whether WATiR can be

Re: [wtr-general] Watir with Safari!!!

2013-01-16 Thread Sophia Sunitha
Hi Željko, I have faced the same issue once. I did whatever is mentioned in the web page but I still couldnt automate. The browser opens but it doesnt perform any operation beyond that. http://watirwebdriver.com/safari/ @ Oscar, I dont mind it being slow because I am making a feasibility

[wtr-general] Watir object identification issues Oracle App

2013-01-16 Thread kalai vanan
Hi , Does Watir support Oracle app automation??? I am not able to identify objects on the web pagewhich was developed in Oracle application. The controls are all having the same property so I am finding it hard. Kindly assist. Thanks, Kalaivanan -- Before posting, please read

Re: [wtr-general] Watir object identification issues Oracle App

2013-01-16 Thread Željko Filipin
On Wed, Jan 16, 2013 at 1:54 PM, kalai vanan kalai.l...@gmail.com wrote: Does Watir support Oracle app automation??? Link to the page would help. If the page is not public, link to a similar page would help, or relevant HTML. Željko -- https://leanpub.com/watirbook -- Before posting, please

Re: [wtr-general] Watir object identification issues Oracle App

2013-01-16 Thread kalai vanan
Hi Željko I am new to watir. I would like to know whether watir supports web application which is actually a part of Oracle E-Business Suite. The thing is I am able to locate the elements inside the application however none of the actions that was scripted is getting triggered. Example:

Re: [wtr-general] Watir object identification issues Oracle App

2013-01-16 Thread Željko Filipin
On Wed, Jan 16, 2013 at 2:31 PM, kalai vanan kalai.l...@gmail.com wrote: I am new to watir. I would like to know whether watir supports web application which is actually a part of Oracle E-Business Suite. I am new to Oracle E-Business Suite. In fact, I do not know anything about it. If you

[wtr-general] Re: Accessing a Span

2013-01-16 Thread Super Kevy
ie$.span(:class = 'ui-button-text', text='Ok').flash ie$.span(:class = 'ui-button-text', text='Ok').click I think the other failure is there is more then one class value in the parent div button. Not sure how watir handles that On Tuesday, January 15, 2013 10:50:57 AM UTC-6, Deepak Kumar

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

2013-01-16 Thread Evgeny Shavkunov
Hi, I was trying to make a screenshot from the page using browser.screenshot.save and I found that only small part of the page (even less then visible part in the window) is saved in file. Later I discovered that before screenshot is taken browser is automatically minimized and then maximized

Re: [wtr-general] Re: Accessing a Span

2013-01-16 Thread Dan Franko
I disagree that you need both the text and class in this case. Unless there's another button or span with that same text, you don't need anything else. On Jan 16, 2013, at 9:41 AM, Super Kevy kpe...@scholarshipamerica.org wrote: ie$.span(:class = 'ui-button-text', text='Ok').flash

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

2013-01-16 Thread Željko Filipin
On Wed, Jan 16, 2013 at 3:42 PM, Evgeny Shavkunov dmoroz.thr...@gmail.comwrote: I was trying to make a screenshot from the page using browser.screenshot.save and I found that only small part of the page (even less then visible part in the window) is saved in file. Which browser and gem are

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

2013-01-16 Thread Jim Evans
I'm going to use my psychic debugging powers to deduce that you're automating IE with the watir-webdriver gem. If I'm wrong, disregard the following explanation. Screenshots in WebDriver are, by definition, of the full page. However, in order to take a screenshot of the full page without

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

2013-01-16 Thread Evgeny Shavkunov
I'm using Watir-webdriver on IE On Wednesday, January 16, 2013 3:52:49 PM UTC+1, Željko Filipin wrote: On Wed, Jan 16, 2013 at 3:42 PM, Evgeny Shavkunov dmoroz...@gmail.comjavascript: wrote: I was trying to make a screenshot from the page using browser.screenshot.save and I found that

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

2013-01-16 Thread Željko Filipin
On Wed, Jan 16, 2013 at 4:18 PM, Jim Evans james.h.evans...@gmail.comwrote: I'm going to use my psychic debugging powers to deduce that you're automating IE with the watir-webdriver gem. You are good at this (see Evgeny's reply)! :) Željko -- Before posting, please read

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

2013-01-16 Thread Željko Filipin
On Wed, Jan 16, 2013 at 4:19 PM, Evgeny Shavkunov dmoroz.thr...@gmail.comwrote: I'm using Watir-webdriver on IE I have noticed right now that the e-mail subject says watir-webdriver. I did not notice it the first time I was reading the e-mail message. Željko -- Before posting, please read

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

2013-01-16 Thread Evgeny Shavkunov
Thanks for reply! Nice psychic skills. :) Sorry for not posting all the details in first message. Currently I'm using Windows XP SP3 with IE8. Now I understand why resizing happens and that it's not an issue. But the problem with only part of the page being taken still persists (and looks like

Re: [wtr-general] Watir object identification issues Oracle App

2013-01-16 Thread Dan
I've done a fair amount of automation against the Oracle suite with watir-webdriver and it works fine. If the pages are being rendered as html you're fine. If it's opening an applet you're not going to be able to use watir-webdriver. On Wednesday, January 16, 2013 8:31:08 AM UTC-5, kalai

Re: [wtr-general] Re: Installing the IEDriverServer

2013-01-16 Thread Sergii Nadieiev
What about next? I got error Unexpected error launching Internet Explorer. Browser zoom level was set to 139%. It should be set to 100% on the line browser = Watir::Browser.new :ie Any suggestions how to fix it? On Thursday, August 23, 2012 1:27:32 PM UTC+3, Željko Filipin wrote: On Wed,

[wtr-general] Re: Accessing a Span

2013-01-16 Thread Deepak Kumar
Can i access an element by using co-ordinates :p -- 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: Accessing a Span

2013-01-16 Thread Dan Franko
Can you give the full html of the page with that pop-up showing? I don't think we're getting the whole picture here. Is it possible that the div is inside a frame? You really don't want to use coordinates. On Wed, Jan 16, 2013 at 1:25 PM, Deepak Kumar deepak.maveric...@gmail.comwrote: Can

Re: [wtr-general] Re: Accessing a Span

2013-01-16 Thread Joe Fl
Hi, Are you looking at this in irb? Sometimes that helps to debug the issue. You can get to this point and she if watir can see the pop-up @browser.div(:class=ui-dialog-buttonpane ui-widget-content ui-helper-clearfix).present? and if returns true then it sees it. Though from the above its

Re: [wtr-general] Re: Installing the IEDriverServer

2013-01-16 Thread Jim Evans
Normally I'd say, Start a new thread; don't hijack other peoples', but I'm too tired to argue about it. How to solve the problem is to set the browser zoom level to 100%. That is to say, open IE manually, and type Control+0 (that's hold the control key down while typing the number zero). That

Re: [wtr-general] Re: Accessing a Span

2013-01-16 Thread Super Kevy
You stated but i didn't helped the output is *No examples found. only* Did you get the puts message in your if clause?. Do an inspect on the Ok button to assure the span text is Ok I've got developers who add spaces at times due to operator finger issues. Try including a include? in your code

Re: [wtr-general] Re: Accessing a Span

2013-01-16 Thread Dan
I think you mean $ie and not ie$. The spaces thing is a good point, also you need to pay attention to case as well. On Wednesday, January 16, 2013 3:05:11 PM UTC-5, Super Kevy wrote: You stated but i didn't helped the output is *No examples found. only * Did you get the puts message in