Written test questions:
1. How to take screenshot?
2. Testng annotations
3. Use of Javascript executor
4. How to find broken images
5. Java program - whether a string is anagram
After clearing the writter the interviewer has your sheets and asked to describe the programs. Asked basic testing questions - waits, action, etc.
Next interviewer asked more questions from testing background; about the project; drag and drop; etc.
Describe automation framework and project related details.