I am using an encoded interface testing module that looks at the jQuery grid we wrote. The problem I am facing is that when the grid pages, the encoded ui keeps track of the old controls when I try to call paging again. I think an example would better explain this:
BaseMap.MSMaintenanceMap.PageNext();
BaseMap.MSMaintenanceMap.PageNext();
this is the code I'm trying to work. The problem here is the generated constructor file:
if ((this.mUITitlePagingRowRow == null))
{
this.mUITitlePagingRowRow = new UITitlePagingRowRow(this);
}
When I change it to this:
this.mUITitlePagingRowRow = new UITitlePagingRowRow(this);
It works every time. The problem is when uitest receives regeneration, it returns for obvious reasons. Are there any additional options that anyone knows that I can put in a .uitest file to always get the latest version of the control?