[wtr-general] Mouse_click method for firefox browser

2010-07-01 Thread kiran yajamanyam
Hi Friends, I am facing a problem while clicking on few objects (both in IE and Firefox) for IE I am using mouse_click() method which I have taken from grup and is perfectly working fine and I have attached that piece of code in this mail. Did some one tried Mouse_click method for firewatir? I

Re: [wtr-general] question for ff browser

2010-06-30 Thread kiran yajamanyam
Great solution :). Thank you very much :) On Wed, Jun 30, 2010 at 6:50 PM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > 2010/6/30 kiran yajamanyam > > > signin = ie1.button(:text, "SignIn") > > You could do something like this: > > def

Re: [wtr-general] question for ff browser

2010-06-30 Thread kiran yajamanyam
Hi All, To add my question to this thread. i have a scenario when in I have initialized first IE say ie1 where in i have declared a variable "SignIn" for say "SignIn" button and When I click on some link it opens a new window and I want to work on that window for which I will use ie2 = Watir::IE.a

Re: [wtr-general] Clicking a div with last index

2010-06-28 Thread kiran yajamanyam
Do you have any other attribute value other than ":text=>'div'" ? Like class or ID . If you have any other value you can directly use them. -K On Fri, Jun 25, 2010 at 6:33 PM, Ajitesh Srinetra < ajitesh.srine...@gmail.com> wrote: > At present in my Web Page I can See a lot of divs and i access t

Re: [wtr-general] Radcombox automation

2010-05-25 Thread kiran yajamanyam
find the attached .rb file which will help you to understand how to deal with select_list. Else give us the screen shot I will try to send you the piece of code On Tue, May 25, 2010 at 4:48 PM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > 2010/5/25 khaja shaik > > > Actually after cl

Re: [wtr-general] how to click on the element with the id = "logoutLink"

2010-05-24 Thread kiran yajamanyam
ld like to start >> automating the functional testing. >> >> I do not know how to make working: >> #1.- >> #2. >> >> from the script. How to logout and simple select a link. >> >> Thanks a lot, >> Cristina >> >> >&

Re: [wtr-general] how to click on the element with the id = "logoutLink"

2010-05-24 Thread kiran yajamanyam
try with ie.link(:text=>"LogOut", :index=>1).click() or ie.link(:text=>"LogOut", :index=>2).click() or ie.link(:text=>"LogOut", :index=>3).click() try with diff index values by trail and error or you can include parent of that link and try example ie.div(just example).link(:text, "LogOut").cli

Re: [wtr-general] No method works for Frame

