YUI test: how to simulate more complex user actions in JavaScript?

I have a series of tests written with YUI test. The capabilities of the YUI Test when it comes to simulating user actions are quite limited or rather low. For example, I cannot easily simulate a user entering a textbox with events and DOM object changes that come with it.

This is what Selenium does much better, but Selenium works differently. Is there any code in Selenium or some other library that I could call to simulate user actions such as "type this text in this button" and still save my test as a YUI test?

+2


source to share


1 answer


I don't think you will be able to save them as YUI tests. You could somehow import the selenium js libs into your tests and call methods in the browser to do these tricky things, but I'd rather keep things clear and create the selenium test suite correctly.



+2


source







All Articles