SELENIUM ---------- DAY8 ---- Alerts Frames QUESTIONS(Theory) ----------------- 1.What is an Alert? 2.What are the types of Alert? 3.Write a code to perform prompt Alert? 4.What is method used to click Ok button in alert? 5.What is method used to we do to click Cancel button in alert? 6.Whether alert is an class or not? 7.What is mean by frames? 8.What are the arguments we pass on frames? 9.Write a code for switching the alert? 10.Write a code to switch frames with in frames? QUESTIONS(Practical) -------------------- QUESTION 1 ---------- URL : http://demo.automationtesting.in/Alerts.html NOTE: Click Alert with ok button and Perform simple alert. QUESTION 2 ---------- URL : http://demo.automationtesting.in/Alerts.html NOTE: Click Alert with ok & cancel button and Perform confirm alert. QUESTION 3 ---------- URL : http://demo.automationtesting.in/Alerts.html NOTE: Click Alert with textBox button and Perform prompt alert. QUESTION 4 ---------- URL : https://netbanking.hdfcbank.com/netbanking/?_ga=2.176378149.1819882415.1533883212-608727520.1532670997 NOTE: Click continue without enter the user id and handle popup. QUESTION 5 ---------- URL : https://netbanking.canarabank.in/entry/ENULogin.jsp NOTE: Click sign in without enter the user id and handle popup. QUESTION 6 ---------- URL : https://retail.onlinesbi.com/retail/login.htm NOTE: Click Continue To Login and click Login without enter the user id. QUESTION 7 ---------- URL : https://paytm.com/ NOTE: click login.Enter the username and password. QUESTION 8 ---------- URL : https://netbanking.hdfcbank.com/netbanking/ NOTE: Enter the userId,click continue.Enter password. QUESTION 9 ---------- URL : https://infinity.icicibank.com/corp/AuthenticationController?FORMSGROUP_ID__=AuthenticationFG&__START_TRAN_FLAG__=Y&FG_BUTTONS__=LOAD&ACTION.LOAD=Y&AuthenticationFG.LOGIN_FLAG=1&BANK_ID=ICI NOTE: Enter the userId password. Click login button Question 10 ------------- URL : http://demo.guru99.com/test/guru99home/ NOTE: Click the image "Iframe will not show if you have adhoc block"