2010-04-16 Thread kiran yajamanyam
Hi Wesley, By default for frame attribute is "name" so when we use ie.frame(name) will work. When I use index eg: ie.frame("name attribute of frame).image(:index, 1).click() its working but when I use other attributes to identify it throws error unable to identify. Thanks, Kiran On Fri, Apr

Re: [wtr-general] Yahoo mail compose

2010-03-19 Thread kiran yajamanyam
Please let us know where you are unable to proceed. On Fri, Mar 19, 2010 at 2:35 PM, Wesley Chen wrote: > I think you have to post your script here. > > Wesley. > For life, the easier, the better. > > > > On Thu, Mar 18, 2010 at 6:18 PM, Dilip M wrote: > >> Hi All, >>I am automating

Re: [wtr-general] Firewatir Wait Issue

2010-03-19 Thread kiran yajamanyam
You can use sleep() instead of Wait. On Thu, Mar 18, 2010 at 2:46 PM, tonymocha wrote: > Have problem with Firewatir wait command that won't wait for the page > to load complete before proceeding other actions. Here is the sample > code I used: > > require 'rubygems' > require 'firewatir' > > br

Re: [wtr-general] Re: Wătir

2009-12-17 Thread kiran yajamanyam
Even i feel it should not matter untill its useful, people will learn it if tool is good On Fri, Dec 18, 2009 at 11:47 AM, Alister Scott wrote: > I am not really sure it matters what people call it. > As long as they are getting value from it and they know how to spell > it so they can look it up

[wtr-general] Re: Third Party Combo Boxes in an Input Tag

2009-09-30 Thread kiran yajamanyam
: > Thanks > > did that works, but it works as a text _field so will it be okay to do so? > > > On Thu, Oct 1, 2009 at 12:00 PM, kiran yajamanyam < > kiranyajaman...@gmail.com> wrote: > >> Try with index. This will be the best way. >> >> Regards, &

[wtr-general] Re: Third Party Combo Boxes in an Input Tag

2009-09-30 Thread kiran yajamanyam
Try with index. This will be the best way. Regards, Kiran On Thu, Oct 1, 2009 at 11:58 AM, Pallavi Sharma wrote: > Hi > > I have a scenario in which we have third party combo boxes in the app which > are defined as: > > dojoAttachPoint="textInputNode" dojoAttachEvent="key:_handleKeyEvents; > ke

[wtr-general] Re: hi there is an issue in running my script

2009-09-24 Thread kiran yajamanyam
No screen shot is available. Can you resend it? On Thu, Sep 24, 2009 at 1:12 PM, sathish_Er wrote: > > > I am using ruby 1.8.5 for developing a script to automate the process > to record the response time , > > On executing the script in Scite i found the error attached the screen > shot for you

[wtr-general] Re: How do i read a .txt file using watir script

2009-09-14 Thread kiran yajamanyam
Why dont your try .ini file, you keep all the required SN and Password information in .ini file and access it through your script. This will be simple I feel Kiran On Mon, Sep 14, 2009 at 4:06 PM, msazeez28july wrote: > > Hi, > We have watir scripts which requires url, username, password an

[wtr-general] Re: problem in jssh

2009-07-21 Thread kiran yajamanyam
I have restarted my machine and it has started working perfectly. Thank you very much for your replies :) Regards, Kiran Y On Tue, Jul 21, 2009 at 5:52 PM, aparna wrote: > > Hi Kiran, > > Is your system 32-bit machine? > > Regards, > Aparna > > On Jul 20, 3:52 pm

[wtr-general] Re: click method with list items

