Posts

Mobile App Testing

TYPES OF MOBILE APP TESTING To address all the above technical aspects, the following types of testing are performed on Mobile applications. Usability testing – To make sure that the mobile app is easy to use and provides a satisfactory user experience to the customers. Compatibility testing  – Testing of the application in different mobiles devices, browsers, screen sizes and OS versions according to the requirements. Interface testing – Testing of menu options, buttons, bookmarks, history, settings, and navigation flow of the application. Services testing  – Testing the services of the application online and offline. Low-level resource testing -  Testing of memory usage, auto-deletion of temporary files, local database growing issues known as low-level resource testing. Performance testing – Testing the performance of the application by changing the connection from 2G, 3G to WIFI, sharing the documents, battery consumption, etc. Operational t...

How to setup Jenkins for a Maven project.

Image
What is Jenkins? Jenkins is an open source automation tool written in Java with plugins built for Continuous Integration purpose. Jenkins is used to building and testing your software projects continuously making it easier for developers to integrate changes to the project, and making it easier for users to obtain a fresh build. It also allows you to continuously deliver your software by integrating with a large number of testing and deployment technologies. With Jenkins, organizations can accelerate the software development process through automation. Jenkins integrates development life-cycle processes of all kinds, including build, document, test, package, stage, deploy, static analysis and much more. Jenkins achieves Continuous Integration with the help of plugins. Plugins allow the integration of Various DevOps stages. If you want to integrate a particular tool, you need to install the plugins for that tool. For example it, Maven 2 project, Amazon EC...

JavaMail API – Sending email via Gmail SMTP

Image
                      How to send a mail through SMTP server using java programming, it's bulk process to send test cases(Screenshots, description. text ) to many emails by manually so using JavaMail API it can be possible to send many users at a time. This article will show you how to send a mail through SMTP server using java programming and follow below steps. 1. Create Maven Project 2. For sending the email using JavaMail API, you need to load the two jar files: mail.jar activation.jar Download these zip file 3. Project structure MonitoringMail.java package com.nbos.utility; import java.util.Properties; import javax.mail.Authenticator; import javax.mail.BodyPart; import javax.mail.Message; import javax.mail.MessagingException; import javax.mail.PasswordAuthentication; import javax.mail.Session; import javax.mail.Transport; import javax.mail.internet.AddressException; import javax.mail.internet.In...

Appium - Getting android app Package name and appActivity

Image
While launching an application using Appium, it is required to have the appPackage and appActivity to set the Desired Capabilities. Earlier it used to be a long and tedious task to get these details from the apk file but now there are multiple easy ways to find this information. Example: capabilities.setCapability("appPackage", "com.whatsapp"); capabilities.setCapability("appActivity", "com.whatsapp.Main"); 1. Using APK info android app 2. Using command prompt 3. Using logcat In Command Prompt 4. Using AndroidManifest.xml Appium itself The best and the easiest way to find the appPackage and appActvity is from the Appium itself. Before that you need to start your Appium client. 1) Start the Appium client. The Below mentioned window will display, Once you started the Appium client. 2) Click on the android icon marked above to open the configuration settings. 3) Check the Application Path check box. ...