File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Testing and the fly likes Script for an email address that is already registered in the database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Script for an email address that is already registered in the database" Watch "Script for an email address that is already registered in the database" New topic
Author

Script for an email address that is already registered in the database

Claudiu Barbulescu
Greenhorn

Joined: Dec 04, 2012
Posts: 13
Hi,

I write a script for a "Sing Up" page. I have some difficulties at some point.
I need to verify if the email is already registered in the DB. If the email is registered, the script to insert other email.

I attached the script file to this post. Also there are comments where I have to improve the script to add another email in case that a email is already registered in the DB.

Thanks!

Here is my script:




[Thumbnail for register_page.jpg]

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Script for an email address that is already registered in the database
 
Similar Threads
Unable to locate the element while executing TC as JUNIT but it is working fine in IDE
running the selenium(java) script close the browser
Negative Testing with Selenium JUnit 4 Remote Control and Eclipse
Junit4+Eclipse+Selenium RC- Test class should have exactly one public zero-argument constructor
Selenium RC Junit test case does not execute.