3

In the test you use a property driver which has not been instantiated, because you create the driver into local a variable called Driver. See the case-difference? The class property driver has a default value of NULL and that is why you get a nullpointer exception when you try to use it. You cannot use objects that are NULL. This is a foundational Java ...


1

I suspect your problem lies with the errors: java.lang.SecurityException: You need the android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS permission to use the PackageManager.INSTALL_GRANT_RUNTIME_PERMISSIONS This is saying that the phone does not have permission to run your software. Because your code is setting the capability "noReset" to true, you ...


1

I'm going to be perfectly honest and say in my 30 years of manual and automated testing I find automating manual test cases for mobile devices a waste of time. The time and $$ involved in creating and maintaining the test suites, considering their relatively short shelf life, is better spent buying a few of the most popular devices and writing comprehensive ...


1

You can use the below mentioned approach that we usually follow in our software testing companies for mobile app testing services. In page object model, each fragment will be considered as a separate page. In that page, if you want to use 'if else' we can create a single method to click on all the options present in the list view inside the fragment. ...


1

Suggestion : Instead of method which will return different screens - If you could verify after selecting this; what you should see & assert if you are able to see, will solve your problem.


1

If I was the network engineer of your work, one "easy way" to create this situation is to block requests from your tests - causing timeouts. I could even do it randomly, just to make your tests even more inconsistent. In a less extreme case, you have to consider that you are in a different network and maybe your tests are fragile for it. But we cannot ...


1

Do not install nodejs through apt-get, which will need sudo rights and appium will not work if node is installed as sudo user. If you have already installed remove it using sudo apt-get remove nodejs sudo apt-get remove npm Download latest nodejs linux binaries Extract into a folder that doesn't need sudo rights to access, for example your home folder. ...


1

Option #1: Microsoft Visual Studio App Center Test is a test automation service for native and hybrid mobile apps, also known as Test Cloud. Tests written using supported frameworks can be run with little modification on hundreds of unique device model and operating system configurations hosted in a Microsoft data center. Initiate test runs using the App ...


Only top voted, non community-wiki answers of a minimum length are eligible