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

Standalone runing passed but failed in list runing after upgrade

2 Answers 21 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Seff
Top achievements
Rank 1
Seff asked on 26 Dec 2013, 02:05 AM
Hi,

I just upgrade from "2012_2_1420" to latest "2013.2.1210".

Before my upgrade, all cases can passed both Standalone running and List running.

But after upgrade, cases were failed in list running. I checked the log that some exception as

'12/25/2013 5:27:43 PM' - LOG: Unexpected dialog encountered. Closing the dialog, and halting execution.
'12/25/2013 5:27:45 PM' - 'Pass' : 10. Wait for Exists 'MoveToNextPageButtonRadbutton'
'12/25/2013 5:27:45 PM' - 'Fail' : 11. Execute test 'Public_Waiting_PleaseWait.tstest'

and log details

ArtOfTest.Common.Design.Exceptions.ExecutionException: Unexpected dialog:

But some cases passed with this same step in this list.

And for this faild case, I also can pass it in standalone running

So could you help me?

My IE version 9.0.8112, OS Win7

Attached is the result file and my list settings screen shot

2 Answers, 1 is accepted

Sort by
0
Seff
Top achievements
Rank 1
answered on 26 Dec 2013, 02:21 AM
I tried this solution, seems it works.

http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/knowledge-base/dialogs-popups/unexpected-dialog-action.aspx

I set the config to "HandleAndContinue" and the case passed. I will try the rest cases.

But it is strange, correct?
0
Ivaylo
Telerik team
answered on 26 Dec 2013, 09:30 AM
Hello Seff,

I am happy to hear you have managed to fix the problem you were experiencing. This is not a weird behavior at all. It seems your test execution opens an unexpected dialog while replaying the test and this is the way you have to proceed in order to overcome this problem.

Please give it a try for the rest of the cases but I am positive this should work as well.

Regards,
Ivaylo
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Seff
Top achievements
Rank 1
Answers by
Seff
Top achievements
Rank 1
Ivaylo
Telerik team
Share this question
or