I have written test cases for desktop application in maven project using robot framework.Now, I need to run the same test cases for mobile (both android and iOS). I really don’t have any idea how to do that, Can anyone please help me or give me suggestion how Can I do that?
Many thanks!
Related
We are experimenting with test automation and have found that cucumber-jvm/espresso fits the best. Our next issue is finding a testing service that supports the framework. To run the tests we are currently running 'gradlew connectedCheck' at the command line but from what I have read, AWS Device Farm doesn't support cucumber-jvm/espresso. Any service should work, so long as it supports cucumber-jvm and has a variety of physical devices to test on.
I am hoping that someone out here has experience with this and knows where we should look.
Thanks
Is it necessary to use Cucumber along with Espresso in that case? You can always implement an entire test suite without the need of Cucumber. All you need is a good reporting tool to report you the passes and failures. There are plenty of solutions out there -- I would recommend using something like Spoon or Composer to run your tests in parallel on multiple devices or emulators or a combination of both. Both of these tools provide decent reporting. As far as a device farm is considered, AWS will support that.
Given an iOS 8 app that downloads some files for the purpose of caching them (i.e for offline use), is there a way that KIF can access the app's underlying file system to verify the files? I anticipate that someone will suggest that the app do this for us and display it in a help/about page for debug builds. I'm certainly open to that, but I want to know if that's the only real way to do it on a NON jailbroken iphone.
Thanks in advance.
I am not totally certain I understand the purpose of your question but let me try to answer anyway: KIF is for UI testing only. Files in a file system, that is backend not UI. What you want is to use unit testing, XCTest for example. KIF does run on top of Apple's XCTest framework but is only for Functional/UI testing. XCTest is very simple and if you know KIF you will be able to write XCTests too.
I am assuming you are testing against simulators.
Then yes it can. Basically, test and your app are in the same process, whatever you can do in app, you can do that in tests.
I am working on a ASP.NET web app and I want to get the code coverage on the same application by the Coded UI automation test suite we currently have. Is it possible to get the code the code coverage with the DLLs that I have or do we necessarily need to use the instrumented build for it? And if instrumented build is a must how do we instrument the build in order to get the code coverage on it? Any pointer will be helpful.
Okay, So I guess there is not much info out there on the internet related to this (Actually there is a lot but non-compiled and un useful info). Here are the few links which we found out after searching :
Using Dynamic code coverage tool :- This tool works fine with newer versions This should help while using this tool.
Using VSInstr :- This guy has put a lot of efforts to document it completely. This works for older versions of .NET applications.
Hope this helps.
I've recently started practising test driven development - thus far I've been working on a library project, so I've organised my FlexUnit tests in a separate FlexBuilder 3 project, linking against my library's swc.
Now I'm working on a web app and wondering how best to organise the tests for this. At the moment I've put them in a src/test package in the project I'm testing, with the test runner application at the same level as the default application. Is this the best way to do it, or should I have a separate test project and link in the source for the application I'm testing? Or something different?
We don't automate tests at the moment, but this is something I would like to get working at some point, so a structure that would support that in the future would be helpful.
I've had a look at http://docs.flexunit.org/index.php?title=Setting_up_a_FlexUnit_4_Project but this (and the other docs here) explains well how to organise your tests, but doesn't advise on where to sit the tests in relation to the project I'm testing.
Thanks for any help,
cheers, Ange
Yup, I think it's a matter of preferences. I like to have another Flex project that launches FlexUnit tests. So whether your project is a Flex project or a Library Project, you keep the same behaviour when launching tests.
Also, our CI build have it's own test launcher, so there was no need to have another one in our project.
Please suggest which tool should I use - QTP, RIATest, Selenium for Flex Application Functional Automation Testing. Please help me compare them with different advantages and disadvantages.
Any help appreciated.
The big picture is:
QTP - sophisticated, expensive, can automate almost anything, not just Flex applications, works on Windows.
RIATest - simple, inexpensive, designed specifically and only for Flex application, works on Windows and Mac.
Sorry, no experience with Selenium.
I don't have direct experience with it, but there is a Selenium Flex API available; since Selenium is free and open source, it's a great option if your budget is tight.
I do have experience with Selenium in general and can highly recommend it; it's relatively easy to learn and works on any platform with a multiplicity of browsers.
Recently I evaluated the above tools for our Orgnisation.
I say go with QTP. The configuring of qtp for flex is easy.
I wrote a hub about it.
http://hubpages.com/hub/Automating-Flex-Applications-with-QTP
Please ask questions if you have any.
Follow me n my hub
QTP does work with Flex apps...just have to have the right versions.
I was using Selenium to test Flex for a while, then Sun came out with a new plugin for Java in the browser with 1.6.14 I think it was, and I wasn't able to get it to work after that, though I admit its been quite a while since I tried.