Hi Support team,
Currently i am working on creating some global function for application (Which include code to handle some functionality related to application) steps followed
1.Created a class file in VSTS
2.inherited that class from BaseWebAiiTest (ex "class Samplecode : BaseWebAiiTest") as i need to use methods from this class
3.Created script step in the test case where i want to use this method.
4.Created object of Samplecode class and access the methods using the object.
when i ran the script then i got the error as below
System.NullReferenceException: Object reference not set to an instance of an object.
Note; when i put same code directly into the script step of the test case (i.e. without using a common function) the script runs successfully.
this is making me to think that cant we access common functions using the object.
Any help on this will be highly appreciated.