- Is Selenium able to handle dynamic AJAX elements?
- Yes
- No
- Cant Say
Ans: 1 - How to use xpath for dynamic elements?
- Identify the pattern and modify xpath pattern
- Directly use the xpath?
- Both 1 and 2
- None of the above
Ans: 1 - Selenium can handle Javascript alerts.
- TRUE
- FALSE
Ans: 1 - Is Regular expression helps to identify dynamic elements?
- Yes
- No
- Not very compatible
Ans: 3 - How to check if any check box is checked or not?
driver.findElement(By.id(<>).Selected()driver.findElement(By.id(<>).isSelected()driver.findElement(By.id(<>).isChecked()- All of the above
Ans: 2 - Can Selenium handle Alerts or Pop ups windows?
- Yes
- No
Ans: 1 - What is getWindowHandle method?
- Method will help to handle parent window
- Method will help to handle of opened windows other than parent
- Only handles alert
- None of the above
Ans: 2 - How to handle alert using selenium?
driver.switchto.popup()driver.switchtodriver.switchto.alert()- None of the above
Ans: 3 - What is Iterator?
- Iterator enables you to cycle through a collection, obtaining or removing elements
- It basically starts at the beginning of a collection
- When you want to know which things are in a certain collection, you iterate over the collection, which is just another term for going through all elements. This is what an Iterator does
- All of the above
Ans: 4 - After the popup actions, how to switch the driver back to the parent window?
browser.switchTo().window(parentWindowHandle);browser.switchTo().alert();- Both 1 & 2
- None of the above
Ans: 1
Pages
- Home
- Online Training
- TypeScript For Playwright & Cypress
- Playwright with TypeScript Tutorials
- Career Guidance
- Miscellaneous Topics
- SDET Essentials
- Advanced Java
- Mock Interviews
- Selenium with Python
- Cypress Tutorials
- API Testing
- Websites for Automation Practice
- Downloads
- Job Websites (Top Job Portals)
- Manual Testing Tutorials
- ISTQB
- Agile Methodology
- SQL For Testers
- UNIX /Linux
- ETL Testing videos
- Big Data Hadoop
- Resume Templates
- Automation Testing Materials
- Manual Testing Materials