100% found this document useful (1 vote)
2K views9 pages

UST Global Autom

The document provides information about an interview for an automation testing role at UST Global. It includes sample questions that may be asked during the interview related to SDLC vs STLC, activities in each phase of the STLC, when to automate and not automate testing, types of automation frameworks, and Selenium WebDriver. Additional questions cover tools like HP ALM, Postman, TestNG, and concepts like data-driven frameworks, assertions, HTTP methods, and Java programming.

Uploaded by

AAkancha Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
2K views9 pages

UST Global Autom

The document provides information about an interview for an automation testing role at UST Global. It includes sample questions that may be asked during the interview related to SDLC vs STLC, activities in each phase of the STLC, when to automate and not automate testing, types of automation frameworks, and Selenium WebDriver. Additional questions cover tools like HP ALM, Postman, TestNG, and concepts like data-driven frameworks, assertions, HTTP methods, and Java programming.

Uploaded by

AAkancha Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

UST Global-Automation testing Interview Questions

THEY MAINLY FOCUS ON RESUME, PREVIOUS


WORK_PROJECTS DONE, Everything from your resume so
focus on it.
1. What is the difference between SDLC and STLC?

Software Development Life Cycle (SDLC) is a process of software development, presented as a set of
sequential phases such as:
 Planning
 Analysis and Design
 Implementation (Coding)
 Testing
 Deployment and Maintenance (in some sources called ‘Evolution,’ to emphasize the importance
of Retrospective analysis and Lessons Learned practices which become a background for
another software development cycle)
So it can be said that the Software Testing Life Cycle is a part of the Software Development Life Cycle,
and represents testing activities held within it. A rule of thumb is to have a testing activity for every
development activity, and to start it as early as possible. For instance, test design for each test level
should start in parallel with the corresponding development activity.

2. What activities are performed in each phase of STLC?

Requirements Analysis – The requirements are gathered, examined and tested. Issues in Software Requirements

Specifications (SRS) are detected. Automation feasibility is evaluated.

Test Planning – In this phase, the test objectives are defined, test strategy and test plan created and test effort

estimated. Tools and resources are then determined.

Test Design – This phase implies the designing of test cases, creation of automation test scripts and preparation of

test data.

Test Environment Setup – During this phase, the environment and test data are setup and a smoke test is usually

run to confirm that the environment is ready. This phase is sometimes excluded from STLC, being performed

separately but in some cases, it is not distinguished as a separate phase and is considered part of Test Design.

Test Implementation – This is when the actual testing takes place. Functional and non-functional types of testing are

executed, test cases and test scripts are run, bugs logged and test results reported. Regression testing, bugs

verification and closure also belong to this phase.


Test Closure – During this phase, we prepare test summary report and gather test metrics and report them to

stakeholders. We also archive the project documents and hold Lessons Learned sessions to improve efficiency of

future projects.

3. When will you automate a test?

Automation in preferred in following cases

 Repetitive Tasks
 Smoke and Sanity Tests
 Test with multiple data set
 Regression test cases

Usually, the decision is based on the ROI (Return on Investment)

4. When will you not automate testing?

One should not automate in following cases

 When the Application Under Test changes frequently


 One time test cases
 Adhoc – Random testing

5. What are the types of the framework used in software automation testing?

In software automation testing four types of framework used are

 Data-driven automation framework


 Keyword driven automation framework
 Modular automation framework
 Hybrid automation framework

6. Selenium WebDriver- Handling drop-downs

https://www.javatpoint.com/selenium-webdriver-handling-drop-
downs#:~:text=Select%20in%20Selenium%20WebDriver,as%20parameter%20to
%20its%20constructor.&text=How%20to%20select%20an%20option%20from
%20drop%2Ddown%20menu%3F

7. How do you execute test cases in HP-ALM?

https://www.softwaretestinghelp.com/hp-quality-center-tutorial-5/
8. How do you import a collection in postman?

https://kb.datamotion.com/?ht_kb=postman-instructions-for-exporting-and-
importing

9. Assertions in Selenium.

https://www.softwaretestinghelp.com/assertions-in-selenium/

10. Difference between PUT & POST

11. How do you run multiple requests in Postman?

https://www.youtube.com/watch?v=GRh6xL4Cg8

(WATCH IT GREAT EXPLANATION)

12. How do you generate reports in TestNG?


https://www.guru99.com/testng-report.html

13. What is the reason to prefer data driven framework in your selenium project?

A Data Driven Framework in Selenium is a technique of separating the “data set” from the
actual “test case” (code). Since the test case is separated from the data set, one can easily
modify the test case of a particular functionality without making changes to the code.
For example, if one has to modify the code for login functionality, they can modify just the login
functionality instead of having to modify any other feature dependent on the same code.

