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

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 co

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 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: 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 wrote: > > > Can i access an element by

[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: 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,

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 vana

[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 i

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 wrote: > 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 http://watir.com/support

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 wrote: > 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 http://watir.com/support. In short: search b

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 > > > wrote: > >> I was trying to make a screenshot from the page using >> "browser.screenshot.save" and I found that only small part of t

[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 scroll

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 wrote: > 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 you using (watir-web

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 wrote: > ie$.span(:class => 'ui-button-text', text=>'Ok').flash > ie$.span(:class => 'ui-button-text',

[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 maximize

[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 Kuma

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 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 provide relevant HTM

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 1:54 PM, kalai vanan 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 read http://watir.c

[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 http://watir.com

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 stu

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 wrote: > On Wed, Jan 16, 2013 at 11:53 AM, Sophia Sunitha > wrote: > >> Whether WATiR can be used to automate in Safari browser? > > > This

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

2013-01-16 Thread Željko Filipin
On Wed, Jan 16, 2013 at 11:53 AM, Sophia Sunitha wrote: > 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 http://watir.com/support. In sh

[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 t