This is a migrated thread and some comments may be shown as answers.

testing editing-inline in IE11

1 Answer 78 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Gabbi
Top achievements
Rank 1
Gabbi asked on 14 Oct 2015, 03:05 PM

Hi,

 

I am using selenium for testing out application.

I encounter a problem with inline-editing that I reproduce with the code below on the demo in your site.

What happen is that the field got update but after click on the "Update" button the value remain as before.

With nativeEvents=true it does work but it cause many other issues.

How can it work with nativeEvenets=false ?

 

 

public static void main(String[] args) throws InterruptedException {
System.setProperty("webdriver.ie.driver",
"C:\\Dev\\Selenium\\IEDriverServer.exe");
final DesiredCapabilities capabilities = DesiredCapabilities
.internetExplorer();
capabilities.setCapability("nativeEvents", false);
capabilities.setCapability(
InternetExplorerDriver.IE_ENSURE_CLEAN_SESSION, true);
capabilities.setCapability(InternetExplorerDriver.REQUIRE_WINDOW_FOCUS,
true);

WebDriver driver = new InternetExplorerDriver(capabilities);
driver.get("http://demos.telerik.com/kendo-ui/grid/editing-inline");
driver.findElement(
By.xpath(".//*[@id='grid']/div[3]/table/tbody/tr[2]/td[5]/a[1]/span"))
.click();
Thread.sleep(3 * 1000);
driver.findElement(
By.xpath(".//*[@id='grid']/div[3]/table/tbody/tr[2]/td[1]/input"))
.sendKeys("kuku");
Thread.sleep(3 * 1000);
driver.findElement(
By.xpath(".//*[@id='grid']/div[3]/table/tbody/tr[2]/td[5]/a[1]/span"))
.click();
Thread.sleep(3 * 1000);

}

 

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 19 Oct 2015, 05:44 AM
Hello Gabbi,

Our support service is focused on providing technical assistance related to the Kendo UI widgets' behavior in the supported browsers. We cannot comment on integration scenarios with third-party testing frameworks, however, I will leave this thread open for someone from the community to join the discussion. You may want to check the following Selenium documentation page, which discourages from using synthetic events and if I understand correctly, it states that they are not supported in most browsers.

Telerik provides its own test automation product - Test Studio, which provides translators for testing Kendo UI applications.

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Gabbi
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or