SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Oct 2000
    Location
    South San Francisco, CA, USA
    Posts
    32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Limited Tag Options with Dynamic Error Messages

    Hi again Folks. The application I'm testing has dynamic error messages that appear next to required fields or invalid data in fields. On some pages more than one of the same error message can appear below the fields.

    The HTML involves the insertion of a new table row below the offending field(s) in which the error message is printed. Silk believes these error messages are HtmlHeadings. The only tags that Silk is reading in the tag identifier are index and caption. No prior text is being registered as a tag.

    No matter how judiciously I choose my tags from among the available options, I cannot think of a way which the standard options will allow testing of the placement of the error messages depending upon the user's input. For instance someone could have multiple omissions from the required fields, so index will not tell me anything about placement. Text is also the same.

    Any thoughts about how to tag or test the error messages other than altering their text?

    Segue really needs to work on the tagging options...they are really weak and limited.

  2. #2
    Senior Member
    Join Date
    Jul 1999
    Location
    Burlingame CA 94010
    Posts
    502
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Limited Tag Options with Dynamic Error Messages

    Michael,

    If you can find the objects in the table, you can use the GetRect () method which will return a record reflecting the location and size of the object. If you get the rect of both objects, you can check whether one is below, above or adjacent to another object.


    Type RECT r in script. Put your cursor on the word RECT and press Ctrl-. (control dot) Silk will take you to the definition of the RECT data type. Its fields are xPos, yPos, xSize and ySize.

    Hope this helps.



    ------------------
    John W Green
    jwgreen@automationexpertise.com
    http://www.automationexpertise.com

 

 

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 05:38 PM.

Copyright BetaSoft Inc.