Posts

UAT Admin Center - CJ

RED Apple is a fruit & Orange is a color. But Mango is a feeling !! Email: Submit 1 2

Demo Click Jack Maropost.Com

Apple is a fruit & Orange is a color. But Mango is a feeling !! OTHER CONTENT Service Cloud Start Service Cloud End id-staging.maropost.com 0. Admin Center - staging.maropost.com/settings/20002/accounts-and-billing 1. Forget PWD - https://id-staging.maropost.com/#/forgot-password 2. Commerce Center - staging.maropost.com/commerce/20002/products 3. Service Center - staging.maropost.com/service/20002/contacts/8 4. Account Admin Center - accounts-staging.maropost.com 4. Account Admin Center - accounts-sandbox.maropost.com ID-Staging Dashboard - id-staging.maropost.com/#/security Staging MMC Dashboard - staging.maropost.com/accounts/20002/dashboard LEGACY PAGE OF STAGING MAIN CONTENT ENDS HERE FOR STAGING Production PROD - id.maropost.com/#/login ID Dashboard - id.maropost.com/#/dashboard MMC Dashboard - app.maropost.com/accounts/4/dashboard Account Dashboard - accounts.maropost.com GALAXY MAROPOST COMP...

Passing Data From the TestNG.xml file to Tests

Image
  As we all know, that we might not always require to run the Test Automation Suite only on one specific instance, we can say it as QA Environment. As and when required we might need to put up execution on Dev Staging, UAT, or even PROD environment as well. But, here the problem arises as you might need to check in the new set of credentials for the other environment into the Credential file of your framework. This is one of the many use cases for the topic of the Blog, which is Passing Data From the TestNG.xml file to Tests . So here what we need to do. We can create multiple sets of XML files based on the credentials of the different environments and run the specified file as the request of execution easily.   Here is the code snippet of one such example depicting how to place and organize your code. 1. Creating the XML file with the required set-1 of credentials.                          Here, d...

Cypress: Storing Values Into A Variable Synchronously

Image
  Hello People, As I have moved towards a new venture in my career, with which I have got opportunity to work with a great and an amazing tool named Cypress.IO . With my previous experience all being into Selenium and JAVA, it was challenging to learn and quickly get into the shoe with Cypress. In my journey of leaning, I got many difficulties as a beginner in Cypress, which I would like to share with all of you. So that it is easier for the people to quickly look and learn from it. So as we all know JavaScript is asynchronous due to its single-threaded programming feature. Thus it becomes very cumbersome to store the variable value taken out from any calculation or on-screen UI element to be used further for any verification purpose. It would always give a undefined  value. Like in the below given example: Simply I visited a site and fetched an attribute using class, invoked its text and saved it into a variable named var1. Now as required, I printed the value of the variable...

Verify a Key exists in a Hashmap

Image
  In a very vast or old Automation suites project, where we have more than 10,000 lines of code and about 1000's test cases. For a new joiner into such projects, ould really find it difficult to understand the existing methods and whether to write new methods for new things or to accommodate into the existing ones only.  Thus, in such cumbersome situations where one feels that a functional method needs to be revamped by the addition of a parameter or a special conditional statement, but doing so may give a massive amount of errors in the entire suite. So instead of adding an additional parameter one way I thought of great help was the use of HashMaps. So let's first understand the concept and working of a HashMap in Java. What is HashMap? Hash table based implementation of the  Map  interface. This implementation provides all of the optional map operations and permits  null  values and the  null  key. (The  HashMap  class is roughly equi...

Automation Interview Questions - 1

Image
Hello Folks, Hope you all are doing good and safe under the current situation. Hereby I'm presenting a few of the most commonly asked questions for the  Software Test Automation Interview - Java. This is going to be a long thread and would surely put up many such topics related to Interviews for your convenience. So, without wasting a second let us jump to the very first and most asked Question:      •  Swapping 2 numbers without using third variable int x = 10; int y = 20; System.out.println("Before Swap : X is "+x +" and Y is "+ y); x = x + y; y = x - y; x = x - y; System.out.println("After Swap : X is "+x +" and Y is "+ y); Output: Before Swap : X is 10 and Y is 20 After Swap : X is 20 and Y is 10 The logic used for 2 numbers say, 10 & 20 is X = X + Y = 10 + 20  = 30 Y = X - Y = 30 - 20 = 10 X = X -Y = 30 - 10 = 20 • Swapping 2 numbers using a va...