SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Mar 2008
    Posts
    50
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    ODT filter dialog has problem with case?

    I am evaluating the ODT feature. I set up a simple example where I have 1 class (clsLogin) and two test cases which are in the Data part of ODT. They are both instances of clsLogin, and their parent is an array, per the example given in Test Complete samples directory.

    Item0 (ie testcase1) has username=test and password=foo

    Item1 (ie testcase2) has username=test and password=Foo

    When I look at the data filter dialog for the password property, it only shows 2 entries: a blank entry, and foo.

    So what happened to Foo?

    As an aside, is there a way to stop the generation of the blank entries?

  2. #2
    Senior Member
    Join Date
    May 2004
    Posts
    1,196
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: ODT filter dialog has problem with case?

    Hi cupcakeboy,

    Currently, the dialog is case-insensitive - "Foo" equals "foo" for it, so it does not show the second value.
    We will consider improving this functionality.

    As for blank entries: the list of values contains all values specified in data objects and in the class itself. It looks like the property has an empty value in your class. As a result, this blank entry gets added to the list as well.
    Best regards,
    David - SmartBear Support

  3. #3
    Member
    Join Date
    Mar 2008
    Posts
    50
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: ODT filter dialog has problem with case?

    Hi David. Thanks for your reply. It is rather disappointing. Varying the case of a text input to a control is an extremely common test case. In fact, it's exactly the sort of thing that ODT is there for.

    This limitation means that I cannot use ODT at all. I cannot have some inputs tested with ODT and other inputs tested outside ODT, that's just to confusing.

  4. #4
    Moderator tristaanogre's Avatar
    Join Date
    Mar 2006
    Location
    Pennsylvania, USA
    Posts
    1,792
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: ODT filter dialog has problem with case?

    While your filter may be showing both "foo" and "Foo" as the same thing, how does it execute in code? The key to the usability of ODT in actual tests is not how your debugging tool reads the information but as to whether or not it data enters to the text field as "foo" or "Foo".

    So... ODT MAY still work for you. As David mentioned, the problem is in the on screen filter, not necessarily in the code execution.
    -Robert Martin
    Automated Testing Evangelists
    TestComplete "expert"
    Definition expert - noun - Unknown drip under pressure

  5. #5
    Member
    Join Date
    Mar 2008
    Posts
    50
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: ODT filter dialog has problem with case?

    I gave up on ODT some time ago, but I belive that when the code was executed, only one value was used. The other value was ignored.

    Even if the code used both values, the problem with not seeing both of them in the filter dialog is enough to raise a warning flag for me that maybe the ODT feature is a bit shakey or hasn't been properly tested for usabiliy by AQA.

  6. #6
    Senior Member
    Join Date
    Oct 2003
    Posts
    928
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: ODT filter dialog has problem with case?

    Hello cupcakeboy,

    Robert is right - the Filter dialog issue does not affect the test execution in any way. Property values are stored in a case-sensitive way.

    But, of course, it is up to you to decide whether you want to use this functionality or not.
    Regards,
    Alex - SmartBear Support

  7. #7
    Member
    Join Date
    Mar 2008
    Posts
    50
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: ODT filter dialog has problem with case?

    Alex thanks. And Robert thanks too! I guess I was mistaken the actual code execution, sorry about that, perhaps it was the blank value that threw me (though of course null is a good test case as well). I'm still going to wait until the filter dialog is fixed to handle case values properly before taking a second look at ODT.

 

 

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 10.00%
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 07:56 AM.

Copyright BetaSoft Inc.