This is a migrated thread and some comments may be shown as answers.

Interactive Dialog Box

2 Answers 77 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Nigel
Top achievements
Rank 2
Nigel asked on 21 Feb 2012, 05:05 PM
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 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 21 Feb 2012, 06:14 PM
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
0
Nigel
Top achievements
Rank 2
answered on 22 Feb 2012, 09:37 AM
Okay, Cody, thanks for your advice.  :)
Tags
General Discussions
Asked by
Nigel
Top achievements
Rank 2
Answers by
Cody
Telerik team
Nigel
Top achievements
Rank 2
Share this question
or