Tech C**P
15 subscribers
161 photos
9 videos
59 files
304 links
مدرس و برنامه نویس پایتون و لینوکس @alirezastack
Download Telegram
Tech C**P
There is a mechanism in firefox that you can record some user activities on your site in order to test it from 0 to hero! Katalon Recorder (Selenium IDE for Firefox 55+) is an add-on that can be used to record tests on firefox and export it into a file.…
Previously we have talked about Katalon. Today I had a problem that I couldn't record user flow in Google Sheets. The problem was
that google changes ids per login, and sometimes per refresh! Therefore Katalon failed to replay the recorded suite.

Katalon uses xpath in order to follow deep inner divs and elements and records those elements hierarchy. To deal with these challenges, automation testers should not set fixed XPaths for elements in test cases, but instead scripting XPaths dynamically based on certain patterns.

Some examples:

Locate the h2 tag element that has text matching exactly Make Appointment:

.//h2[text()=’Make Appointment’]


Locate any element that contains the text Login:

//*[contains(text(),’Login’)]


Locate the a tag element that has the ID starting with LoginPanel:

//a[starts-with(@id=’LoginPanel’)]

#katalon #xpath