0
我已经使用“http://toolsqa.com/selenium-webdriver/webelement-commands/”中给出的教程实现了Selenium Flex脚本。但是,脚本无法检测到Spark组件。无法使用Selenium Flex检测Flex Spark组件
以下是硒的Flex代码的代码:
WebElement element = driver.findElement(By.id("userName"));
element.sendKeys("administrator");
Flex代码:
<s:TextInput id = "userName"
width = "60%"
verticalCenter = "true"/>
感谢您的建议。但是,建议文章中的步骤仍不适用于Flash Builder 4.7和Action Script 3. –
您会遇到什么错误?我认为你已经按照指导方针进行了设置? – kushal
尝试使用此演示https://github.com/far11ven/Automating-Flex-Flash-applications-using-Selenium – kushal