Interactive Dialog Box

3 posts, 0 answers
  1. Nigel
    Nigel avatar
    53 posts
    Member since:
    Jan 2012

    Posted 21 Feb 2012 Link to this post

    Hi folks,

    How would I create a dialog box in the VB Code Behind window, read what a real user enters into a text field in the box, and use the value in a Test Studio script?

    The scenario is that when a user presses a 'Forgot My Password' button they receive a temporary password by email.  I need to generate a dialog box into which the user will be able to type their temporary password, which my script can grab and then act on.  If there is a video that shows this, please point me to it.

    Thanks in advance,
    Nigel Edwards, Transition Computing.
  2. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 21 Feb 2012 Link to this post

    Hi Nigel,

    First, this will be much easier if you use our Visual Studio plug-in version of Test Studio. The reason is that you'll need to create your own dialog form and then activate it and retrieve the users entry into it. This is all documented on MSDN how to accomplish this in Visual Studio. Start at "To create a dialog box" on that page.

    Kind regards,
    Cody
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  3. Nigel
    Nigel avatar
    53 posts
    Member since:
    Jan 2012

    Posted 22 Feb 2012 Link to this post

    Okay, Cody, thanks for your advice.  :)
Back to Top