In our web-application(built on Bootstrap and Angular), certain tabs in the navbar are displayed only to particular users. Certain input boxes/ buttons are enabled only to certain users. I want to write test scripts using / Sikuli to test this functionality and I want your suggestions in this approach.

One of the ideas is to navigate to different pages in the UI, and use Selenium’s isDisplayed() and isEnabled() functions and make assertions. And capture screenshots accordingly?

The other idea is to use Sikuli and match certain submenus being present on hover, capture screenshots and compare with the expected.

Which approach do you guys think is the better one to use? Also, please suggest if there’s another way to do it.

Would also be so glad if you guys can provide me a generic method to test this.

Source link


Please enter your comment!
Please enter your name here