Would like to use Selenium for testing FlexGrid

Posted by: funahashi on 14 September 2017, 11:51 am EST

  • Posted 14 September 2017, 11:51 am EST

    I would like to use Selenium for testing FlexGrid.

    However, the text field of the Grid will always be a StaleElementReferenceException.

    I am change to edit mode by Click or F2 key.

    However, character input always results in an error.

    I want to know the correct way.

    My weak point is English.

    I used “Google Translate” but I do not know the correctness of the translated text.

    Sorry…

    2016/12/demo_use_webdriver.txt

  • Posted 15 November 2018, 9:09 am EST

    To get access to the text of an element you use:

    WebElement element = driver.findElement(By.id(“row0_TeamManagement_WAR_TeamManagementportlet_teamGrid”));

    String elementText = element.getText();

    System.out.println(elementText);

    Run your automation scripts on real devices for free @ pcloudy.com

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels