Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Sclocator for dropdown fails in IE-9

$
0
0
-Automation tool:Webdriver
-SmartClient:9.0 using isomorphic_webdriver.jar
-Browsers:FF-17/IE- 9/Chrome-28 /
-Selenium IDE 2.2

I am using sclocator to find elements in my testcase and they are work fine on FF and chrome but fails at drop down in IE.

These are the commands I am using to find the dropdown(fails in both the cases):

driver.findElement(ByScLocator.scLocator("scLocato r=//DynamicForm[ID=\"primary_address\"]/item[name=a1_country||title=Country||index=5||Class=Sel ectItem]/textbox")).sendKeys(Keys.ENTER);

//driver.findElement(ByScLocator.scLocator("scLocato r=//DynamicForm[ID=\"primary_address\"]/item[name=a1_country||title=Country||value=224||index=5 ||Class=SelectItem]/[icon=\"picker\"]")).click();

I tried inserting some wait and it didn't help.

Help is greatly appreciated.

Viewing all articles
Browse latest Browse all 4756

Trending Articles