robotium 删除一个listView里的指定Item

public void testDeleteAdBabyChildren() throws Exception {
    solo.waitForActivity("com.ebay.kijiji.activity.PageMainActivity");
    Thread.sleep(3000);
    solo.clickOnText("Gumtree");
    solo.clickOnText("My Ads");
    int size = solo.getView(ListView.class, 0).getCount();
    if (solo.searchText("Fisher-Price Newborn-to-Toddler Portable Rocker")) {
        deleteAd("Fisher-Price Newborn-to-Toddler Portable Rocker");

    }
    elseif(solo.searchText("Canon EF 50mm f/1.4 USM lens with original box"))
    {
    deleteAd("Canon EF 50mm f/1.4 USM lens with original box");
    }
        elseif(solo.searchText("PS4 used for 2 months"))
    {
    deleteAd("PS4 used for 2 months");
    }
}

每次运行的时候只执行了一个if,但是其他item也存在,就是说其他if条件也成立,但是程序没有运行进去,case就结束了,本来有三个Item要删除,但只删除了一个,其他的还存在,而且case通过了,请问各位大神,如何解决

public void testDeleteAdBabyChildren() throws Exception{
solo.waitForActivity("com.ebay.kijiji.activity.PageMainActivity");
Thread.sleep(3000);
solo.clickOnText("Gumtree");
solo.clickOnText("My Ads");
int size=solo.getView(ListView.class,0).getCount();
for(int i=0;i<size;i++){
if (solo.searchText("Fisher-Price Newborn-to-Toddler Portable Rocker")) {
deleteAd("Fisher-Price Newborn-to-Toddler Portable Rocker");

}
elseif(solo.searchText("Canon EF 50mm f/1.4 USM lens with original box"))
{
deleteAd("Canon EF 50mm f/1.4 USM lens with original box");
}
    elseif(solo.searchText("PS4 used for 2 months"))
{
deleteAd("PS4 used for 2 months");
}
    }

}