Test Republic

Community of Software Testing Professionals

Hi techies,

I have a registration for for a website, which contains
1. Unique username text field
2. unique email
3. CAPTCHA for adding two numbers.

I have generated script for registration , after first time the script is going to fail due to user name is already exists and CAPTCHA changes dynamically.

how to generate the script using with Selenium IDE

Thanks, please help on this

Tags: code, editing, generated, the

Reply to This

Replies to This Discussion

Hi Yogesh,
Its obvious that the script will fail since the username already registered. Possible ways to overcome this is
1. Each time you run the script ensure that you run on a clean new database. This will ensure that the user is registered for the first time.
2. Modify your script to continue with the next steps, if the message appears saying that the user already exists.

About CAPTCHA
1. CAPTCHA are used to ensure that the inputs are provided by humans and not through a bot. You can modify your code such that the CAPTCHA is supressed.

Thanks
- Jagannath

Reply to This

RSS

Test Republic Elsewhere

 /></a></p> <p style=

Members

  • Vijayalaxmi
  • Sreethin
  • P.K.Ramya
  • Brian Osman
  • s kumar
  • Shreya
  • APARNA
  • Sanjeev Kumar Singh
  • BIDISHA BAGCHI
  • Ipsita ratha
  • Sapna Nair
  • Gaurav  Deore
  • anupam
  • Bhavani
  • Shiva Kumar

© 2010   Created by EDISTA.

Badges  |  Report an Issue  |  Terms of Service