[wtr-general] How can we verify whether link is deactivated?

2009-06-09 Thread Durgesh Nadkarni
Hi, I want to verify that a particular link is deactivated after certain event. For ex. On clicking 'Previous' link I can go back to previous page. But I want check the same previous link is not active on the first page. One way to check this is writing normal click link code, in which case it

[wtr-general] Re: Anyone have Firewatir jssh plugin working on Mac PPC Tiger?

2009-06-09 Thread Angrez Singh
Hi, Can you try compiling the JSSh plugin using the instructions over here: http://www.daveliebreich.com/blog/?page_id=6 https://developer.mozilla.org/en/Build_Documentation Thanks, Angrez On Mon, Jun 8, 2009 at 10:41 PM, Bean Rider lab...@gmail.com wrote: On firewatir forums someone said:

[wtr-general] Re: Issue with Select List

2009-06-09 Thread Željko Filipin
On Tue, Jun 9, 2009 at 7:49 AM, Pallavi Sharma write2pall...@gmail.com wrote: I tried the fire events also but no help. Which events did you fire? Looks like you should fire onChange and/or onfocus. Did you ask a developer how that code works and what events should be fired? Željko --

[wtr-general] automating application running on remote network

2009-06-09 Thread Rahul Ahuja
Hi, I am trying to automate a web application built on sharepoint technology. But, the application is available only on client network and hence I am not having access to the application on my local intranet. For accessing the application following steps are performed: 1. Login to remote

[wtr-general] Re: How can we verify whether link is deactivated?

2009-06-09 Thread Željko Filipin
On Tue, Jun 9, 2009 at 8:22 AM, Durgesh Nadkarni durgeshnadka...@gmail.com wrote: I want to verify that a particular link is deactivated after certain event. How does the link look when it is active and how does it look when it is not active? Can you post html? Željko --

[wtr-general] Re: Issue with Select List

2009-06-09 Thread kiran
Hi, After selecting or before selecting the value ,use fire_events on select list. It might help you. Thanks, kiran. On Jun 9, 1:02 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Jun 9, 2009 at 7:49 AM, Pallavi Sharma write2pall...@gmail.com wrote: I tried the fire events

[wtr-general] Re: automating application running on remote network

2009-06-09 Thread Rahul Ahuja
Hi, Any pointers/help will be deeply appreciated. I am stuck and having no clue how to proceed. Expecting a quick help/response. Thanks Regards, Rahul On Jun 9, 1:00 pm, Rahul Ahuja mightyah...@gmail.com wrote: Hi, I am trying to automate a web application built on sharepoint technology.

[wtr-general] Re: automating application running on remote network

2009-06-09 Thread Željko Filipin
On Tue, Jun 9, 2009 at 10:00 AM, Rahul Ahuja mightyah...@gmail.com wrote: 1. Login to remote network by using Citrix server. 2. Open the IE from the list of given applications. 3. Open the URL of AUT. How are you doing this? From a browser? Can you log in manually and then start Watir tests?

[wtr-general] Re: automating application running on remote network

2009-06-09 Thread Rahul Ahuja
Yes. Steps to connect to application: 1. Login using citrix server e.g. https://citrixremoteserver.com 2. Choose Internet Explorer from the list of applications (WORD, EXCEL, POWERPOINT etc) displayed on the https://citrixremoteserver.com browser 3. On the Internet Explorer browser opened; open

[wtr-general] Re: automating application running on remote network

2009-06-09 Thread Željko Filipin
Can you send a screen shot or a link to real site so I could take a look? I really do not understand what is going on. You have IE7 open and you see IE6 inside it? What technology is it using to do that (ActiveX, Java...)? Željko --~--~-~--~~~---~--~~ You received

[wtr-general] Page Load Time Out error

2009-06-09 Thread venky
Hi, How to handle page load time out error in FireWatir.? And how to get status of the browser in FireWatir? Kindly help in this Thanks, Venkat http://www.prog2impress.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[wtr-general] Re: How can we verify whether link is deactivated?

