Share
Go down
mkunda
Posts : 4
Join date : 2010-03-21

how to write code using DOM

on Tue Mar 23, 2010 12:20 pm
Hi

I am beginner in Selenium RC. I am trying to automate Yahoo mail application. I am trying to click on Inbox tab. But I am unable to click on it. I am also trying to retreive data from the displayed list of table but failed.
Do I need to use any DOM for this. If so how to do that.

How do I can perform this two events
Clicking on Tab
Clicking on a selected mail.
When I tried with IDE no command generated for the above two event.

Regards
avatar
Advisor
------------------------
------------------------
Posts : 383
Join date : 2009-07-30
Location : India
http://seleniumforum.forumotion.net

Re: how to write code using DOM

on Thu Mar 25, 2010 12:05 pm
Hi,

I have recorder one script on selenium IDE. Try out this, i hope this will help you.


open | http://in.yahoo.com/
clickAndWait | //li[@id='pa-u_14782488-bd']/a[1]/span[2]
type | username | warrior
type | passwd | 4532
clickAndWait | .save
clickAndWait | _test_Inbox
click | _test_sign_out

Note: use your username and password


Best of luck.
Back to top
Permissions in this forum:
You cannot reply to topics in this forum