Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
310 views
in Technique[技术] by (71.8m points)

Is the Katalon Recorder extension script functionality brocken?

I am learning Katalon Recorder by following the instructions (https://docs.katalon.com/katalon-recorder/docs/extension-scripts-aka-user-extensionsjs-for-custom-locator-builders-and-actions.html).

While running the "user extensions" examples

  • the "doTypeRepeated" example worked ok
  • the "assertValueRepeated" example gave an unknown command error.

So simplifying it even further by creating the following user extension

Selenium.prototype.getOne = function() {
    return 1;
};

and using a command of "one | 12345 | a |" gave the same error as below.

[info] Executing: | one | 12345 | a |
[error] Unknown command: one

Is there a known issue with the accessor functionality of Katalon Recorder or what am I doing wrong?

Thanks, Rob


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share

2.1m questions

2.1m answers

62 comments

56.6k users

...