How select two value in picker? (KIF)

271 Views Asked by At

I have picker. Picker have 2 column. How select two value in picker use KIF? Sample: https://i.stack.imgur.com/sbwj2.png

I'm tried use next:

 NSArray *date = @[@"Honda", @"Civic"];
 [tester selectDatePickerValue:date];

And:

 [tester selectPickerViewRowWithTitle:@"Honda" inComponent:0];

And:

[tester selectPickerViewRowsWithTitles:@[@"Toyota", @"Land Cruiser"]]; 

Always comes out error:

The UIDatePicker does not have the expected column count

Nothing helped. Maybe I'm somewhere missed something?

0

There are 0 best solutions below