Discussion
Accenture
US
Last activity: 10 Apr 2017 9:38 EDT
Performance with Obj-Browse
In my Activity, I'm using Obj-Browse method to browse data from a data table. While browsing I want to add filter criteria like below -
.Name = @whatComesBeforeFirst(MyPage.MyName) where .Name is property of browsing class and MyPage.MyName is being populated before browing the Table.
From performance perspective which approach will be better?
Approach 1 : Before Obj-Browse step, set @whatComesBeforeFirst(MyPage.MyName) value in a parameter. In Obj-Browse use that parameter itself like
.Name = Param.MyName
Approach 2 : In Obj-Browse step, use the filter criteria as .Name = @whatComesBeforeFirst(MyPage.MyName)
Thanks,
Rajsekhar
***Updated by moderator: Lochan to add Categories***