Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

I am new to selenium. Anybody can please write down Selenium Test Cases for yahoo login form. It will be really appreciated, if someone help me.

share|improve this question
1  
I take it this is homework? Or is there a reason you need to test the yahoo login form? –  Mark Mayo Jun 3 '13 at 23:16
    
Are you using the Java, C#, Python, or HTML API? Selenium 1 or 2? –  craastad Jun 18 '13 at 8:41
2  
-1, because the question is too specific to be useful for the community. Here's the quote from the site help: "You should avoid "What test cases should I test for _ ", as the answers will be considered too localised and will change depending on the testing context." –  dzieciou Apr 5 at 6:48
add comment

2 Answers

A good way to start learning selenium is to use the Selenium IDE to record a sequence of steps in the browser; then export it to a WebDriver script, and refactor it into a robust testcase.

share|improve this answer
    
can you give me any example and post here? –  user1837530 Jun 3 '13 at 10:52
5  
I think you need to read the Selenium IDE docs, and have a go yourself. –  vincebowdren Jun 3 '13 at 11:20
add comment
<tr>
    <td>open</td>
    <td>/config/login?.src=fpctx&amp;.intl=us&amp;.done=https%3A%2F%2Fwww.yahoo.com%2F</td>
    <td></td>
</tr>
<tr>
    <td>type</td>
    <td>id=username</td>
    <td>your yahoo email</td>
</tr>
<tr>
    <td>type</td>
    <td>id=passwd</td>
    <td>Enter your password here</td>
</tr>
<tr>
    <td>click</td>
    <td>id=.save</td>
    <td></td>
</tr>
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.