Pertanyaan dan Jawaban Wawancara Paling Populer & Tes Online
Platform edukasi untuk persiapan wawancara, tes online, tutorial, dan latihan langsung

Bangun keterampilan dengan jalur belajar terfokus, tes simulasi, dan konten siap wawancara.

WithoutBook menghadirkan pertanyaan wawancara per subjek, tes latihan online, tutorial, dan panduan perbandingan dalam satu ruang belajar yang responsif.

Prepare Interview

Ujian Simulasi

Jadikan Beranda

Bookmark halaman ini

Langganan Alamat Email
WithoutBook LIVE Mock Interviews TestNG Related interview subjects: 13

Interview Questions and Answers

Know the top TestNG interview questions and answers for freshers and experienced candidates to prepare for job interviews.

Total 38 questions Interview Questions and Answers

The Best LIVE Mock Interview - You should go through before interview

Know the top TestNG interview questions and answers for freshers and experienced candidates to prepare for job interviews.

Interview Questions and Answers

Search a question to view the answer.

Experienced / Expert level questions & answers

Ques 1

What is the purpose of the @Factory annotation?

The @Factory annotation in TestNG is used to create a factory method that can produce instances of the test class. This is useful for dynamic test case generation.
Simpan untuk Revisi

Simpan untuk Revisi

Bookmark item ini, tandai sebagai sulit, atau masukkan ke dalam set revisi.

Buka Perpustakaan Belajar Saya
Apakah ini membantu?
Add Comment View Comments
Ques 2

What is the purpose of the IRetryAnalyzer interface in TestNG?

The IRetryAnalyzer interface in TestNG allows you to implement custom logic to decide whether a test method should be retried after a failure. It is used in conjunction with the @Test annotation's 'retryAnalyzer' attribute.
Simpan untuk Revisi

Simpan untuk Revisi

Bookmark item ini, tandai sebagai sulit, atau masukkan ke dalam set revisi.

Buka Perpustakaan Belajar Saya
Apakah ini membantu?
Add Comment View Comments
Ques 3

Explain the purpose of the @Parameters annotation in conjunction with @Factory.

The @Parameters annotation in conjunction with @Factory allows you to pass parameters to the factory method, creating dynamic instances of the test class with different parameter values.
Simpan untuk Revisi

Simpan untuk Revisi

Bookmark item ini, tandai sebagai sulit, atau masukkan ke dalam set revisi.

Buka Perpustakaan Belajar Saya
Apakah ini membantu?
Add Comment View Comments
Ques 4

What is the purpose of the IReporter interface in TestNG?

The IReporter interface in TestNG allows you to create custom HTML reports by implementing the generateReport() method. It provides flexibility in generating test reports.
Simpan untuk Revisi

Simpan untuk Revisi

Bookmark item ini, tandai sebagai sulit, atau masukkan ke dalam set revisi.

Buka Perpustakaan Belajar Saya
Apakah ini membantu?
Add Comment View Comments
Ques 5

What is the purpose of the IAnnotationTransformer interface in TestNG?

The IAnnotationTransformer interface in TestNG allows you to modify the annotations of test methods or classes dynamically. It is useful for altering the behavior of tests at runtime.
Simpan untuk Revisi

Simpan untuk Revisi

Bookmark item ini, tandai sebagai sulit, atau masukkan ke dalam set revisi.

Buka Perpustakaan Belajar Saya
Apakah ini membantu?
Add Comment View Comments

Most helpful rated by users:

Hak Cipta © 2026, WithoutBook.