DAY11: ----- JavaScript QUESTIONS(Theory) ------------------ 1.What is mean by JavaScript? 2.What is the method available to run the Javascript? 3.What is difference between execute_script() and asyncexecute_script()? 4.Write a code to click a button using execute_script()? 5.Write a code to insert a value in textBox using execute_script()? 6.Write a code perform getAttribute using execute_script()? 7.Write a code to perform scrollUp in a webpage using execute_script()? 8.Write a code to perform scrolldown in a webpage using execute_script()? QUESTIONS(Practical) ------------------- QUESTION 1 ----------- URL : http://www.greenstechnologys.com/ NOTE: Go to down of the webpage using scrolldown and print the line "greens over all reviws". QUESTION 2 ----------- URL : http://toolsqa.com/ NOTE: Go to down of the webpage using scrolldown and again go to top of webpage using scrollup. QUESTION 3 ----------- URL : http://greenstech.in/selenium-course-content.html NOTE: Click Testng Framework using execute_script() QUESTION 4 ----------- URL : https://www.facebook.com/ NOTE: Enter the email & password and click login button using execute_script() QUESTION 5 ----------- URL : http://www.adactin.com/HotelApp/ NOTE: Enter the username & password and get the value attribute and click login button using execute_script() QUESTION 6 ----------- URL : https://www.flipkart.com/ NOTE: Enter the email & password and nd get the value attribute and click login button using execute_script() QUESTION 7 ----------- URL : http://greenstech.in/selenium-course-content.html NOTE: Click String methods using execute_script() QUESTION 8 ----------- URL : http://greenstech.in/selenium-course-content.html NOTE: Click SendKeys , Locators using execute_script() QUESTION 9 ----------- URL : http://greenstech.in/selenium-course-content.html NOTE: Click contact Us and fill all form using execute_script() QUESTION 10 ----------- URL : https://www.snapdeal.com/ NOTE: Enter iphone and click search and click any phone using execute_script()