locked
CODEDUI APP ACTING ERRATICALLY - Production Problem RRS feed

  • Question

  • HellO!

    I have a codedui app which works on one machine perfectly, however when i move the same code to the next machine it only works "sometimes". It occurs every time there is a Model Dialog box that is loaded by a Web App. HOWEVER, the strange thing is that it works properly EVERY TIME when i set one breakpoint in the debugger and run it in debug mode. Has anyone seen anything like this before. As I mentioned on the development machine it runs perfectly. It is when we moved it to the Production machine that erratic behavior occurs.

    We are in a little panic over this to say the least :-)

    Thanks!
    Mike


    Mike Kiser

    Thursday, March 21, 2013 5:31 PM

Answers

  • Hello,

    Thank you for your post.

    "It occurs every time there is a Model Dialog box that is loaded by a Web App. "

    Would you mind clarify what will happen when you run the coded UI test on the production machine in details?

    Will a Model Dialog box be loaded by the web app and pop up during running coded UI test?

    If yes, whether or not there is a model dialog box which is set to pou up during starting the web app manually? Please try to check the web app.

    If no, please check if the Model Dialog box comes from other apps on the machine. If yes, you can try to check the apps on the production machine.

    If you try the same scenario on another machine, will you get the same issue? Maybe the issue is related to your test environment.

    If still no help, please provide us a screen shot of the Model Dialog box and the error messages after running test if there are any errors.

    Best regards,


    Amanda Zhu [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.


    • Marked as answer by Amanda Zhu Thursday, April 4, 2013 5:33 AM
    • Edited by Amanda Zhu Thursday, April 4, 2013 5:36 AM
    Friday, March 22, 2013 5:51 AM

All replies

  • Hello,

    Thank you for your post.

    "It occurs every time there is a Model Dialog box that is loaded by a Web App. "

    Would you mind clarify what will happen when you run the coded UI test on the production machine in details?

    Will a Model Dialog box be loaded by the web app and pop up during running coded UI test?

    If yes, whether or not there is a model dialog box which is set to pou up during starting the web app manually? Please try to check the web app.

    If no, please check if the Model Dialog box comes from other apps on the machine. If yes, you can try to check the apps on the production machine.

    If you try the same scenario on another machine, will you get the same issue? Maybe the issue is related to your test environment.

    If still no help, please provide us a screen shot of the Model Dialog box and the error messages after running test if there are any errors.

    Best regards,


    Amanda Zhu [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.


    • Marked as answer by Amanda Zhu Thursday, April 4, 2013 5:33 AM
    • Edited by Amanda Zhu Thursday, April 4, 2013 5:36 AM
    Friday, March 22, 2013 5:51 AM
  • Hello,

    What about your issue now? Could you get useful information from our reply?

    Would you mind letting us know the result of the suggestion?

    Best regards,


    Amanda Zhu [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Tuesday, March 26, 2013 1:15 AM
  • Hi Amanda Thanks for your suggestion; I will answer your questions first thing in the morning. Thanks again! Mike

    Mike Kiser

    Tuesday, March 26, 2013 2:46 AM
  • Hello Mike,

    What about your issue now? Could you get useful information from our reply?

    If you have resolved it, you can share your solution here.

    If no, would you mind letting us know the result of the suggestion and tell us the latest news of your issue?

    Best regards,


    Amanda Zhu [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Wednesday, March 27, 2013 8:11 AM
  • Maybe your control is created dynamically? In that case you have to wait for it with WaitForControlExist or WaitForControlReady methods.
    Thursday, April 11, 2013 1:04 PM