Hello,
I have a site with a button that allows to change the language of the site (switch EN / FR)
When I click on the button, the “text” attribute changes (en or fr).
I want Katalon to check that the text of the button is either in FR.
my code :
attribute = WebUI.getAttribute(findTestObject(‘SwitchLanguage/button_en’), ‘text’)
If attribute = (‘EN’){
My code for website EN
} else{
My code for website FR
}
i have a error…
Do you have an idea?
Thank you