مؤمّن Pop ups error in VSTS 2010

  • Tuesday, June 22, 2010 10:56 PM
     
     

    In UI coded Test using VSTS 2010 Pop ups are causing error.

    I recorded the script using VSTS UI coded test and when I play them to test POPUPS are causing error

    I also tried

    WinWindow

     

     

    win = new WinWindow();

     

     

    UITestControlCollection col = win.FindMatchingControls();

    Can any one help me please. And it is VSTS 2010.

    Thanks in Advance

All Replies

  • Wednesday, June 23, 2010 3:19 AM
    Moderator
     
     

    Very little information.

    What is the error caused by POPUP?

    what are you trying with this piece of code?

    What scenario are you testing? Is it web/winforms/wpf?


    Please mark this post as answer if this answers your question
  • Wednesday, June 23, 2010 5:36 PM
     
     

    1. I am creating a user admin and the combobox is a pop up. So I selected from the combobox pop up and closed the box. But in playback it is not working.

    And I am doing Functional testing in UI coded testing in VSTS 2010

    Error is {"The playback failed to find the control with the given search properties. Additional Details: \r\nTechnologyName:  'Web'\r\nControlType:  'Document'\r\nTagName:  'BODY'\r\nId:  'dialog_body'\r\nRedirectingPage:  'False'\r\nFrameDocument:  'False'\r\n"}

     

    2. I created the admin and the pop up box says do you want to come back to the page. Same it is not working in the Playback.

    Error is {Cannot evaluate expression because debugging information has been optimized away .}

     

    Thanks in Advance