There are two main benefits to this:

 They reduce the cost of adding new tests and changing them when your business rules
change. This is done by creating parameters for different scenarios, using data sets that the
same code can run against.
 They help to identify what data is most important for tested behavior. By separating first-
class scenario data into parameters, it becomes clear what matters most to the test. This makes
it easy to remember how something works when developers need to change it.

14. Call by value and Call by reference in Java


Call by Value means calling a method with a parameter as value. Through this, the
argument value is passed to the parameter.
While Call by Reference means calling a method with a parameter as a reference.
Through this, the argument reference is passed to the parameter.
In call by value, the modification done to the parameter passed does not reflect in
the caller's scope while in the call by reference, the modification done to the
parameter passed are persistent and changes are reflected in the caller's scope.
https://www.tutorialspoint.com/Call-by-value-and-Call-by-reference-in-
Java#:~:text=Call%20by%20Value%20means%20calling,a%20parameter%20as
%20a%20reference.&text=The%20values%20of%20the%20arguments,even
%20after%20the%20method%20invocation.

15. write a java program for frequency of occurrences of digits in an array.

public class Frequency {
public static void main(String[] args) {
//Initialize array
int [] arr = new int [] {1, 2, 8, 3, 2, 2, 2, 5, 1};
//Array fr will store frequencies of element
int [] fr = new int [arr.length];
int visited = -1;
for(int i = 0; i < arr.length; i++){
int count = 1;
for(int j = i+1; j < arr.length; j++){
if(arr[i] == arr[j]){
count++;
//To avoid counting same element again
fr[j] = visited;
}
}
if(fr[i] != visited)
fr[i] = count;
}

//Displays the frequency of each element present in array
System.out.println("---------------------------------------");
System.out.println(" Element | Frequency");
System.out.println("---------------------------------------");
for(int i = 0; i < fr.length; i++){
if(fr[i] != visited)
System.out.println("    " + arr[i] + "    |    " + fr[i]);
}
System.out.println("----------------------------------------");
}}
https://www.javatpoint.com/java-program-to-find-the-frequency-of-each-element-
in-the-array
16. Write the syntax for different types of constructors.
https://www.javatpoint.com/java-constructor

17. How do you use interface concept in selenium?


Simple example of Interface In selenium WebDriver Is WebDriver Interface. When you
are Initializing any browser using selenium WebDriver, You are writing statements like
bellow.

WebDriver driver = new FirefoxDriver();

Or

WebDriver driver = new ChromeDriver();

Here, WebDriver Is Interface and FirefoxDriver and ChromeDriver are the class files
where WebDriver Interface Is Implemented.

So if someone asks you,Where you have used interface in your selenium project, You can
simply say while initializing any browser using selenium webdriver.

18. GIT & GITHUB


19. Gave the control of their machine and asked to trigger jobs in Jenkins

Creating a job in Jenkins is the first part for proceeding towards running any build. To
create a standalone job, follow the steps mentioned below:
Step 1: Firstly, login into Jenkins account with valid credentials. After that, click on
the “New Item”  option in Jenkins dashboard.

As soon as, we will click, we will be redirected to a new page where we need to fill in the
name of the job and select the type of job.
 
Step 2: Secondly, let’s create a Freestyle project to build and run the project stored in
the GitHub repository:

 
 
 First, enter the item name.
 Second, select the project type ( I selected the Freestyle project).
 Third, click on the Ok button.
As soon as we click on the OK button, the Jenkins Job will be created.

So, in this way Job can be created in Jenkins. in the next section, we will see how to
configure this newly created job.
 
 https://www.toolsqa.com/jenkins/jenkins-build-jobs/

20. Overloading vs Overriding in Java


Overloading happens at compile-time while Overriding happens at runtime:
The binding of overloaded method call to its definition has happens at
compile-time however binding of overridden method call to its definition
happens at runtime.

21. Can a constructor be made final in Java?


No, a constructor can’t be made final.
A final method cannot be overridden by any subclasses. As mentioned previously,
the final modifier prevents a method from being modified in a subclass.
The main intention of making a method final would be that the content of the method
should not be changed by any outsider.
But, in inheritance sub class inherits the members of a super class except
constructors.
In other words, constructors cannot be inherited in Java therefore, there is no need
to write final before constructors. Therefore, java does not allow final keyword before
a constructor. If you try a compile time error is generated as in the following
example.

22. FINAL_FINALLY_FINALIZE

23. HP_ALM Interview Questions

https://www.guru99.com/quality-center-interview-questions.html

24. Defect Life cycle

https://www.guru99.com/defect-life-cycle.html

HR TYPE QUESTIONS
1. What will you do if a critical issue is found on the release day.

2. Explain the framework you were working on


3. Being test engineer, which was the show stopper bugs reported and experience during
work pressure to meet project deadlines.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy