Exception Handling in Playwright
Exception Handling in Playwright import { test, expect,Page, Browser, Locator } from ‘@playwright/test’; import { webkit, chromium, firefox } from ‘playwright’; test.describe(‘Exception handling in Playwright’, () => { Read more »
Read Excel data in Playwright
Read Excel data in Playwright import {expect, Page, Browser, test} from ‘@playwright/test’; import { readFile, utils, read as _read } from ‘xlsx’; const xlsx = require(‘xlsx’); //const path=”C:\\Users\\Anand.Gummadilli\\Documents\\Anand_Details\\PlaywrightDemo\\PlaywrightDemo-1\\tests2\\Anvesh.xlsx”; const path=”C:\\Users\\anand\\OneDrive\\Documents\\PlaywrightDemo\\PlaywrightDemo\\tests2\\Anvesh.xlsx”; Read more »
Handling Webtable in Playwright
Handling Webtable in Playwright import {test,expect,Locator, Browser, Page} from ‘@playwright/test’; import {chromium,webkit,firefox} from ‘playwright’; test(‘handling web table’,async()=>{ const browser:Browser=await chromium.launch({headless:false, channel:’chrome’}); const rsPage:Page=await browser.newPage(); Read more »
Handling files in Playwright
Handling files in Playwright import {test, Page, Locator, expect,FileChooser } from ‘@playwright/test’; //uploading single file test(‘Upload single file’,async({page})=> { await page.goto(“https://www.file.io/”); let uploadIcon:Locator=await page.locator(“//label[@for=’select-files-input’]”); await uploadIcon.setInputFiles(‘C:/Users/AnandaBabuGummadilli/Documents/Anand_Details/VEDL_Info.docx’); await page.waitForTimeout(5000); }); Read more »
Handling Alerts in Playwright
Handling Alerts in Playwright import {Page,expect,test,Locator,Browser,chromium,firefox,webkit} from ‘@playwright/test’; //Handling Alert test(‘Handle Alert’, async ({ page }) => { page.on(‘dialog’, async dialog => { console.log(dialog.type()); Read more »
Locators in Playwright
Locators in Playwright import { test, expect,Page, Browser, Locator, chromium } from ‘@playwright/test’; //Find Element By Xpath test(‘Findelement By xpath’,async({})=>{ const browser:Browser=await chromium.launch({headless:false, channel:’chrome’}); const Read more »
Browser, Browser Context, Page in Playwright
1 browser can have more than 1 browser context in playwright? Yes. One browser instance can have multiple browser contexts in Playwright. In fact, this is one of Playwright’s Read more »
complex / advanced Selenium interview questions
Here are complex / advanced Selenium interview questions (especially useful for 5–10+ years experience, automation architects, and SDET roles). I’ve grouped them by topic for better preparation. Framework & Architecture Read more »
How AI helps in Manual Testing.
How AI helps in Manual Testing. AI helps manual testing by making testers faster, more accurate, and more focused on thinking tasks rather than repetitive work. Here’s a clear, student-friendly Read more »
Manual testing Frequently asked Questions
Manual testing Frequently asked Questions.. Here are commonly asked interview FAQs for Manual Testing, explained in a clear, student-friendly way 👇 Here are commonly asked interview FAQs for Manual Testing, Read more »
