Art of test browertype enum

2 posts, 0 answers
  1. Ewin
    Ewin avatar
    13 posts
    Member since:
    Jan 2012

    Posted 15 Aug 2013 Link to this post

    I want to ask about the testing framework by itself, but I didn't see where I could do this?

    My question is why does the artoftest browser enum say to use the teststudio.communication.shared.enum?  The testing framework does not include test studio. 

    My actual question is related to Manager.LaunchNewInstance() method. A couple of the method variation calls for a browsertype.  Since this browsertype is obsolete, is there a special cast to change it an acceptable class. 

    I had some logic in a coded step in my test studio project that used if activebrowser.browsertype==browsertype.firefox, do a mouse click instead of a normal click action.  I chose to use the browserexecutiontype.ToBrowserType method
  2. Cody
    Cody avatar
    3360 posts

    Posted 16 Aug 2013 Link to this post

    Hi Ewin,

    It's perfectly safe to keep using the old enum for a while. The Obsolete message is only a warning, one you can safely ignore. We have more work to do about this enum.

    P.S We have our Telerik Testing Framework public forum for questions like this.

    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top