I am using 1.4.8 on mac and I’m automating native app using selenium. I am stuck at a situation where I need to tap each element in a . I wrote below code:

List allKeywords=.findElements(By.xpath("//UIAApplication[1]/UIAWindow[2]/UIATableView[]/"));
System.out.println("TEST TAPS ON THE EVENT SENT BY EXCEL SUCCESSFULLY "+allKeywords.size());

for(int j=0; j<=allKeywords.size(); j++){

    try{
        Thread.sleep(4000);
        allKeywords.get(j).click();

        System.out.println("TEST TAPS ON THE EACH KEYWORDS ");      
        }

    catch(WebDriverException e ){
        e.printStackTrace();
        captureScreenshot(, "tagsTappingImg");    

        }

}   

But I am getting error :

org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 772 milliseconds .

This error is shown when control tries to tap on next to first element.



Source link https://sqa.stackexchange.com/questions/14808/getting--driver--message-while--list--using-appium

LEAVE A REPLY

Please enter your comment!
Please enter your name here