chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
Welcome to Typemock Community! Here you can ask and receive answers from other community members. If you liked or disliked an answer or thread: react with an up- or downvote.
0 votes
Hi,
I'm trying to set a value on an SPListItem inside the Recoder but I dont know how to set the recorder to expect a list item using something like:
item["CustomerName"] = "Bob Jones";

Is there an example somewhere of this?

//////////////////////////////////////////////

using (RecordExpectations recorder = RecorderManager.StartRecording())
{
// dont know how to tell recorder to expect a set.
// the only thing I can find is AssignField() but dont know how to map
// this.
}

//////////////////////////////////////////////


Thanks :)
asked by GR (1.2k points)

1 Answer

0 votes
The answer can be found by following the url below.
Look for Ohad's reply headed (Fri Nov 14, 2008 7:00 am).

https://www.typemock.com/community/viewt ... =4308#4308

Thanks
answered by GR (1.2k points)
...