Forum Discussion

alibaba82's avatar
alibaba82
Super Contributor
17 years ago

assertion questions

Hello,
I have a method called renameGrid and a method called GetGrid. GetGrid will return all the grids for a given account. RenameGrid will rename a grid given a gridId.

A request for RenameGrid looks like this
            5cfaacc3-e8c6-470b-aa40-2f44f93c0e63
RenamedGrid

A response for getGrid will look like this
          5cfaacc3-e8c6-470b-aa40-2f44f93c0e63
RenamedGrid

         
some otherId
SomeOtherGrid

I want to create an assertion in GetGrid that will check for the one of the customGrid Node has the name value 'RenamedGrid' and that its CustomGridId is the same as in the request of 'RenameCustomGrid'


How can I accomplish this? I understand that you guys are busy so take your time. I am in no hurry.

Thanks

ALi
No RepliesBe the first to reply