Protractor with C# for Angular application testing | Code Example

Protractor is an end-to-end test framework for Angular and AngularJS applications. Protractor runs tests against your application running in a real browser, interacting with it as a user would. Protractor is built on top of WebDriverJS, which uses native events and browser-specific drivers to interact with your application as a user would. Protractor supports Angular-specific

QA Test Questions

Do you have hands-on QA Automation experience? How much experience do you have?  As of over six years experience working as Test Engineer in different domains and environment, i found myself very expert of QA Automation Framework development and implementing in CI/CD process. In some of my project i also developed automation framework from scratch.

Reverse a string in Java

Using built in reverse() method of the StringBuilder class: // Java program to ReverseString using StringBuilder import java.lang.*; import java.io.*; import java.util.*; // Class of ReverseString class ReverseString { public static void main(String[] args) { String input = “StringToReverse”; StringBuilder input1 = new StringBuilder(); // append a string into StringBuilder input1 input1.append(input); // reverse StringBuilder

Enums, Pointers, Aliasing, Garbage Collection, JVM in Java

Enums A special DataType that allows for a variable to be one of a set of pre-defined constants. In Java, you use the enum type (short for enumeration), a special datatype introduced in Java 5 to represent such lists of predefined constants. package springframework.guru.enumexample; enum Days{ SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY; } public void simpleEnumExample(){

Stack and Heap memory

Differences between Stack and Heap Stack is used for static memory allocation and Heap for dynamic memory allocation, both stored in the computer’s RAM . Variables allocated on the heap have their memory allocated at run time and accessing this memory is a bit slower, but the heap size is only limited by the size

Difference between abstract class and interface

Interface is a collection of abstract methods. Abstract class is a collection of abstract and regular methods. About Abstract Class : Abstract class is a class that contain complete and abstract (incomplete) both type of member/method and it can not be instantiated, Abstract classes are one of the essential behaviors provided by dotnet. Interface contains only definition / signature of

ArrayList in Java

Arraylist class implements List interface. You can say compare Arraylist as dynamic Array. ArrayList is a resizable-array implementation of the List interface. It implements all optional list operations, and permits all elements, including null. Code Example: import java.util.*; public class ArrayListExample { public static void main(String args[]) { ArrayList obj = new ArrayList(); //Add element at the the array

HashMap in Java

HashMap provides the basic implementation of Map interface of Java. HashMap stores the data in (Key, Value) pairs.  To access a value one must know its key. HashMap doesn’t allow duplicate keys but allows duplicate values. HashMap allows null key also but only once and multiple null values. it is a part of Java’s collection since

Selenium Exceptions

The very frequent Selenium Exceptions which we will see while automating the applications are as below, NoSuchElementException NoSuchFrameException NoSuchWindowException ElementNotVisibleException StaleElementReferenceException InvalidElementStateException UnreachableBrowserException SessionNotFoundException NoSuchElementException: The Element you are trying to find does not exist. NoSuchFrameException: The Iframe on application you are trying to find does not exist. NoSuchWindowException: The Window is not present which you are trying

What are things that an ETL tester must know?

ETL systems are used by businesses to integrate data from multiple sources. These software systems are key components in ensuring that your company is processing its data efficiently, allowing your business to run smooth and without interruption. ETL systems are part of a company’s ‘data warehouse’ and to understand ETL you’ll need to understand the