I'm looking into automation testing for an AutoCAD-like program for desktops. I went through a tutorial and got a script working for the calculator app, but I'm unable to find & locate elements in other applications that aren't native to Windows 10. Is this possible & it's potentially an issue with how I'm locating elements or will it just not work at all? If so, is there any similar solution for desktop apps that use selenium?
Related
I'm writing automation tests for Electron application using Java->Selenide (Selenium)->chromedriver 83.
I can successfully get access to visual elements of the app using xpath locators. But currently I need to check that window of my app is minimized after pressing "Minimize" UI button.
I can't find any easy ways to check that window is minimized from chromedriver.
May I use Electron API to get property win.isVisible or something like that? Or maybe any other ways to check that window of the Electron app is minimized?
Thanks
I want to learn how to test mobile games using Appium, so i found it could be done using Image Recognition.
I found this https://bitbar.com/appium-tip-27-using-appium-for-mobile-game-testing/
I'm truly stuck in it
couldn't understand what i should do or add in Eclipse to test mobile games using Appium.
If anyone know how to test mobile game using Appium rather than Image Recognition please tell me.
Please, if any one have any tutorial or a clear steps of mobile game testing automation tell me.
Appium is not a good option (unless you are ok with image recognition approach) to test mobile games. Appium is using native test frameworks like UIAutomator, Espresso (Android) and XCUITest (iOS), that are basically implemented to test apps build with native SDK
Mobile games are mostly build with engines like Unreal, Unity, Corona ,etc. that have no relation to native SDK and thus cannot be tested with native test frameworks without additional tweaks.
Basically following issues to be addressed and add support for:
find elements
check action occurring in game
check UI rendered
properly
There are some projects where engineers are trying to use Appium with some additional ports, e.g. Unity-Appium, but there is definitely nothing like Appium or Selenium that you can take and use like silver bullet.
Check the engine your game is based on and search for possible test frameworks.
Can anyone suggest to startup way with Appium mobile testing. Already have knowledge of Automation testing using Selenium.
start with android automation as you automate basically any app. Use your phone if you have android and if not install genny motion as virtual machine
try this
https://www.guru99.com/introduction-to-appium.html
You can get started with Android automation which is easy to understand and resources & tutorials are easily available.
Refer : http://appium.io/slate/en/tutorial/android.html?java#
Also , if you are starting with Android first , get familiar with few basic Android commands - like ADB , AAPT .
Learn how to obtain package name of any application. UDID of Android device etc.
try this to get package name /udid of android phone - https://www.youtube.com/channel/UCEUDm1ZxsX6teks8wM71bmQ/videos
&
https://qahumor.blogspot.in/2015/06/
Hope these are helpful to get start with basic things.
For test Android application we can use the command line tool Monkey. A long time ago, we used Hopper to check the app stability on Windows Mobile.
And now for Universal Windows Platform (UWP) apps? Is there any tool to generate ramdom events to test application? I'm not talking about achieve that by using Coded UI Test Builder.
I am new in Automating the apps for testing Android and i like to advance to this level... I have researched for Appium and Calabash... but knowing the difference pretty complicated.. There are my questions:
1: For Calabash, do we need the source code, i mean can i have APK and give test cases and so on? or do I NEED the source code even if im using the elements from app?
2: I heard i can use the Appium with cucumber, and same question do i need source code for that?
I have researched about it and all i get is for Apple apps... but nothing much for android...
You don't need source code. All you need is apk file, packageName and ActivityName to launch the app.
In Appium framework, all you need is app file (for android it will be simply .apk file).
Source code will be never needed, all elements from UI that you would like to interact with, can be simply get from Appium Inspector.
For both calabash and Appium you don't need to source code. you can automate application using apk file.
Yes you can use Appium with cucumber.
To find object locators of application use calabash console and Android UI Viewer, Appium GUI.