I am using Robot Framework and Selenium2Library. I am trying to check that given element is disabled. Code used is :
Element Should Be Disabled | //div[6]/div[2]/div/div[2]/div[1]/div[2]/div/div/div[2]/div[2]/span[4]
This code is giving me following error :
ERROR: Element //div[6]/div[2]/div/div[2]/div[1]/div[2]/div/div/div[2]/div[2]/span[4] is not an input.
Help in solving this problem would be appreciated. Thanks !!