Hot answers tagged

9

My personal experience is with testing iOS devices so I can only refer to those. Your question is broken up into three separate parts so I will answer each of those in turn. I'm thinking along the lines of a Firebug for the iPhone/iPad/Android/BB that can truly give more insight on the markup/scripts. This is supported in iOS6 by enabling the "...


9

There are a number of tools available for testing mobile apps: a) Robotium b) Uiautomator c) Espresso d) Appium e) Calabash But my experience -I can suggest you Appium is the best tool for both Android & iOS mobile testing. I'm working on Appium from last 6 months in my organization it is pretty good. The main advantages of using Appium is- Cross-...


9

There are number of tools available in the market like:- a) Robotium b) Uiautomator c) Espresso d) Appium e) Calabash But my experience -I can suggest you Appium is the best tool for both Android & iOS mobile testing. I'm working on appium from last 6 months in my organization it is pretty good. The main advantages of using Appium is- ...


7

Yes, you could do it. Here is sample approach to accomplish it. 1. First, get the application package name To get the application package name, use: adb shell 'pm list package -f' |grep calculator note the APK file and the package name. For example: package:/system/app/SecCalculator2/SecCalculator2.apk=com.sec.android.app.popupcalculator the apk file ...


7

I consider that Selenium WebDriver has more value in Job Market as compared to Appium. Simply because requirements for web-automation are higher as compared to mobile-automation. This results in more jobs for WebDriver skills as compared to Appium. So you should have strong webdriver scripting, framework designing skills. Appium will be good as a side-kick. ...


6

Oh Boy! you might start another one of the Java vs Python vs Other language war. These are kind of question which are always answered with preference for a specific language in mind. For me- I would prefer Python over Java, because of one reason : Its simplicity. Our test team comprises of people who have little programming experience. However, most of ...


6

$driver.find_element(:xpath,element2) Above, you are trying to find an element. .displayed? Now you are trying to check the state in a element. The exception is thrown by the first computation; the displayed? is never executed. Given that, in order to avoid code duplication and different behaviors in different parts of the suite, I'd recommend to you ...


5

Top tools for testing mobile apps: Appium: Appium is an open-source tool for automating native, mobile web, and hybrid applications on iOS and Android platforms. Appium is "cross-platform": it allows you to write tests against multiple platforms (iOS, Android), using the same API. This enables code reuse between iOS and Android testsuites. Serenity: ...


5

I suggest you to use adb (Android Debug Bridge) tool (part of Android SDK). So, install application under test on target Android device or emulator. And you should run application to get current activity and package name. So, after running app execute the following commands from command line (android-sdk/platform-tools/adb): adb shell dumpsys window windows ...


5

As a part of testing you should start looking into the NFRs testing like Performance, Load, Security, UX etc. testing. Study about the FRUPS+ . Performance testing too is equally important as other functional testing, as I have seen many projects to get failed/escalated to higher levels which failed to deliver good performance and Performance testing indeed ...


5

My recommendation would be to become more competent in programming, preferably in Python (excellent language for small admin tasks and generic data fiddling), and learn Linux administration with good understanding of networking. There is no limit to scaling up your skills in these areas, and neither technology will ever go away - not in your lifetime, so it ...


5

When I am interviewing candidates, one of the main things I look for is their enthusiasm and capacity to learn. I am a firm believer in the versatility of testers being a cornerstone to their effectiveness. With that in mind, if I am looking for someone to write Selenium tests in Java and they have 5 years experience, but they don't have a piece of paper ...


5

No, you can not do that, please refer to this link: You can not test iOS app on Windows LIMITATIONS If you are running Appium on Windows, you can use the Appium.exe client, which will allow you to quickly launch an Appium server and use the Inspector. You will not be able to test iOS apps on a locally hosted server, because Appium relies on OS X-only ...


4

While working on several projects I've described the following procedure to install Appium: Download Android SDK https://developer.android.com/sdk/index.html Extract Android SDK to /usr/local/adt/ unzip -qo adt-bundle-*.zip -d /usr/local/adt Set ANDROID_HOME and JAVA_HOME environment variables export JAVA_HOME=$(/usr/libexec/java_home) export ANDROID_HOME=/...


