Solo.call and solo.endcall usage in android testing using robotium - robotium

I am quite new android testing. Iam using robotium for testing application. I want to know the usage of the CALL and ENDCALL fields .I am not able to end call using the field.
Please suggest me on this..

Those two have been removed from Robotium 2.0 just because of all the problems that users have experienced with them. Due to security reasons one is not allowed to interact with other applications if they do not have the same certificate singing and are not defined in the AndroidManifest.xml of the test project. What those two try to do is to start and control the contacts application. Due to security reasons that introduces problems. My advice would be to update to Robotium 2.0 and stop trying to use them.
/Renas

Related

How to test frontend app step by step by scenario?

We have a web project and the main business flow is going through the chain of processes (conveyor). We don't have any automatic tests for front. So, to test we use our "hands".
What I want to do is to create some auto test that goes through every step and every window that I do always using hands from my browser.
Any suggestions?
P.S. I don't have an access to frontend app. All I have is the running app on my browser :)
In my experience with quizzes/wizards, such using gamification logic and transitioning from screen to screen - I had to properly plan my efforts.
test that goes through every step and every window
Is easy to go way overboard with all possible paths, resulting in combinatorial explosion. As general advice, try limit the really critical scenarios and cover first those. It is quite likely that the conveyor engine, follows same basic (business) rules and just combines them to produce the flows. In other words, bugs are most likely to be found in the codified domain logic, than the mechanics behind them.
Since this is an Angular app and we all know how pesky Selenium is with it. I would go with Protractor as it is built to handle
native events and browser-specific drivers to interact with your application as a user would
and
supports Angular-specific locator strategies

Are there any registration/authentication api's which can be used in React Native

I'm developing an IoS and Android app using react-native, and am now starting to consider all the aspects of user registration, so that typically the person will provide some credentials, and then get sent an email (or possibly sms) enabling them to "verify" their account, after which point they are a registered user.
These registration processes (and subsequent emails/sms's seem to be fairly common , so I'm wondering if there are any API's which anyone has come across which make the job of creating the registration/activation process easier m rather than writing code from scratch ?
Many thanks in anticipation
It depends what you want when you ask for an API. If you're developing backend as well you can use Auth0.
If you want just to implement frontend, I guess you have to write your own code. Consider using something like redux or mobx to store your email and other things after logging in.
Anyways the REST part you have to write on your own. As for views you can google for it, for example there's react-native-login-screen

Jubula Automated Function Testing?

I am new to Jubula.Struggling hard to understand the flow of Jubula.I have installed the standalone application of Jubula(Version:8) in windows.I am finding tutorials to test java RCP application but I need to test a Website.Is it possible to test web sites using Jubula?
There isn't a tutorial for testing a website at the moment. However, once you've understood how tests are created in general, the steps are the same for testing a web application.
The one main difference is that the object mapping is performed via click instead of via key combination. Relevant documentation is here and in the reset of the user manual and in the reference manual:
http://help.eclipse.org/mars/topic/org.eclipse.jubula.client.ua.help/content/html/userManual/toolkit/webAUT/webaut.html?cp=45_3_5
I'm assuming that you've found the "cheat sheets", which take you through the steps and workflows of working with Jubula? If not, they are under "Help/Cheat Sheets" in the application.
The Jubula forum is also a good place to ask questions:
http://www.eclipse.org/forums/index.php?t=thread&frm_id=208

How to use biometric fingerprint reader to develop a fingerprint database

I have purchased a simple biometric fingerprint reader that is usually used for laptop security through a USB connection. It is just called biomentric finger print reader, not branded! It came with the software for creating security for laptop, and it works great.
However, I had a different idea for it: I am intending to create a database of users fingerprints so that I can identify which user swiped their fingers on it, ie, to use it for different users' authentication using fingerprints. I don't seem to be making any head or tail on how to go about that.
I would like to find out if there is other kind of software to install that will make this gadget print the fingerprint or a code to say a spreadsheet or database whenever I swipe a finger on it? I was thinking it would be a simple as when I use a bar code scanner to print codes of various items to a spreadsheet.
Could someone please advise how to go about this. I believe it should do that but I just dont know where to start.
thanks.
As an alternative wrapper to WinBioNET as mentioned by Robinicks there is WinBiometric.Net.
Disclaimer: I do not own this project.
It has a really nice test project for playing around with the different API functions available in the Windows Wiometric Framework. This test project was monumental in helping me understand the Windows Biometric Framework.
The WinBiometric.Net wrapper has a claim of 100% API coverage, a NuGet package and has the MIT license.
I found it to generally have a very high quality of code as well.
As for storing the fingerprints in a database you could use the WinBioCaptureSample API function to capture a sample, which can then be stored in a database.
The sample can be converted into an image as well, there is a nice example of this in the wrapper.
I know this is an old question but I figured I'd post anyway.
You can use the WBF (Windows biometric Framework) API that is free, but you must first verify if your biometric device is WBF compatible. The documentation and samples for WBF are for C++, but there is a wrapper sample in C# that you can download here: Cirrostrata biometrics Regarding how to convert the scanned data into an image, you can check this post: How to convert winbio data into image. Hope this helps to start.
You can use the WinBioNET .NET wrapper for Windows Biometric Framework (WBF). It has a demo winforms app in the solution. Just open it up, select the demo app as the "startup project" and run. If you have any devices connected it will enumerate it at startup.

Robotium for automation

I am following Robotium guidelines for automating third party application.when i create android test application ,it is throwing null pointer exception.Even if I neglect it and try to run application ,it is throwing no application with that name.
Even I have tried a lot over this, but in vain.
One of my friend suggested me to double click the finish button twice as fast as I can and I have done it. By following this I have solved.. You too try once and check it out.
Not sure if this will help you, but testing third party applications I've used testdroid-robotium. This creates a simple 'template' for the robotium quickly using your touch input from the device. From there you can edit the testcase to add the extras you need.
While following the tutorial for testdroid I haven't run into any null pointer exceptions. Maybe you can try this out and see if it helps?
edit- and then I see this was asked 1 year ago :)