Using Selenium IDE with random values

前端 未结 12 1866
囚心锁ツ
囚心锁ツ 2020-12-04 07:49

Is it possible to create Selenium tests using the Firefox plugin that use randomly generated values to help do regression tests?

The full story: I w

12条回答
  •  北海茫月
    2020-12-04 08:03

    While making sense of RajendraChary's post above, I spent some time writing a new Selenium IDE extension.

    My extension will let the user populate a variable with lorem ipsum text. There are a number of configurable options and it's turned into a nice little command. You can do things like "5 words|wordcaps|nomarks" to generate 5 lorem ipsum words, all capitalized, without punctuation.

    I've thoroughly explained installation and usage as well as provided the full codebase here

    If you take a peek at the code you'll get an idea of how to build similar functionality.

提交回复
热议问题