【问题标题】:Using Selenium IDE使用 Selenium IDE
【发布时间】:2011-05-12 20:03:23
【问题描述】:

是否可以使用 IDE 进行复制和粘贴?我知道 Selenium RC 和 WebDriver 有更多的功能,但我想用 IDE 来做。我还注意到有一个 highlight 和 controlkey 命令,这有助于做highlight 然后按Ctrl+C 吗?

【问题讨论】:

    标签: testing selenium automation


    【解决方案1】:

    这个对我有用

    1- 
    Command = Store
    Target = stuff you want to paste
    Value = Var
    
    2- 
    
    Command = sendkeys
    Target = id for area where u wana paste
    Value = ${Var}
    
    3- 
    
    Command = Fireevent
    Target = id for area where u wanna paste
    Value = paste
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-08-21
      • 2017-04-05
      • 2019-03-23
      • 1970-01-01
      • 1970-01-01
      • 2019-04-17
      • 2013-04-16
      • 2020-02-22
      相关资源
      最近更新 更多