Many thanks for sharing all you amazing videos 👏 👏 👏 Could you please share with us Python +appium couse and Framework (with latest technologies) many thanks 😊 🙏 🙏
Sir, you didn't handle the error case wherein if given value doesn't match with autocomplete available values. The loop will endlessly navigate through down arrow
Try this! Capture firstvalue from the suggestions & initialise loopcount as zero & add the below code in do { }. if(getFirstValue.equals(text)){ loopCount +=1; if(loopCount>1) { System.out.println("match not found"); break; } }
we can inspect the the autocomplete drop down, just freeze that screen while suggestion is there setTimeout(function(){debugger;}, 5000) in console window and give your input in the filed wait for a moment until it's freeze then you can inspect it
Correct me if I am wrong. After finding and entering the exact element on the dropdown the country search box not sticking with "Toronto OH, United States" rather it stays with the cleared empty search box. if it is correct please guide us on another video.
1.What is Selenium? 2.What are the components of Selenium? 3.What is WebDriver? 4.What are the Advantages & Disadvantages of Selenium WebDriver? 5.WebDriver Architecture in Selenium3 & Selenium4? 6.Communication Between The WebDriver and Browser 7.What is architecture of selenium WebDriver? 8.How to Launch Browsers in WebDriver? 9.How to Open URL? 10.How to capture Title of the page? 11.How to capture URL of the page? 12.How to capture page source of the Page? 13.What is WebDriverManager? 14.How to Check WebElement is Displayed, Enabled and Selected? 15.What are the Conditional Methods in Selenium WebDriver? 16.How to Navigate Back & Forward? 17.How to Refresh Page? 18.What is the difference between get() & navigate.to()? 19.What is the difference between findElement() and findElements() in Selenium WebDriver? 20.1. How To Provide & Clear text from Input Box? 21.2. How to capture Text from Input Box? 22.3. What is the difference between getText() and getAttribute('value’)? 23.How to handle Dropdown in Selenium WebDriver? 24.2. What is the use of Select class? 25.3. How To handle Multiple Dropdowns in a page using Generic Method? 26.How to Handle Bootstrap Drop Down in Selenium WebDriver? 27.How to handle JQuery Dropdown in Selenium WebDriver? 28.How to Check Drop Down Options are Sorted? 29.Topic : How to Handle Auto Suggest Drop Down in Selenium WebDriver? 1) Google Search 2) Bing Search 30.How to Handle Autocomplete Google Places Drop Down? 31.How To Handle Browser Windows in Selenium WebDriver? 32.What is the Difference between getWindowHandle() & getWindowHandles() methods? 33.How To Switch between Multiple Browser Windows? 34.What is the difference between close() and quite() methods? 35.How to close All browser Windows? 36.How To close Specific Browser Window by choice? 37.How To Locate links in Selenium WebDriver? 38.What is the difference between LinkText() and PartialLinkText()? 39.How to capture all the links from Web Page? 40.What is Broken Link? How to check it? 41.What is Java Script Alert? 42.How To Handle Java Script Alerts? 43.How To Handle Authentication Popup? 44.How To Handle Permission Pop-ups? 45.1) What is the difference between frame and ? 46. How To Handle s in Selenium WebDriver? 47. How To Switch between multiple iFrames? 48. How To Work with Inner iFrames? 49.What is Synchronization problem in Automation? 50. What are the different types of waits available in Selenium WebDriver? 51.How To Handle Web Table in Selenium WebDriver? 52. How To Handle Dynamic Web Table with Pagination in Selenium? 53.How To Handle Date Pickers? 54.How To Perform Mouse Operations in Selenium WebDriver? 55. How to Perform Right click Action? 56. How to Perform Double click Action? 4. How to Perform Drag and Drop Action? 57. How to Perform Mouse Hover Action? 58.How To Handle Keyboard Actions in Selenium WebDriver 59.How to capture Screenshot of Full Page? 60. How to capture Screenshot of Section of a Web Page? 61. How to capture Screenshot of an Element on a Web Page? 62. How to capture tooltip of the Web Element? 63. How to open a link in new tab? 64.How to open URL’s in a multiple tabs & Windows? 65.How to capture Size & Location of the WebElement? 66.How To use JavaScriptExecutor in Selenium WebDriver? a) Flashing Element b) Drawing border & take screenshot of the Element c) Get the title of the page d) Click action e) Generate alert f) Refreshing the page g) Scrolling down page h) Scroll up page i) Zoom-In Zoom-Out page 67. How To capture cookies from browser? 68. How To print cookies from browser? 69. How To add Cookie to the browser? 70. How To delete specific Cookie from the browser? 71. How To delete all Cookies from the browser? 72. How to download the files using the selenium WebDriver? -Chrome -Edge -Firefox 73. How to download the files into the custom directory ? 74. How to change the download file location using selenium WebDriver? 75. How to download the embedded PDF file ? 76. How to download the PDF file using selenium WebDriver? 77. What is Browser Profile in Firefox? 78. What is Mime Type? 79. How to upload the file in selenium WebDriver? sendKeys() 2. Robot Class 80.How to perform Database Testing in selenium Webdriver?
I tried that code . First it select disired text from dopdown and then it's set to default one...Eg at last it's always shown in search box as Toronto,on Canada.. Please assisst
Hi, can you tell me how to fix this i followed same code but got this error, "stale element reference: element is not attached to the page document" on the line text = search.getAttribute("value"); Thank you :)
Im watching all the series of selenium ...very helpful videos..thank you sir..!!
Welcome
very helpful........always i learn new things...............
thanks
This video's is very use full to me sir ,i ca take coaching but could understand but your explanation is clarity to me thank you sir
Nice series to gain more knowledge ❤️🙏
Glad to hear that
Many thanks for sharing all you amazing videos 👏 👏 👏
Could you please share with us Python +appium couse and Framework (with latest technologies) many thanks 😊 🙏 🙏
Sir, you didn't handle the error case wherein if given value doesn't match with autocomplete available values. The loop will endlessly navigate through down arrow
Try this!
Capture firstvalue from the suggestions & initialise loopcount as zero & add the below code in do { }.
if(getFirstValue.equals(text)){
loopCount +=1;
if(loopCount>1) {
System.out.println("match not found");
break;
}
}
@@anithab920 Thanks!
Very useful content u r providing sir..
Thanks
Thank you for explaining!
You're welcome!
Thank you Sir! Great explanation as always 👌
Always welcome
we can inspect the the autocomplete drop down, just freeze that screen while suggestion is there
setTimeout(function(){debugger;}, 5000) in console window
and give your input in the filed
wait for a moment until it's freeze
then you can inspect it
hi sir please do a video on how to compare two excel sheet and find the differences
Correct me if I am wrong. After finding and entering the exact element on the dropdown the country search box not sticking with "Toronto OH, United States" rather it stays with the cleared empty search box. if it is correct please guide us on another video.
Your videos are good but it will be too lengthy .. Try to make it short pls sir
Is this ajax calls also
1.What is Selenium?
2.What are the components of Selenium?
3.What is WebDriver?
4.What are the Advantages & Disadvantages of Selenium WebDriver?
5.WebDriver Architecture in Selenium3 & Selenium4?
6.Communication Between The WebDriver and Browser
7.What is architecture of selenium WebDriver?
8.How to Launch Browsers in WebDriver?
9.How to Open URL?
10.How to capture Title of the page?
11.How to capture URL of the page?
12.How to capture page source of the Page?
13.What is WebDriverManager?
14.How to Check WebElement is Displayed, Enabled and Selected?
15.What are the Conditional Methods in Selenium WebDriver?
16.How to Navigate Back & Forward?
17.How to Refresh Page?
18.What is the difference between get() & navigate.to()?
19.What is the difference between findElement() and findElements() in Selenium WebDriver?
20.1. How To Provide & Clear text from Input Box?
21.2. How to capture Text from Input Box?
22.3. What is the difference between getText() and getAttribute('value’)?
23.How to handle Dropdown in Selenium WebDriver?
24.2. What is the use of Select class?
25.3. How To handle Multiple Dropdowns in a page using Generic Method?
26.How to Handle Bootstrap Drop Down in Selenium WebDriver?
27.How to handle JQuery Dropdown in Selenium WebDriver?
28.How to Check Drop Down Options are Sorted?
29.Topic : How to Handle Auto Suggest Drop Down in Selenium WebDriver? 1) Google Search 2) Bing Search
30.How to Handle Autocomplete Google Places Drop Down?
31.How To Handle Browser Windows in Selenium WebDriver?
32.What is the Difference between getWindowHandle() & getWindowHandles() methods?
33.How To Switch between Multiple Browser Windows?
34.What is the difference between close() and quite() methods?
35.How to close All browser Windows?
36.How To close Specific Browser Window by choice?
37.How To Locate links in Selenium WebDriver?
38.What is the difference between LinkText() and PartialLinkText()?
39.How to capture all the links from Web Page?
40.What is Broken Link? How to check it?
41.What is Java Script Alert?
42.How To Handle Java Script Alerts?
43.How To Handle Authentication Popup?
44.How To Handle Permission Pop-ups?
45.1) What is the difference between frame and ?
46. How To Handle s in Selenium WebDriver?
47. How To Switch between multiple iFrames?
48. How To Work with Inner iFrames?
49.What is Synchronization problem in Automation?
50. What are the different types of waits available in Selenium WebDriver?
51.How To Handle Web Table in Selenium WebDriver?
52. How To Handle Dynamic Web Table with Pagination in Selenium?
53.How To Handle Date Pickers?
54.How To Perform Mouse Operations in Selenium WebDriver?
55. How to Perform Right click Action?
56. How to Perform Double click Action? 4. How to Perform Drag and Drop Action?
57. How to Perform Mouse Hover Action?
58.How To Handle Keyboard Actions in Selenium WebDriver
59.How to capture Screenshot of Full Page?
60. How to capture Screenshot of Section of a Web Page?
61. How to capture Screenshot of an Element on a Web Page?
62. How to capture tooltip of the Web Element?
63. How to open a link in new tab?
64.How to open URL’s in a multiple tabs & Windows?
65.How to capture Size & Location of the WebElement?
66.How To use JavaScriptExecutor in Selenium WebDriver?
a) Flashing Element
b) Drawing border & take screenshot of the Element
c) Get the title of the page
d) Click action
e) Generate alert
f) Refreshing the page
g) Scrolling down page
h) Scroll up page
i) Zoom-In Zoom-Out page
67. How To capture cookies from browser?
68. How To print cookies from browser?
69. How To add Cookie to the browser?
70. How To delete specific Cookie from the browser?
71. How To delete all Cookies from the browser?
72. How to download the files using the selenium WebDriver? -Chrome -Edge -Firefox
73. How to download the files into the custom directory ?
74. How to change the download file location using selenium WebDriver?
75. How to download the embedded PDF file ?
76. How to download the PDF file using selenium WebDriver?
77. What is Browser Profile in Firefox?
78. What is Mime Type?
79. How to upload the file in selenium WebDriver? sendKeys() 2. Robot Class
80.How to perform Database Testing in selenium Webdriver?
I tried that code . First it select disired text from dopdown and then it's set to default one...Eg at last it's always shown in search box as Toronto,on Canada.. Please assisst
Hi sir Can u please upload series for mobile testing.
Sir can please you start python+selenium sessions like this.?!
Sure. I will do.
@@sdetpavan Thank you sir .....when did you start.... Eagerly waiting for that
Hi, can you tell me how to fix this i followed same code but got this error, "stale element reference: element is not attached to the page document" on the line text = search.getAttribute("value"); Thank you :)
Sir value not coming same in textbox after clicking on toronto, OH , USA...
Once if condition passed, Try to store that value in another variable and then pass it to searchbox.
Pavan, after we press enter the validated value is not reflected in the input box, I tried with tab and it worked.
Just for information, but not to discourage your efforts
Can u pls tell me the code
in the line text=searchBox.getAttribute("value"); , what is this value..
THos is the attribute inside the tag related to search box
very helpful........always i learn new things..............
Glad to hear that