Numpy Interview questions? How to create a numpy array from existing array? Using asarray() we can create ndarray from existing data. aList=[2,3,4,5] nArray=np.asarray(aList) print(type(nArray)) Output: class ‘numpy.ndarray’ How to create numpy array in specific range? Using arange(start,stop,step) we can create ndarray from existing data. nArray=np.arange(0,10,5) print(nArray) Output: [0 5] How to create list of equally… Read More »
Cucumber What is BDD? What are advantages of it? BDD stand for Behaviour-Driven Development. It is basically set of practices A common misunderstanding BDD is that they it is testing technique but it is not. It is about software deveolpment process in which Automation tests are by product. The BDD flavour development uses natural language(Gherkin)… Read More »
TestNG and FrameWork What is a framework?? A framework is basically set of rules or Guidelines set to perform task efficiently and effectively. There are no thumb rule that the framework should be in particluar way. It will depend on the task/application to which we are going to design a framework. What are the advantages… Read More »
TestNG and FrameWork What is TestNG and its features? TestNG(Next Generation) is a testing framework inspired from JUnit and NUnit but introducing some new functionalities that make it more powerful and easier to use. TestNG is designed to cover all categories of tests: unit, functional, end-to-end, integration, etc… Features: Flexible test configuration. Support for data-driven… Read More »
Selenium interview questions basics-1 What is automation testing? Automation testing is the process of enabling a tool/machine to perform manual tasks without manual intervention. The expected results of a test are fed into the tool to be compared with the actual output of the test. What are the components of Selenium suite ? The Selenium… Read More »
To identify locators we have certain plugins/add ons. Firebug is one of such for firefox. However it is not supporting latest firefox anymore. ChroPath is for chrome and many more. I will suggest not to depend on any add-ons instead better approach is to write our own xpath. To go ahead with this, view page… Read More »
Program1. Generating random integer.