Tuesday, November 20, 2018

How to create your own XPath

There are two types of XPaths: Absolute and Relative

Absolute XPath: starts with single "/" i.e. start with the root node.

Relative XPath: starts with double "//".

Tuesday, November 13, 2018

Uploading an image using AutoIT in selenium c# driver

//Creating an object
AutoItX3Lib.AutoItX3 autoIt = new AutoItX3();

//Mention the name of the active/opened window
            autoIt.WinActivate("Open");
//Path of the image /file to upload
            autoIt.Send("C:\\Users\\Dell\\Documents\\image1.jpg\\");  //Use double back slash
            Thread.Sleep(600);
            autoIt.Send("{Enter}");

Saturday, September 22, 2018

Mention what are the risk to be avoided while testing?


Some of the risks to be avoided are:
Missing deadlines
Unclear with the project requirements
Lossing customer’s trust
Exceeding the project budget
Maximum number of test cases failed

Mention what is the difference between Beta and Pilot testing?


Beta Testing: It is the testing of the product/system in user environment. All the end users will use the product and xcheck if it is working as per the given requirements. It is done after pilot testing is successful and the defects reported in pilot testing were fixed.

Pilot Testing: In this a group of end users will try the system prior to the deployment and will share their feedback on the basis of its performance. It is done in development environment.