2009-06-09 Thread Durgesh Nadkarni
Hi, Please find the HTML code below for which I had raised the query. I want to check on clicking particular paging link that link gets converted into normal text. div class=resultsNav      a href=javascript: onclick=searchNextResultPageInSubject(document.forms['frmReSearch'],

[wtr-general] Re: How can we verify whether link is deactivated?

2009-06-09 Thread Željko Filipin
On Tue, Jun 9, 2009 at 1:28 PM, Durgesh Nadkarni fordurg...@yahoo.co.in wrote: a href=javascript: onclick=searchNextResultPageInSubject(document.forms['frmReSearch'], -1, '');return false;Prev/a So, you want to check if this link exists, do something, and see if the link does not

[wtr-general] Re: Issue with Select List

2009-06-09 Thread Pallavi Sharma
Hi I fired the onchange and onfocus event. could you please let me know when should i try fire them before selecting the value or after selecting the value? Please let me know. On Tue, Jun 9, 2009 at 1:32 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Jun 9, 2009 at 7:49

[wtr-general] Re: Issue with Select List

2009-06-09 Thread Željko Filipin
On Tue, Jun 9, 2009 at 3:00 PM, Pallavi Sharma write2pall...@gmail.com wrote: could you please let me know when should i try fire them before selecting the value or after selecting the value? Do you have access to developers? Because you should ask them that question. Željko

[wtr-general] Re: Issue with Select List

2009-06-09 Thread Pallavi Sharma
Okie Zeljko Thanks for the input. On Tue, Jun 9, 2009 at 6:34 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Jun 9, 2009 at 3:00 PM, Pallavi Sharma write2pall...@gmail.com wrote: could you please let me know when should i try fire them before selecting the value or after

[wtr-general] Re: currentstyle not working in firefox

2009-06-09 Thread Loft_Tester
Ok, I tried to use style. For IE this works. puts $Browser.text_field(:id,/PART/).style.invoke('left') when I try it in firefox I get Exception: undefined method `invoke' for [object CSSStyleDeclaration]:String has Occurred I feel as though I'm close I'm just missing something simple. Am I

[wtr-general] Re: currentstyle not working in firefox

2009-06-09 Thread Loft_Tester
Is there a differant method other than invoke for style that works? On Jun 9, 11:25 am, Loft_Tester aaronr...@gmail.com wrote: Ok, I tried to use style. For IE this works. puts $Browser.text_field(:id,/PART/).style.invoke('left') when I try it in firefox I get   Exception: undefined

[wtr-general] Re: currentstyle not working in firefox

2009-06-09 Thread Chuck van der Linden
what I've noticed re .style is that for some things that are standard (visibility for example) I can just do browser.element(how,what).style.visibility For some other things we've defined outselves (for example we use 'z- index') we had to remove special characters (the dash) and do it in

[wtr-general] Watir Session @skillsmatter

2009-06-09 Thread aidy lewis
Ruby and Watir are now getting some traction in London... http://skillsmatter.com/event/agile-testing/utilising-watir-to-test-in-an-agile-environment -- Aidy blog: www.agiletester.co.uk twitter: http://twitter.com/aidy_lewis --~--~-~--~~~---~--~~ You received

[wtr-general] Re: automating application running on remote network

2009-06-09 Thread Chuck van der Linden
It sounds like you are doing a remote desktop type of connection. In that case Ruby, Watir, etc would need to be installed on the remote system. Perhaps they can give you a special desktop (tied to a particular login) which had those things installed. Automating anything 'through' remote

[wtr-general] Re: automating application running on remote network

2009-06-09 Thread Chuck van der Linden
On Jun 9, 3:49 am, Rahul Ahuja mightyah...@gmail.com wrote: Due to security reasons I can share the snapshot. Tip: use Snag-it. trial install is available and the license is cheap for the tremdeous utility it offers in doing screen captures and markups. then use blur feature to make any

[wtr-general] Re: currentstyle not working in firefox

2009-06-09 Thread Loft_Tester
I'm dropping this little chunk of code in there that tries to pull style attributes from fields. What I'm attaching you can copy right into an .rb file and run. You can also toggle from IE to Firefox. I'm not sure if this was the best page to test against but since I'm asking for lots of help

[wtr-general] Re: automating application running on remote network

2009-06-09 Thread Felipe Knorr Kuhn
Have you tested interacting with the IE window launched by Citrix? I believe it spawns just like a regular IE window, so you can use AutoIT to launch Citrix and login, then launch your Watir scripts, attaching to that window. FK 2009/6/9 Rahul Ahuja mightyah...@gmail.com Hi, I am trying to

[wtr-general] Re: Getting style information in FireFox

2009-06-09 Thread Loft_Tester
I was trying to ask the same question in a differant way. I figure with all the people that are using watir that someone may have a way to pull the style data from a field in firefox. Like some one has a way to scrape all the data in a field and then all I have to do is parse through it to get

[wtr-general] Re: Please help! Can no longer open a Firefox browser...

2009-06-09 Thread Loft_Tester
If I cant get my stuff working at least I can help other people. Hopefully the karma gods will shine down on me On Jun 8, 6:00 pm, George george.sand...@gmail.com wrote: Actually, switching to IE worked just fine for me (sorry, I should have mentioned that earlier).  Loft_Tester reminded me

[wtr-general] Re: Getting style information in FireFox

2009-06-09 Thread George
Hey Loft, I tried to look into this a little more. Check this out: http://code.google.com/p/firewatir/issues/detail?id=76#c0 It looks like there is a known issue using 'style' in FF, although I'm not sure if/when it will be resolved. HTH, George On Jun 9, 9:39 am, Loft_Tester

[wtr-general] Re: Getting style information in FireFox

2009-06-09 Thread Paul Rogers
this is what Ive used. Its hacked out of a bigger method, so may need some work cmd =document.defaultView.getComputedStyle( #{element_object} , null)[ '#{css_rule}' ];\n jssh_socket.send( cmd , 0 ) actual_val = read_socket() return actual_val I

[wtr-general] 32-bit linux firefox3 jssh extension troubles

2009-06-09 Thread Brian Dols
I am familiar with the JSSh extension with firefox 2 and I can't get the firefox 3 extension to work. I have Firefox 3.0.10 on an Ubuntu Hardy system. I installed the jssh extension via the browser, which put the extension in my ~/.mozilla/firefox/*default/extensions/ directory. If I run firefox

[wtr-general] Re: How to get the element attributes in the frame?

2009-06-09 Thread Wesley Chen
Now, I can make it by : ie.frame( ).link( ).document.getAttribute(xxx) Anything goes well. For the link, element_by_xpath is not necessary. ie.link( ).document.getAttribute(***) Anything wrong, please tell me. Thanks. Wesley Chen. On Mon, Jun 8, 2009 at 8:47 PM, jason

[wtr-general] Re: Issue with Select List

2009-06-09 Thread Pallavi Sharma
Hi The developers told to fire onfocus then onchange event, after selecting the value. i tried that and other combination too but no success so far. is there anything else i am missing on in here. can anyone enlighten me a bit more about how to handle this particular scenario in watir.??? On

[wtr-general] comparision between watir and wet

2009-06-09 Thread rrash586
Hi all I am quite new to Watir .And want to know about featured offer by Watir and its extension WET. I also want to know which is better Watir or WET. On net i found that WET support additional feature like report mechanism,object repoository etc then WET. I have to draw a conclusion on Watir