Cloudkibo / KiboPush

0 stars 1 forks source link

Automate KiboPush Mobile test cases #8932

Open AnishaChhatwani opened 4 years ago

AnishaChhatwani commented 4 years ago

This task is to figure out how to automate test cases for kibopush mobile

jekram commented 4 years ago

We need to first quickly determine if this can be automated with the current tool now or now.

arveenkumar55 commented 4 years ago

Yes we can automate through current tool Katlon. When i try to set up mobile testing on katlon studio I am facing this error NodeJs is not installed Screenshot from 2020-06-17 16-48-55 Basically NOdeJs is installed on my computer test I have tried to find the solution from the internet but couldn't find the exact solution. I have posted in community form and my post is pending review.

arveenkumar55 commented 4 years ago

My post was successfully published on katlon community. Now i am waiting for reply. https://forum.katalon.com/t/node-js-not-installed-in-katlon/44651

arveenkumar55 commented 4 years ago

I did lot of research and find out the solution. Basically the issue was I installed node through NVM and katlon didn't find the path of the node. I have removed NVM and simply installed a node . I have run successfully a sample mobile testing project on katlon.

There are steps to follow the set up mobile testing environment on katlon

  1. Install node (not using NVM)
  2. Install appium (Appium is an open-source automation tool for running scripts and testing native applications, mobile-web applications and hybrid applications on Android or iOS using a webdriver.)
  3. Give appium installation path in katlon
  4. Need a physical mobile device to run Automate testcases
arveenkumar55 commented 4 years ago

Couldn't work on this issue today.

arveenkumar55 commented 4 years ago

Couldn't work on this issue today.

arveenkumar55 commented 4 years ago

Couldn't work on this issue today.

arveenkumar55 commented 4 years ago

Today I have worked on this issue. I have run testing on sample project which generated by katlon studio it is working fine but when i try to run testing on our KiboPushMobileApp it is giving me an error.
error1

I have tried a lot of solutions but didn't work. After that I have worked @bjafri5 but we couldn't find a solution. Then i have posted a question in Katlon community form https://forum.katalon.com/t/unable-to-create-a-new-remote-session-for-android/45085

I am waiting for a reply

arveenkumar55 commented 4 years ago

I got a reply from the community and they are asking for more information from me. I gave him and waiting for a response now.

arveenkumar55 commented 4 years ago

I didn't get any response from katlon community forum.

arveenkumar55 commented 4 years ago

still I didn't get any response from katlon community forum.

sojharo commented 4 years ago

I am assigning this to baqar as well so that he can help in doing iOS testing

arveenkumar55 commented 4 years ago

Today I got a reply from the community from another issue and followed the steps but still, I am facing the same issue I have commented again and waiting for his response. https://forum.katalon.com/t/unable-to-launch-main-activity-error/9066/25

jekram commented 4 years ago

Block this task for a month and come back later.

I still do not understand why it worked one time and not now.

arveenkumar55 commented 4 years ago

Basically, the issue was when I try to run testing on our KiboPushMobileApp it is giving me an error. But when i try to run on sample project which generated by katlon studio it is working fine. we are getting issue on our KiboPushMobileApp apk.

jekram commented 4 years ago

Your test is invalid. I asked you before we started the project to validate it.

sojharo commented 3 years ago

I am reassigning this to @saniasiddiqui for now as arveen and baqar has resigned.