LET'S DEVELOP TOGETHER YOUR PRODUCT, TEST IT AND OPTIMIZE IT FOR SUCCESS

Configure SauceLab automated mobile test with Appium

[caps] platformName = “Android” deviceName = “Android Emulator” platformVersion = “4.4” appium-version = “1.3.4” device-orientation = “portrait” app = “sauce-storage:Your.apk” record-video = “true” max-duration = “3000” command-timeout = “600” idle-timeout = “1000” language = “en” debug = “true” wait = “60” [appium_lib] sauce_username = “yourusernameonSaucelabs” sauce_access_key = “youracckey” server_url = “http://lusername:deviceeria@ondemand.saucelabs.com:80/wd/hub” debug = “true” wait …

Callback lifecycle of Beans in Spring Framework Part2 – LAzy annotation

@Service @Lazy //changes the moment when the bean instance is created ///will not display the actions in postconstruct and predestroy, the context is created and closed //PostConstruct and PreDistroy can also be called directly but this is not compliant to Spring standards //more ofther these methods are marked as private so that they should not …

Callback lifecycle of Beans in Spring Framework Part1

The java developer can use 2 standard Java annotations to interwine in a bean lifecycle inside a Spring context These annotations are used by ejb, jpa, spring, jsf contexts . @Postconstruct – used for any initialisation In not advisable to give values in a Bean constructor There is a chance that the Postconstructor should not …

@Qualifier annotation in Spring part 4

@Qualifier @Target(ElementType.FIELD,ElementType.CONSTRUCTOR,ElementType.METHOD,ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) /*Another way to use @Qualifier is to declare an annotation Target must declare type, method, constructor and field to be succesfuly recognized as annotation The java developer needs to declare retention policy runtime to be detected with by the Java Reflection mecanism this annotation can be used to replace @qualifier(bean name) */ …

@Qualifier annotation in Spring part 3

Let’s create a package service and define an interface called IMyService This Java interface will contain all the methods that a service can be able to offer In a memory zone such as IMyService (interface) we can add memory zones of type MyServiceA through polymorphism To identify this class the java coder will implement the …

@Qualifier annotation in Spring part 2

@Qualifier annotation in Spring To exemplify the use of @Qualifier annotation we should define an abstractisation of a bean Often the bean is abstracted and we should represent the bean through abstractisation not through a direct implementation Using a concret type of variable is not advisible to be used to indejected in an instance dependency …

First Steps to set up a test automation framework part 1 Maven Intelij Cucumber and Java

How to set up a test automation framework with Java Cucumber and Maven in InteliJ IDE Clone the following projects that will be required: Command -> git -c http.sslVerify=false clone https://Repository Select the JDK version the IDE will run under Start InteliJ Open the Project Structure dialog (e.g. Ctrl+Shift+Alt+S). Under Platform Settings, select SDKs and …