What is dynamic descriptive programming?

The second way to write descriptive programming is by using the Description object. This way is also known as Programmatic Description. Description Object also do the same thing as static way do but there are some differences. Description Object stores the properties and values of a particular object in an instance of that object. So it become easy to use it in the statement. Description Object are used with ChildObjects (very useful method) of QTP. It’s more useful if you are using multiple properties to identify object. As you will use only instance name in your statement, your code looks more organized. It’s very … Click here to continue…..

Differences between Delegates and Interfaces

Delegate Interface We can define multiple methods by using delegate. Interface defines only a single method. No need to implement multiple times. Need to implement the interface multiple times. Fastest to call at runtime when we know all the parameter types. Well designed interfaces are allowed for generic uses which are very faster than delegate’s

. Recommended for multi use cases as it is more flexible than interface. Very useful and faster for single use cases. Allows the use of anonymous delegates Anonymous compile-time support is not possible in interfaces. Multicast is supported. Interface doesn’t support multicast. Faster to execute. … Click here to continue…..

Difference between an abstract class and an interface?

An Abstract class is a class with some common/certain implementations and defines abstraction for other services which are implemented in its concrete sub classes, whereas interface only have method declaration with zero implementations. The difference between Abstract class and An Interface is that if u call Abstract class then u have to call all method of that particular Abstract class but if u call an Interface then it is not necessary that u call all method of that particular interface. An abstract class is a special kind of class that cannot be instantiated. So the question is why we need … Click here to continue…..