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

2010-05-25 Thread Yuping Zhong
This also work: $browser.frame(:id,frameMain).link(:text,Logout).click $browser.frame(:id,frameMain).link(:id,navSignout).click On Tue, May 25, 2010 at 12:10 PM, kiran yajamanyam kiranyajaman...@gmail.com wrote: Hey Friend, Got the solution. Use

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

2010-05-25 Thread Yuping Zhong
For click the Mail,pls use: $browser.frame(:id,frameMain).link(:text,Mail).click or $browser.frame(:id,frameMain).link(:id,settingsMailLink).click On Tue, May 25, 2010 at 4:55 PM, Yuping Zhong littlezhong...@gmail.comwrote: This also work:

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

2010-05-25 Thread Cristina
Thanks all, is working great. Have a wonderful day! Cristina On Tue, May 25, 2010 at 5:06 AM, Yuping Zhong littlezhong...@gmail.comwrote: For click the Mail,pls use: $browser.frame(:id,frameMain).link(:text,Mail).click or $browser.frame(:id,frameMain).link(:id,settingsMailLink).click

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

2010-05-24 Thread Cristina
I am using firefox. Just try and not working. I am receiving the following err: Unable to locate element, using :text, Logout (Watir::Exceptio... On Sun, May 23, 2010 at 4:36 PM, Felipe Knorr Kuhn fkn...@gmail.com wrote: Hello, Cristina, have you tried $ie.link(:text, Logout).click

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).click() Else

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

2010-05-24 Thread Cristina
Reattached the script.I deleted the last line. On Mon, May 24, 2010 at 2:46 PM, Cristina cristina.toro...@gmail.comwrote: Hi, I attached the script and screen snapshot. You can run it. That is our email application and I would like to start automating the functional testing. I do not know

I found the problem!!Re: [wtr-general] how to click on the element with the id = logoutLink

2010-05-24 Thread Cristina
I found what the problem was. I was inside a frame. I fixed the issue. Please do not analyze that issue. Thanks a lot! Cristina On Mon, May 24, 2010 at 2:47 PM, Cristina cristina.toro...@gmail.comwrote: Reattached the script.I deleted the last line. On Mon, May 24, 2010 at 2:46 PM,

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

2010-05-24 Thread kiran yajamanyam
Hey Friend, Got the solution. Use browser.frame(:index,2).link(:id=logoutLink).click() this piece of code to click on Logout link, as this link is under a frame with index 2 it was unable to identify Logout link. Try and let me know if it works or not. On Tue, May 25, 2010 at 12:17 AM,

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

2010-05-23 Thread Cristina
Hi, please can one help me with that:: i do not know how to click on the logout. That is the snippet code: #- tr td id=topToolbar /td td id=greeting Welcome q...@qa.hemt.ca | a id=helpText href=# onclick=showHelp();return false;nbsp;/a | a id=logoutLink

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

2010-05-23 Thread Felipe Knorr Kuhn
Hello, Cristina, have you tried $ie.link(:text, Logout).click $ie.link(:text, Logout).fire_event(onClick) ? On Sun, May 23, 2010 at 5:29 PM, Cristina cristina.toro...@gmail.com wrote: Hi, please can one help me with that:: i do not know how to click on the logout. That is the snippet code: