locked
Cannot perform multiple logouts with different user ids for an application in Coded UI tests RRS feed

  • Question

  • Hi,

    I have an application where i will login with different users to perform different operations.

    During this, I am not able to perform logout(to click an OK button) while playback in Coded UI tests. Also there is only one method generated for the OK button in UIMap.Designer.cs file and during performing the click on logout button for second time(logged in with different user second time), i am not able to do same and an exception is thrown.

     

    Kindly help me in this regard.


    Bhavitha
    Friday, October 1, 2010 12:03 PM

Answers

  • HI,

    Thanks for the reply.

    Its a web application, and exception is Control Not Found and the issue is solved by adding SearchConfiguration.AlwaysSearch.

    Thank you.


    Bhavitha
    Wednesday, October 6, 2010 11:45 AM

All replies

  • Is it WPF application? What is the exception u r getting? BlockedControlException?

    Thanks

    Siddhartha

    Wednesday, October 6, 2010 5:08 AM
    Moderator
  • HI,

    Thanks for the reply.

    Its a web application, and exception is Control Not Found and the issue is solved by adding SearchConfiguration.AlwaysSearch.

    Thank you.


    Bhavitha
    Wednesday, October 6, 2010 11:45 AM