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
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:
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
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
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
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 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,
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,
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
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:
10 matches
Mail list logo