Coded user interface controls must be updated.

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?

+3
2

AlwaysSearch SearchConfigurations , , , . , .

+3

. , , - BaseMap BaseMap = new BaseMap(); , BaseMap.MSMaintenanceMap.PageNext(); .

- BaseMap.Designer.cs. BaseMap.cs. . PageNext() . :

public void PageNext()
{
    BaseMap = new BaseMap();

    Mouse.Click('TheObjectYouRecorded');
}

, .

+1

All Articles