SPONSORS:






User Tag List

Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    May 2003
    Posts
    82
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    SilkTest and .net

    I'm trying to capture a window in Silk that was created in .net. All the objects keep coming back as CustomWins, but the tag contains info that makes me think it might have some clue as to what the object really is, for example, msw tag "[WindowsForms10.Window.8.app1]MainMenu" for a MainMenu. I'm not sure if it's just something I've forgotten to turn on or if Silk really has no clue.

    anyone have any experience with SilkTest and .net?

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

  2. #2
    Member
    Join Date
    Oct 2001
    Location
    Cupertino, CA, USA
    Posts
    37
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SilkTest and .net

    Read the documentation on class maps. This should do the trick.

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

  3. #3
    Senior Member
    Join Date
    Nov 1999
    Location
    Eagle, ID,USA
    Posts
    1,035
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SilkTest and .net

    SilkTest does not offer support for .Net yet. Supposedly later in the year.

    ------------------
    Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac.

  4. #4
    Super Member
    Join Date
    Jul 2001
    Location
    Earth
    Posts
    1,882
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SilkTest and .net

    Basically classmapping only works if the custom object responds to the same API calls that the standard object does. Some .NET objects will work, but many do not. So much for backward compatability.....

    ------------------
    James Soderborg
    http://www.ameliortech.com
    jamesso@ameliortech.com

  5. #5
    Member
    Join Date
    Dec 2002
    Posts
    73
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SilkTest and .net

    A lot of .NET stuff will work. Just use a lot of Classmaps. Your biggest prob will be buttons as they all are recognized as just buttons whether they be checkboxes, pushbuttons, radio buttons, etc..
    Using your example "WindowsForms10.Window.8.app1", you probably noticed in the "...app1" part, the number changes in every build of your app. So in your Classmap in silk use a wildcard like: "WindowsForms10.Window.8.app*".

    This is working pretty well for me. Takes a lot of classmapping and tag trickery, but it's doable.



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

  6. #6
    Junior Member
    Join Date
    Sep 2001
    Location
    Canada
    Posts
    26
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SilkTest and .net

    Also make sure that the ActiveX Extension is enabled in the Extension Enabler as well as the Silk Test Extensions options...helps in recognizing most of the .NET stuff

    ------------------
    Master Yodo
    Testing Centre of Excellence

 

 

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 10:38 AM.

Copyright BetaSoft Inc.