Is there a way to automate scanning (QR code)?

I’m trying to automate a scanning QR code feature on the android app.
Is there a way to automate scanning (QR code)?

2 Likes

Hello, have you find the manner to do automate a scaning QR code using katalon?

I have the same error

1 Like

Hi @Yosepina,

While there isn’t a way to directly scan a QR code with Katalon Studio, there are some ways to do it with Appium:

Hope this helps,

Chris

Hi @Chris_Trevarthen,

I have read it. but i didn’t get clear to implement . actually in how does the library work? where do i put it?

Hi @Yosepina,

To add the basic QR code scanning libraries to your project, you would download these .jar files:

http://central.maven.org/maven2/com/google/zxing/core/3.3.3/core-3.3.3.jar
http://central.maven.org/maven2/com/google/zxing/javase/3.3.3/javase-3.3.3.jar

And place them in your Katalon Studio project’s /Drivers directory.

That would get you the ability to do the things described in the article. The next (harder) step would be to write the code to do the screenshot capturing and image scanning.

– Chris

thankyou Mr. Chris

i will try

Is there a way to get the QR scanning implemented in katalon without coding in Appium ?

Hi @Yosepina did you find a way to implement the appium solution to mock the mobile scanning ?

hi @Chris_Trevarthen can you tell me detail directory that you talking about
thanks

Hi @Joko_T_Susilo_Widodo,

For installing 3rd party libraries, you put them in the /Drivers directory where you’ve saved your Katalon project files. So, if you find the .prj file you use to open your Katalon test project, there should be a /Drivers directory in that same folder. Place any third party .jar files you want to include in your project in that /Drivers directory.

Hope this helps,

Chris

1 Like