Angular js Framework

Hi Team,
Can katalon automate angular js websites?

I think it is possible via basic selenium locators. Katalon Studio is developing angular specific locators, then it will work with Angular better.

Thanks for that quick reply @“Trong Bui” . I appreciate it. Also, I would like to know about external jars. Can user’s import external jars in Katalon? Can we import winium jar to automate windows based applications?

Yes you can import external libraries follow steps
project->setting->external libraries->add->it will open you browse folder from there you can give the jar path

thanks…

Trong Bui said:

I think it is possible via basic selenium locators. Katalon Studio is developing angular specific locators, then it will work with Angular better.

Hi Trong Bui, how can I use the selenium locators in Katalon studio. Am novice in automation (smile)

He means the "FindElement By " selector , you need to get the id or the xpath or css selector of the element to refer it and then run what ever command you wish, such as sendkeys to enter some text or click if it is a button.
Please check this link https://www.protechtraining.com/content/selenium_tutorial-locators

Interesting. It is a new idea to invoke native Selenium API within Katalon Test case. Let me try it.

I made a test case:

....
import com.kms.katalon.core.webui.driver.DriverFactory as DF
import org.openqa.selenium.WebDriver as WebDriver
import org.openqa.selenium.WebElement as WebElement
import org.openqa.selenium.By as By
WebUI.openBrowser('')
WebUI.navigateToUrl('http://demoaut.katalon.com/')
WebDriver innerDriver = DF.getWebDriver()
WebElement btn = innerDriver.findElement(By.id('btn-make-appointment'))
if (btn.getText().equals('Make Appointment')) {
    WebUI.comment('btn-make-appointment is found by Selenium native By.id')
} else {
    WebUI.comment('You, silly boy')
}
//WebUI.click(findTestObject('Page_CURA Healthcare Service/a_Make Appointment'))
WebUI.closeBrowser()

I executed this and got a message :

btn-make-appointment is found by Selenium native By.id

This proves that Katalon Stuidio bundles full set java libraries of Selenium.

Manish Yadav said:
Yes you can import external libraries follow steps
project->setting->external libraries->add->it will open you browse folder from there you can give the jar path
thanks…

Hi Manish
Should I upload all the jar files from Selenium to Katalon ? Sorry I am a new bee to testing so need more details

Hi, I am currently trying to automate an Angular Web Page and there are few elements like “mat-expansion” “mat-tab-labels”. Katalon is able to recognize them but not able to perform click operation.

will you be able to help me?

Sriker,

I found an sample of <mat-expansion-panel> in
https://material.angular.io/components/expansion/overview

I tried to click the with text Personal Data with Katalon’s WebUI.click() keyword. I worked fine for me.