4

You'll need the Android SDK at least for adb, otherwise you will not be able to communicate with a device. You are confusing the IDE either Eclipse or Android Studio and the enabling environment. Just install the SDK, or check if it is not already installed since AFAIK it is now part of Android Studio installations.


4

Actually it is possible to use Sikuli for mobile too. With Appium. Here is example of how to do it. in this project is described the process how to setup and how to use this framework. Examples are attached.


4

The methods .isDisplayed() and .isEnabled() have nothing in common. Method .isDisplayed() : An element is considered displayed when it is perceptually visible to the human eye. https://www.w3.org/TR/webdriver/#element-displayedness Method .isEnabled() : An element is considered enabled if it's not a form control (button, input, textarea, select or ...


4

Create an appleID: Check here and use free provisioning: Which states that Free provisioning allows developers to deploy their Xamarin.iOS application to their iOS device without being part of any Apple Developer Program See details here.


4

Here are some reference links where you can learn Appium from Basics, required steps in installation, Working with Android native devices & iOS devices. Toolsqa Guru99 Appium_for_Android_and_iOS Softwaretestinghelp


4

If you look at the Appium Dotnet Driver changelog (https://github.com/appium/appium-dotnet-driver/releases) you can see the 4.x version is nearly 2 years in beta. It contains a lot of breaking changes, around 2-3 years of them. What you are getting is normal with major version upgrades. The programming interface (API) changes in major version to handle new ...


3

If you can install 3rd party App on phone or emulator , I recommend you to install "Apk Info" It always help me to get package and activity.


3

Your test runner is the source of all activity driven through the Selenium Grid. If you want more than 1 set of activity (more than 1 thread) to run at a time, then parallelism needs to come from your test runner. TestNG is the best ways to fork threads in my opinion, if all test activity comes from one test runner. (Gradle and Maven Surefire are another ...


3

you can use the HTTP watch for tracking the calls for iPhone Basic version (free) Professional version costs $99.99 Hope this will help..!!


3

Is there any specific reason to pick Java over Python? Not really. It depends on which language you feel more comfortable with. However, most of our developers (apart from the iOS devs, obviously) are intimately familiar with Python and are using it in our production environment. So go with Python. Then Devs can also contribute to e2e Test ...


3

I am currently at the same point. I work for 3 years in QA. I strongly believe that if you have mastered the job you are currently doing in your present position you should consider expanding your knowledge in fields closely related to QA. My opinion is that it does not really matter if you use Selenium and then learn Robot Framework, and then Watir or ...


3

From my point of view it makes sense to dig into the next areas: Performance Testing. There are some good free and open source tools, you can choose one and master it. Don't try to learn the specifics of them all, creating and running a performance test is easier and lesser part of the process, the main point is results analysis, bottlenecks and saturation ...


3

Yes, it’s possible to get code coverage using Appium. We had similar issue few years back on using Appium and Emma (not Jococo, but I believe your problem can be solved using the same technique used by my team). To get the instrumentation detail, in console type "adb shell pm list instrumentation" after you installed the instrumented app on to your device/...


3

If you have done certification then it is fine to tell that you did otherwise be honest with interviewer and tell that What ever you know about selenium web driver is from your own efforts and self learning. Honesty has more impact than any other thing so be honest. If you have impression in mind that certification will impact more in interview then it is ...


3

Showing the ability to go out and learn something on your own is a big plus. However, don't stop there. It is even better to show how you implemented the technology at your current job (either by request or on your own) and how you managed to solve a problem with it. Making a note that you have a passion (hopefully) for the technology and its application is ...


3

Most test runners support categories or grouping. Annotate the test methods with something like @Category(A.class) now you can tell the test runner to run only tests in A.class category when run from Jenkins for a certain build parameter. For JUnit categories look here: http://junit.org/javadoc/latest/org/junit/experimental/categories/Categories.html


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