SPONSORS:






User Tag List

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

Thread: Localization

  1. #1
    Junior Member
    Join Date
    Oct 2001
    Location
    Kirkland, WA
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Localization

    I am evaluating Test Partner and would like to know the best way of implementing test scripts for testing the same application in different languages.

    I am currently using Visual Test where I pass in a Localized string or an Ordinal value to the control. ie WButtonClick("@1") would click the OK button.

    Is it possible to use Ordinals or index position to identify the control?

    Thanks

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

  2. #2
    Senior Member
    Join Date
    Jul 2001
    Location
    Montreal, QC, Canada
    Posts
    366
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Localization

    I believe the object maps might do the trick, as long as the Caption is not used as recognition. You then call the control something useful and unique and then use that throughout your script, if the index changes you change it in the object map once and it doesn't rely on any language. There are settings in the Options to use object map entries as opposed to raw attach names.

    For instance you have an editbox that you 'Identify' on the screen, it will trap the properties related to it, you'll see it takes the class name, index, ID possibly and others.

    You use the object name you defined throughout afterwords to do anything with the control. ie. you call an object map entry 'Main Form - First Name' for an editbox you 'identified' on the screen. You use this afterwards to type in that control:
    EditBox("Main Form - First Name").Type "Max"

    One caveat, if your application uses control arrays, you can not expect to capture the controls using point and click afterwards since that combination of class and id and object name might be the same for several controls across your application.

    Happy evaluating,
    Max



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

 

 

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 06:15 AM.

Copyright BetaSoft Inc.