SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    Dec 2000
    Location
    Pune, India
    Posts
    135
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Data Driven Test Script for Form Validation

    I am testing a form, which contains normal fields like Name, Address, Phone, Zip, etc.

    I need to write a data driven script for this, which will test, for both the valid inputs and invalid inputs.

    Can anyone give me some similar script, for me to learn from it?

    ------------------

  2. #2
    Member
    Join Date
    Jul 2001
    Location
    NY, USA
    Posts
    67
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Data Driven Test Script for Form Validation

    Instead of trying to copy somebody, I would love to investigate and create my own scripts. Search for data driven test cases or plan files in the forum, and you should find lot of information.

    To begin with, learn more about the following functions. You will find many examples in SilkTest Help itself!!
    1) Fileopen()
    2) While
    3) FileReadLine()
    4) do..except
    5) Verify()
    6) logerror

    I use all the above functions when I code for data driven forms. If you still have problems, post a message again!! We will definitely help you out.

    Good Luck.

    Srikanth

    ------------------
    Habit 1 - "Be Proactive"
    "The 7 Habits of Highly Effective People" by Stephen R. Covey

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 04:09 AM.

Copyright BetaSoft Inc.