As i ask this question because when i have record the script its is not use āby.binding()ā method. So do i need to import any library for this things.
Or i have to just record and add test cases will work fine.
I am beginner to this tools so i just want to clear my doubts.
You cannot use those locators in Katalon by default.
But there is an extension to WebDriver called ngWebDriver - you can import it as 3rd party library into Katalon and use it to improve testing of Angular webapp.
Thanks for valuable information. One more question.
Could you please tell me how i can install this ngWebDriver plugin.
Also let me know is this plug in provide recording feature or i have to manual scripting for each test case.
altough is a great TIP i would never do that.
what if tomorrow the client you work for will suddenly decide to change the framework? tadaa ā¦ you have to re-write all your testcases
testing process should be as much as possible framework agnostic.
better use a āblackbox testingā approach rather than sneak-peak into the developers code.
framework specific tests should be written by developper himself. they are named āunit testsā.
you as a frontend tester should only ask a coverage report. not available? sorry boss, we have two options here:
we donāt test garbage ā¦ or
since the code is not tested, we have to do extensive blind testing (boundary, negative and so on ā¦ unleash the qa hell upon them)
Well, how often does this happen? And how long does it take to completely change UI framework? From my experience, it may take few weeks or months and you must update your tests no matter what libraries you use. Thereās nothing like a perfect test, every UI framework is a bit different and do things in other way.
Moreover, this library adds only few extensions for By class, so selectors could be used in better way. Nothing too much complicated even if youād have to redo it.