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

MessageBox syntax

6 Answers 117 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andrey
Top achievements
Rank 1
Andrey asked on 28 Jun 2010, 04:37 PM
I'm not sure how to programm MessageBox with one and two buttons

6 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 28 Jun 2010, 05:43 PM
Hello Andrey,

We need a little more information before we can assist you. What is this MessageBox for? What is it you want to do with it? Are you trying to display one or automatically close one that is opened by your web application? Do you want it handle by the test script or via code?

Kind regards,
Cody
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Andrey
Top achievements
Rank 1
answered on 28 Jun 2010, 06:22 PM
When I do recording, I have a regular alert message box with one ore 2 buttons, so when I click OK, this step doen'd want to record
0
Cody
Telerik team
answered on 29 Jun 2010, 09:10 PM
Hi Andrey,

It sounds like you just need to add an Alert handler test step. See the screenshot dialogs-qa.png for where/how to add a "Handle Alert Dialog" test step. Once the step is added you can customize its properties to select which button you want clicked on. See dialog-properties.png for a screenshot of the Alerts dialog properties.

Let me know if this solves your problem.

All the best,
Cody
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Andrey
Top achievements
Rank 1
answered on 29 Jun 2010, 09:20 PM
I tryed to add "Handle Alert Dialog" and It didnt work
0
Cody
Telerik team
answered on 30 Jun 2010, 05:34 PM
Hi Andrey,

I believe we completely resolved this in our GoToMeeting yesterday.

Regards,
Cody
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Andrey
Top achievements
Rank 1
answered on 30 Jun 2010, 05:55 PM
Yes, I'm completely all set
Thanks a lot
Tags
General Discussions
Asked by
Andrey
Top achievements
Rank 1
Answers by
Cody
Telerik team
Andrey
Top achievements
Rank 1
Share this question
or