SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2

Thread: Seach screen...

  1. #1
    Member
    Join Date
    Jan 2006
    Posts
    106
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Seach screen...

    hi,

    i have a serach screen..i need to write a script for different values..for successful and unsuccessful conditions...in the same login...

    i am not getting correctly how to start...any idea?

    thanks
    gsg

  2. #2
    Advanced Member
    Join Date
    Mar 2007
    Location
    Salt Lake City, UT, USA
    Posts
    606
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Seach screen...

    First make sure you control the data. It's very challenging to test search engines when you don't know what or how many should be found. If you search for Huckleberry Fin and it comes up 7 times, you want to know why it came up 7 times and whether that is right or wrong.

    Write the script once. Create rows of data in your DataTable that contain the item being searched for and how many should be found.

    Compare the results against the expected number to be found. There are lots of different ways to find out how many results you actually have on screen. Perhaps my favorite is to grab the little object that says something like "1-10 of 21 results" or whatever. Parse that to see how many results were found and compare to your DataTable with an if..then and reporter.reportevent.
    "The last 10% of any software project will take 90% of the budgeted time. The first 90% will take the other 90%"

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin 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 02:43 AM.

Copyright BetaSoft Inc.