2009-07-21 Thread kiran yajamanyam
be use fire_event('onMouseOver') instead of focus() ? > > On 21 июл, 11:00, kiran yajamanyam wrote: > > Its not working for me in firefox :( > > > > On Tue, Jul 21, 2009 at 12:18 PM, basu wrote: > > > > > Used this, its working now > > > $browse

[wtr-general] Re: click method with list items

2009-07-21 Thread kiran yajamanyam
.link(:text, "World > Wide").fire_event('onClick') > > On Jul 21, 11:32 am, kiran yajamanyam > wrote: > > Hi Friends, > > > > Even i face this issue many times for many buttons. But i use mouse_click > > method. Unfortunately, mouse_click is not wo

[wtr-general] Re: click method with list items

2009-07-20 Thread kiran yajamanyam
Hi Friends, Even i face this issue many times for many buttons. But i use mouse_click method. Unfortunately, mouse_click is not working fine for firefox browser and i have got struck up with this issue and there is no other work around for me. Is there any solution for this? Regards, Kinnu On T

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

[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 > > > > > On 5月26日, 上午10时50分, sHiVa wrote: > > Hi Hunter, > > > > On whi

[wtr-general] Re: How to get firefox window handle

2009-07-14 Thread kiran yajamanyam
the window using the title? If yes, then you can use > firefox title to get the handle. > > - Angrez > > > On Fri, Jul 10, 2009 at 2:35 PM, kiran yajamanyam < > kiranyajaman...@gmail.com> wrote: > >> Hi Angrez, >> >> Thanks for your reply. Following

[wtr-general] Re: FireWatir Read Only Exception

2009-07-12 Thread kiran yajamanyam
to set the value like this: > ff.text_field(:id, 'id').value = "xyz" > > But why you want to set value for read-only text box? > > > On Sat, Jul 11, 2009 at 11:42 PM, kiran yajamanyam < > kiranyajaman...@gmail.com> wrote: > >> Even I faced this

[wtr-general] Re: FireWatir Read Only Exception

2009-07-11 Thread kiran yajamanyam
Even I faced this issue, but it is not 100% reproducible, is there any work around for this? Regards, Kinnu On Sat, Jul 11, 2009 at 3:41 AM, jtk wrote: > > I'm trying to automate a script that will read the FireFox > about:config page. To do this I want to put text into the filter > textbox, se

[wtr-general] Re: How to get firefox window handle

2009-07-10 Thread kiran yajamanyam
s.to_i/2+90,ypos.to_i/2+150) end Please let me know if you want any other details. Regards, Kinnu On Fri, Jul 10, 2009 at 1:33 PM, Angrez Singh wrote: > can you explain what you are trying to do by getting the handle of window? > may be we can suggest some workaround to do the same in Fire

[wtr-general] Re: How to get firefox window handle

2009-07-10 Thread kiran yajamanyam
Any info on this friends? On Fri, Jul 10, 2009 at 11:44 AM, Kinnu wrote: > > > Hi Friends, > > I am using ie.hwnd in watir to get the browser handle. I have observed > that there is no such property available in FireWatir. Is there any > work around for this? basically what i want to do is to g

[wtr-general] Re: Time to learn Watir

2009-07-10 Thread kiran yajamanyam
: > >> I do not have automation knowledge then how much time I will need to learn >> everything of Watir? >> >> Swapnal >> >> On Fri, Jul 10, 2009 at 12:04 PM, kiran yajamanyam < >> kiranyajaman...@gmail.com> wrote: >> >>> If you have autom

[wtr-general] Re: Time to learn Watir

2009-07-09 Thread kiran yajamanyam
If you have automation knowledge, it shouldn't take much time to learn. First start it and you will know about it. Regards, Kiran Y On Fri, Jul 10, 2009 at 12:02 PM, Swap wrote: > > Hello, > > I am new to learn Watir. And my company ask me the estimation to learn > the Watir. > > Can you please

[wtr-general] Re: .set method is not working for firefox

2009-07-09 Thread kiran yajamanyam
Hi Friends, I have struck up with this issue. I have re-installed my ruby setup and still I am facing problem with .Set method. Is there any work around for this? Please help me in this. Thanks and Regards, Kiran Y On Mon, Jun 8, 2009 at 3:54 PM, kiran yajamanyam wrote: > Hi Ja

[wtr-general] Re: .set method is not working for firefox

2009-06-08 Thread kiran yajamanyam
nks for your interest * Regards, Kiran Y On Mon, Jun 8, 2009 at 3:49 PM, jason wrote: > > can you post the entier error message you are getting > > > On 8 Jun., 12:03, kiran yajamanyam wrote: > > Hii Jason, > > > > I tried with the same piece of code and I am sti

[wtr-general] Re: .set method is not working for firefox

2009-06-08 Thread kiran yajamanyam
Hii Jason, I tried with the same piece of code and I am still getting the same error. Is it possible for you to send firewatir folder which you are using so that i can try with the same files. I have updated firewatir gem as well. Thanks and Regards, Kiran Y On Mon, Jun 8, 2009 at 3:22 PM, jason

[wtr-general] Re: .set method is not working for firefox

2009-06-08 Thread kiran yajamanyam
Hi All, My test case scenario is go to "webmail.aol.com" site and there I need to enter username and password in the text fields. Please let me know if I need to include any other code or update any other class? Regards, Kiran Y On Thu, Jun 4, 2009 at 9:22 PM, SANTOSH SOLAPURKAR wrote: > Hi, >

[wtr-general] Re: Need help on jssh installation for firefox

2009-06-04 Thread kiran yajamanyam
wrote: > > Just a guess did you installed "Redistributed package for VS 2005 SP1". > Its > > described in step 2 here " > http://wiki.openqa.org/display/WTR/FireWatir+Installation";. It is required > > for users who are using Firewatir with Firefox 3

[wtr-general] Re: Need help on jssh installation for firefox

2009-06-04 Thread kiran yajamanyam
Even I am facing the same issue. Please some one reply who have got solution for this Regards, Kiran Y On Tue, Jun 2, 2009 at 1:14 PM, Chethan wrote: > > Hi, > > I started working on Firewatir, I have installed firewatir using new > installation procedure as described in the Watir overview page

[wtr-general] Re: jssh error - Watir::Exception::UnableToStartJSShException

2009-04-28 Thread kiran yajamanyam
I am using XPSP2 anf Firefox 3.0.8 version -Kiran Y On Tue, Apr 28, 2009 at 6:50 PM, Angrez Singh wrote: > which OS & firefox version are you using? > > - Angrez > > > On Tue, Apr 28, 2009 at 6:24 PM, Kinnu wrote: > >> >> Hi All, >> >> Even i am finding the same error. i tried to setup my envi

[wtr-general] Re: Handling popups using watir

2009-04-09 Thread kiran yajamanyam
opps forgot to attach file :( On Thu, Apr 9, 2009 at 12:18 PM, spike wrote: > > I'm really sorry, i've tried many things in the code but couldn get a > solution from past 3 days. I've stuck in handling this popups. so > please dont mind, i apologise for it. > > On Apr 9, 11:14 am, George wrote:

[wtr-general] Re: Error in handling popup

2009-04-09 Thread kiran yajamanyam
> > On Thu, Apr 9, 2009 at 11:29 AM, spike wrote: > > > > > Sorry sir even it is not working i've to click it manually to go > > > further in my test. wat about this autoit i've installed autoit-v3 how > > > is it related to watir..? > > > >

[wtr-general] Re: Error in handling popup

2009-04-08 Thread kiran yajamanyam
spike wrote: > > Sorry sir even it is not working i've to click it manually to go > further in my test. wat about this autoit i've installed autoit-v3 how > is it related to watir..? > > > On Apr 9, 10:43 am, kiran yajamanyam > wrote: > > make sur

[wtr-general] Re: Error in handling popup

2009-04-08 Thread kiran yajamanyam
yed in it is File Uploaded Successfully" > which one should i use inthe code.. > > On Apr 9, 10:38 am, kiran yajamanyam > wrote: > > You have to give the exact caption of the window which is appearing as > > popup. In your case that caption of the pop up is "FILE >

[wtr-general] Re: Error in handling popup

2009-04-08 Thread kiran yajamanyam
; of the operations or els its hung with the popup > > On Apr 9, 10:38 am, kiran yajamanyam > wrote: > > You have to give the exact caption of the window which is appearing as > > popup. In your case that caption of the pop up is "FILE > > UPLOADED SUCCESSFULLY&q

[wtr-general] Re: Error in handling popup

2009-04-08 Thread kiran yajamanyam
ernet Explorer', '', 2) > > > autoit.WinActivate('Windows Internet Explorer') > autoit.Send('{~}') > > > > > if ie.radio(:id, > "ctl00_ContentPlaceHolder1_RdlistisFeedback_1").isSet? >puts "IS FEEDBACK option Yes

[wtr-general] Re: Error in handling popup

2009-04-08 Thread kiran yajamanyam
spike wrote: > > I used this code but i'm getting the following error > > 1) Error: > test_manage_resources(Manageresources): > NoMethodError: undefined method `Opt' for # >manageresource.rb:25:in `test_manage_resources' > > so please suggest some solu

[wtr-general] Re: Error in handling popup

2009-04-08 Thread kiran yajamanyam
hi, handle the popup window using autoit. install autoit software. and use the followinf code autoit = WIN32OLE.new('AutoItX3.Control') Opt("WinTitleMatchMode", 3) autoit.WinWait('Windows Internet Explorer', '', 2) autoit.WinActivate('Windows Internet Explorer') autoit.Send('{enter}') This

[wtr-general] Re: to click a button with Onclick as its attribute

2009-03-10 Thread kiran yajamanyam
Send a screen shot of the attributes. That will help I think Regards, Krian Y On Tue, Mar 10, 2009 at 5:05 PM, nagmani vm wrote: > id also not defined what other option is there to identify?? > > > On 3/10/09, Joaquin Rivera Padron wrote: >> >> ie.button(:id, "BUTTON_ID").click or other HTML s

[wtr-general] Re: IE7 Popup handling

2009-03-02 Thread kiran yajamanyam
dle this Pop up using Watir only. Can I run this script in > Ruby? > > Thanks > Abhishek > > > On Mon, Mar 2, 2009 at 3:51 PM, kiran yajamanyam < > kiranyajaman...@gmail.com> wrote: > >> >> Hi Abhishek, >> >> Please try this below piece of c

[wtr-general] Re: IE7 Popup handling

2009-03-02 Thread kiran yajamanyam
Hi Abhishek, Please try this below piece of code. Need to install Autoit software. def check_for_popups autoit = WIN32OLE.new('AutoItX3.Control') autoit.Opt("WinTitleMatchMode", 3) puts "Launched the global pop-up handler" loop do # Look for window with given title. Give up