Can we increase property value's size in ' PropertyExpression ' at CUIT recorder time? RRS feed

  • Question

  • Hi Everyone,

    I have recorded action on a web control. This control's ControlDefinition property value is in CUIT recorder:

    this.mUIPhonenumberEdit.FilterProperties[HtmlEdit.PropertyNames.ControlDefinition] = "name=\"phone_number\" class=\"k-textbox\" id";

    This control definition value is in CUIT Assertion:

    How can I make CUIT recorder to recording complete value?



    Monday, October 13, 2014 6:11 AM


  • Hi Rajendar,

    We can’t make Coded UI test recorder to record complete value for Control Definition search properties. What we see is the default behavior.

    But for other type of controls such as Button, we can configure IEpropertyConfiguration.xml file (described here: http://blogs.msdn.com/b/visualstudioalm/archive/2012/12/10/coded-ui-test-configuring-search-properties-while-recording-on-internet-explorer.aspx ) to make CUIT recorder to record ControlDefinition as search properties instead of filter properties first and then change the value of ControlDefinition search properties in Coded UI Test Editor. But this way is not applied to html Edit control because we can't configure search properties and filter properties for Edit control in IEpropertyConfiguration.xml file .

    Best regards,

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by Amanda Zhu Thursday, October 16, 2014 2:23 AM
    • Marked as answer by Amanda Zhu Monday, October 20, 2014 1:32 AM
    Tuesday, October 14, 2014 8:06 AM