I was working on a ionic mobile hybrid app and looking for automation testing tools. I found Codedui a solution for testing windows/web application and I was wondering if this can be used for testing ionic apps as well. I will appreciate if someone who has done similar task can share his views. Many thanks.
Never hear about Codedui before, but I suggest to use Protractor to test automatically your App. Protractor runs tests against your application running in a real browser, interacting with it as a user would.
Related
Can we use normal selenium web automation to test a mobile web app by changing window size to mobile resolution? or do we need to use an emulator and appium?
Currently, I'm working in a company. I didn't use appium for mobile web app automation. What I did is an automated web app with selenium ,Robot Framework as a normal web application and changed the window size to mobile resolution. Is it right?
sample code for window size set for mobile size is shown below for more understanding...!
open browser https://sample.com chrome
set window size 440 717
Thanks for your help guys!!
I would suggest you to use Appium if it's a mobile-based web application as this is the preferred way of end-to-end testing.
For mobile automation, you don't need to download Android Studio as it is an heavy-weight tool. You can make use of avdmanager.
To create emulators, you can refer https://gist.github.com/mrk-han/66ac1a724456cadf1c93f4218c6060ae
Hi guys, I found a clarification for this according to my question.I'm trying to automate a WebApp for mobile and I'm testing in a mobile chrome browser. So it is easy to find elements with appium.We will not need appium inspector to capture elements as we are automating a mobile web application.Not a Native Android app.
https://appiumpro.com/editions/57-how-to-determine-element-locators-for-mobile-web-and-hybrid-apps
Refer above link and inspect the elements. It's totally the same as we are doing normal web automation. The only difference is using the emulator and appium server to run the test.
It was a kind of major issue for me as a beginner.I think now it's been solved.
We have 2 types of users.
One that lead and support teams which has a web app. The other users are the people on those teams which has a web app along with a mobile app (android & ios)
I would like to use the Cypress automation framework for the web apps and appium for the mobile apps. However this would need 2 different frameworks for running the automation. If I choose to use webdriver and appium I will only need 1 framework to run both.
Is it better in the short or long term to go with only 1 framework (webdriver / appium)? If yes, why?
Would this lead to challenges for automators to switch teams if they wish to?
Or is it not very significant and I can go with 2 frameworks so I can use Cypress?
Somethings I would consider:
Is anything shared between the test setups for web & mobile?
If you are able to share (test) code it's a plus to use the same framework.
Are your Appium tests also in Javascript?
If all tests are in Javascript, there will be less friction to move between them, but if they are different, it's a plus to use the same framework/language
Cypress has zero support for native mobile apps
However, in my opinion, it is the best option for testing web sites/apps
How skilled is your team in Appium? Javascript?
If you have an Appium knowledgeable team, go with that. If your team is even moderately skilled with Javascript, cypress definitely deserves a trial.
My recommendation would be to try doing both for one or two features. See how it feels, see what overlap there is and find out if context switching is problematic or not.
I'm currently working for a client whose request is to make a test automation for a desktop application. And they recommended using cypress.io, which i think was built mainly for web automation. I tried looking to their docs but it seems I can't find anything that enables it to run desktop app automation. Sorry for the noob question, I'm still a newbie here.
Thanks in advance for the answers!
cypress.io is not capable of automating desktop apps.
(Source: Did a brief POC couple of weeks back with Cypress.io)
Cypress is more about a web application automation framework. This means if the application can run in a browser, Cypress can automate it.
Even their GitHub project header says the same :)
https://github.com/cypress-io/cypress
I have two questions about testing a browser
The browser I am trying to test is somewhat hybrid. It sometimes runs in chromium way and sometimes runs in internet explorer way
It's hard to check whether all the websites work well in a browser. How would you check that? If there is a good open-source automation tool to do this, would you guys recommend me?
If there is anyone testing a browser, how do you guys automate the test? (if there is a good scenario form, i'd be grateful if you guys share and sharing a automation tool would be nice too)
I'd appreciate it if I get a reply :-)
https://crossbrowsertesting.com/
http://www.multibrowserviewer.com/
you can use selenium ide tool for automation testing.
There are a few good technologies in this realm:
For testing and validation of web development / websites in general you can use Selenium Grid which is meant to test websites in various browses
The URL for Selenium Grid: https://code.google.com/p/selenium/wiki/Grid2
To automate use cases in a browser you can use the free popular Selenium tool which can be used in various languages (http://www.seleniumhq.org/download/).
Other tools:
Mechanize (http://wwwsearch.sourceforge.net/mechanize/)
Watir (http://watir.com/)
I have been trying to locate WATIR/Webdriver gem for automating mobile applications. So far I am successful in finding the resources for Mobile Website testing but could not find Mobile Application automation testing like seeTest (experitest.com) provides. Like for example, i have an iPhone and it has tic-tac-toe app installed on it. I want to automate it through Watir/Webdriver or any other gem available to launch app from iphone and start playing it.
Can we accomplish such use case in watir?
Watir (and Selenium) can automate browsers only (including browsers on mobile devices). If you need to automate native mobile applications, take a look at appium, calabash, Frank or robotium.
As of now, still doesn't look like there's support for watir in Appium. It's good for selenium though, just the drawbacks are that you can't use the page object gem.