[wtr-general] Re: Why it opens two IE windows?

2009-07-20 Thread Wesley Chen
Thank you, Alister. I run in XP professional version 2002 service pack 3. Thanks. Wesley Chen. On Mon, Jul 20, 2009 at 2:37 PM, Alister Scott alister.sc...@gmail.comwrote: Are you running Vista? If so, try this:

[wtr-general] Re: How to simulate right mouse action

2009-07-20 Thread kiran yajamanyam
Hi Friends, I want to use this method for Firefox. I have got some code for left_edge and top_edge but I want code for top_edge_absolute and left_edge_absolute Can any one help me. Regards, Kinnu 2009/5/27 Jungle_hunter junglehuanggangzh...@gmail.com On 5月26日, 上午10时50分, sHiVa

[wtr-general] Re: Find the parent window of a javascript prompt

2009-07-20 Thread Tony
Hi Siva, Not possible to get the popup text through the autoit or win32ole. You can however get the text through from the dialog box dom using javascript. Thanks, Tony On Jul 19, 8:16 pm, sHiVa krapa.ph...@gmail.com wrote: Tony, Are you able to get the popup text using Autoit when the popup

[wtr-general] Security Alert pop-up code is not working at all

2009-07-20 Thread Dheeraj Gambhir
I am automating ssl certified site.(https) whenever i goto the login page it throws me a security alert popup, i am not able to close that popup using watir. how can i control that , can you please help me, right now i am using watir1.6.2 ruby 1.8.6 -26 Thanks in advance :)

[wtr-general] Re: Security Alert pop-up code is not working at all

2009-07-20 Thread Željko Filipin
On Mon, Jul 20, 2009 at 11:34 AM, Dheeraj Gambhir checktestingthi...@gmail.com wrote: whenever i goto the login page it throws me a security alert popup Take a look: http://wiki.openqa.org/display/WTR/Pop+Ups http://wiki.openqa.org/display/WTR/Security+Alerts Željko --

[wtr-general] Re: problem in jssh

2009-07-20 Thread kiran yajamanyam
Hi All, I tried the same steps which u people have provided and still i am facing the same problem. I have tried in two different machines and facing the same problem. I am using Firefox 3.0.11 jssh-0.9 Regards, Kiran Y On Sat, Jul 18, 2009 at 11:46 PM, venkatesh kumar

[wtr-general] Re: Security Alert pop-up code is not working at all

2009-07-20 Thread Dheeraj Gambhir
It is not working yet, i have tried all the given below methods in code: ** require 'rubygems' require 'watir' require 'win32ole' ie = Watir::IE.new ie.goto('http://qa2.mlb.com/enterworkflow.do? flowId=sb_purchasebrand=cle_scoreboardwfClub=cle') puts

[wtr-general] Re: Security Alert pop-up code is not working at all

2009-07-20 Thread Dheeraj Gambhir
I tried this also, but all in vain: require 'rubygems' require 'watir' require 'win32ole' require 'watir/ie' require 'watir\contrib\enabled_popup' def startClicker(button , waitTime= 9, user_input=Yes) hwnd = $ie.enabled_popup(waitTime) if(hwnd) w = WinClicker.new if(user_input)

[wtr-general] Re: Security Alert pop-up code is not working at all

2009-07-20 Thread Tony
Hi Dheeraj, Modified http://wiki.openqa.org/display/WTR/Security+Alerts to handle these popups. Note: you would have to change the code in ie_class.rb files for this. No changes or extra steps is required in your testcase. The popups yes button will be clicked automatically. Thanks, Tony

[wtr-general] Re: customize xml generated by ci_reports

2009-07-20 Thread Dylan
Thanks Tony! I have tried using your file and I'm receiving this error: custom_require.rb:31:in 'gem_original_require': no such file to load -- ClassAttr (LoadError) The error occurs on the line with require 'ClassAttr'. Am I missing some file? Thanks again, I appreciate the help! -Dylan On

[wtr-general] Re: Security Alert pop-up code is not working at all

2009-07-20 Thread Dheeraj Gambhir
Hi, I tried my code by replacing goto, wait in in C:\ruby\lib\ruby\gems\1.8\gems\watir-1.6.2\lib\watir\ie-class.rb file with the code given in http://wiki.openqa.org/display/WTR/Security+Alerts, but it is giving the following error now: C:\Program Files\Watir\examplesruby finalcount.rb Launched

[wtr-general] click method with list items

2009-07-20 Thread basu
Hi, I have list structure like this, ul id=cntList class=chartsdul style=display: block; li a id= onmouseout=TopArtist.set('0'); onmouseover=TopArtist.set ('1'); href=http://www.winamp.com/music/top-artists/all/today; onclick=TopArtist.selectitem(id)World Wide/a /li li a id=arg