Hi Naveen, I have been watching your Selenium videos from few years. Really very useful and excellent work you have done for the benefit of the community. Thanks a ton for your invaluable efforts.
Hi Naveen, I have been watching and learning your selenium related video, they are just amazing. I can't Thank you enough for your work. They are really helping people a lot. Keep up the good work. Thank you again!
i have been following your selenium videos since four days which helped a lot to get knowledge on topics. Very Very thanks for your inputs Naveen (sir)
thanx naveen for making selenium so much easy to understand, before following your channel i was confused from where to start in selenium. i tried many other videos on selenium but my search ended at your channel...
Thanks a lot for videos. Really very helpful. I am new learner and your way of explanation is amazing. Please add more videos in this playlist if any topic not included earlier. Thanks
Thanks for this video Naveen Sir. I have a question, as these websites are updated now can you suggest another website for these basic selenium practices? Thanks again.
hi Naveen, i am watching your videos on daily basis. i had a suggestion regarding frames video please add any topic example websites for practice purpose. then only we will practice randomly while watching the video. in frames video you didnt mention the username and password. if we know the login credentials then will practice the frames concept.
Hi Naveen I am following your videos. Its very nice. Thanks for sharing. Frames which are not having name and index attribute, How can we handle those frames?
Hi Naveen ,,, thanks for video.you explained about inside another frame. can you please provide a demo website where 3 frames are present and user has to switch from one frame to another. or else please let us know how to create your own Iframes?
Thanks you Sir for this video. I have a question, as these websites are updated from frame to links, can you please suggest another website for practicing this frame concept? Thanks again.
hai naveen, in interview they ask me like, if we have 50 frames in page but each frame inside in another frame how can you switch to the last frame.are we going directly going to 50th frame or we have to switch 1 frame to another frame,bcz all frames are inside of another frame
You can use "Index" instead of "string" Syntax driver.switchTo().frame(int) ---> Integer values example: driver.switchTo().frame(49); Index value starts from 0,1,2,3..etc. If it is 50th frame then the index value would be frame(49)
I am practicing from your videos but the site that you use for testing(Free CRM) has changed now and I don't see any frame for practice there. Could you please help me with any other site for practice.
I have one question if there is an element which is in frame 3 and that frame 3 is in frame 2 and that frame 2 is in frame 1, so do we need to go through all the frames or we vmcan directly switch to frame 3 using this method?
I read somewhere about a method called defaultContent() to be used in conjunction with s, but did not get it fully. Can you please tell me what is this method for? How do we use it?
Hi Mukta, defaultContent() is used to come back to the default page after switching to frame. WebElement fr = driver.findElementById("theIframe"); driver.switchTo().frame(fr); Then to move out of frame use:- driver.switchTo().defaultContent();
Is there any extension in chrome as well to find xpath and CSS. I'm learning from your videos and until now you haven't mentioned any extensions for chrome. And I guess the plugins for firefox are dead.
Hi Naveen... i am referring your videos for selenium and it's very helpful. I hae been trying to automate amazon main page, but I am always stuck after the mouse hover step. For clicking on sign in button I am not able to switch to Frame because I was unable to find the frame name. Can you please help on thay
Hello Naveen , I am trying to access the link which you used for demo , but now they completely changed their webpage , can you please provide some other web site to practice IFrames.
HI Naveen I'm watching the video on I-Frames however the website you referred to is not opening to me as it has opened for you. Can you please send me the details...
Hi Naveen i have tried the above tutorial every thing is working fine, but when i tried switching to left panel and click on Products following error comes: no such element: Unable to locate element: {"method":"link text","selector":"Products"}
Hii nveen I have small doubt about data-driven frame work.. What is the difference between small 'a' and capital 'A' in data-driven frame work.. Please tell me the answer....
Hi Naveen, for me one case button is visible but shows no web element. Tried all possible click method like send keys, click, javascript executor. But after sometime it work and sometimes not click eventhough increase wait time. Can u provide solution on this
Hi Naveen there is one query related this xpath of login buttton ,it worked around two times but after that it throws unknown error --Exception in thread "main" org.openqa.selenium.WebDriverException: unknown error: Element is not clickable at point (1182, 117). Other element would receive the click: ... ,plz sugggest
use this for login: WebElement loginBtn = driver.findElement(By.xpath("//input[@type='submit']")); JavascriptExecutor js = (JavascriptExecutor)driver; js.executeScript("arguments[0].click();", loginBtn);
what if I am trying to find element in the loop of frames and did not find it in first Frame,it is throwing exception before going to second frame.How could i proceed with other frames.
Hi Naveen. I could not able to log in to the free CRM application, could you please help me? I used javascriptExecutor also, but that also not work for me.
The following exception is coming when clicking the submit button. Exception: ---------------------- Starting ChromeDriver 2.34.522940 (1a76f96f66e3ca7b8e57d503b4dd3bccfba87af1) on port 23117 Only local connections are allowed. Dec 27, 2017 2:26:46 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Detected dialect: OSS **************************** Exception in thread "main" org.openqa.selenium.WebDriverException: unknown error: Element is not clickable at point (1182, 102). Other element would receive the click: ... (Session info: chrome=63.0.3239.84) (Driver info: chromedriver=2.34.522940 (1a76f96f66e3ca7b8e57d503b4dd3bccfba87af1),platform=Windows NT 10.0.16299 x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 0 milliseconds Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'LAPTOP-2C4HQNBQ', ip: '192.168.1.64', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_151' Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.34.522940 (1a76f96f66e3ca7b8e57d503b4dd3bccfba87af1), userDataDir=C:\Users\venka\AppData\Local\Temp\scoped_dir14184_27384}, takesHeapSnapshot=true, pageLoadStrategy=normal, unhandledPromptBehavior=, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=63.0.3239.84, platform=XP, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, setWindowRect=true, unexpectedAlertBehaviour=}] Session ID: 4889595d25b86193eca342e218880a42 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:215) at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:167) at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40) at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:82) at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:45) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164) at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:641) at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:275) at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:82) at selesessions.HandlingFramesConcept.main(HandlingFramesConcept.java:30)
how to handle when loction is differnt both frame , like one frame is on navbar and second is in page. and i want to switch same driver to other frame pleasee help here
Hi Everyone, I am just follwoing the Naveen's steps but not able to click on Login button. Are you able to click on it if you tried or Naveen can you help here.
Hi Naveen , was going through your videos and exercising it the same but I am getting following error Exception in thread "main" org.openqa.selenium.WebDriverException: unknown error: Element is not clickable at point (1182, 117). Other element would receive the click: ... (Session info: chrome=65.0.3325.181) I have written exactly the way , you have but why i am receiving this.
Hi Naveen, am unable to click on sign up button in freecrm website .. below code used to click on sign up Driver.findelement(By.xpath(//a[contains(text(),'Sign')])).click(); Saying as it is not clickable at point(1062,45)
sir ,im using a normal pc,not a macbook.when im right clicking to inspect the element for frame control is not showing this frame but view page source is identified.How should i inspect for the frame in a chrome browser
hi naveen, am trying to automate compose mail in gmail. Am unable to automate insert photo in compose mail which is a frame. Can you please help me out.
THANKS FOR THE VID nAVEEN, i TYPED THE CODE EXACTLY AS YOU DID, BUT MY CLICK COMMAND IS NOT WORKING. AFTER LAUNCHING, IT IS TYPING PSSRD AND USERNAME, AND MESSAE POP UP COMING UP ON THE WEBSITE AND STOPPING THERE
Thanks for the prompt respond Naveen, I tried it also but still did not get expected result. do you thing I should try with different locator on that element? and also , I have learned that implicit wait time 2-3 seconds are preferrable, giving more time is not that preferrable. is there any spesific reason for giving 30 second for implicit wait time? Thanks Naveer as always you are my hero )))
Hi David, could u please paste your code here. about implicit wait, give wait around for 30 seconds - its not a static wait. its a dynamic wait, if an element is found within lets say 5 secs, rest of the 25 secs will be ignored. it's not compulsory to give 30 secs, its upto you. If your app is very slow coz of network issue or internet issue. then accordingly u can increase/decrease this time.
Hi Naveen, I have read that W3C has made frames obsolete and I am trying hard to find a site which has html frames. Can you/anyone here provide me a sample site which has html frames?
Naveen: 1st Question: How to verify if page is in iFrame or not in Chrome Browser 2nd Question: I am not able to handle this popup or frame, please have a look html.com/input-type-file/ => After entering this link, wait for 10s
Sir ... this code "driver.findElement(By.xpath("//input[@type='submit']")).click();" is working fine in Firefox... but why it is not working in chrome ... showing error.... Element is not clickable at point (916, 117)... pls reply
hi if i having 3 frames and when i'm in 3rd frame how can i switch to 2nd frame pls any one can rply me please, in one interview they asked me this question
The xpath of Login is exactly correct, Still after entering correct id and password, not able to log in on the site, At first That pop up comes on window, which cant's dismiss(i tried by alert) and however i clicked on sign up link and again home link and then enter userid and password, now not able to log in. Will you please help ?
driver.findElement(By.xpath("//div[contains(text(),'CHECKOUT')]")).click(); driver.switchTo().frame("snap-midtrans"); driver.findElement(By.xpath("//a[contains(@href, '#/select-payment')]")); ' hallo sir , why can't I get the path on the frame?
Hi Naveen, I have been watching your Selenium videos from few years. Really very useful and excellent work you have done for the benefit of the community. Thanks a ton for your invaluable efforts.
Hi Naveen, I have been watching and learning your selenium related video, they are just amazing. I can't Thank you enough for your work. They are really helping people a lot. Keep up the good work. Thank you again!
I have been watching your videos and helping me lot while attending interviews. Thanks a lot naveen.
I searched youtube and checked some videos, yours is the best and clear.Thank you
Glad it helped
i have been following your selenium videos since four days which helped a lot to get knowledge on topics. Very Very thanks for your inputs Naveen (sir)
thanx naveen for making selenium so much easy to understand, before following your channel i was confused from where to start in selenium. i tried many other videos on selenium but my search ended at your channel...
Thanks Naveen I had just studied Frame & I had questions in my mind up until this video but now make sense.
Thanks a lot for videos. Really very helpful. I am new learner and your way of explanation is amazing. Please add more videos in this playlist if any topic not included earlier. Thanks
I don`t know whether it is the way u teach or what things feels too easy to learn. Thanks Naveen.
This video works absolutely fine, only difference now is UI display is little different at present.
Thanks for this video Naveen Sir.
I have a question, as these websites are updated now can you suggest another website for these basic selenium practices?
Thanks again.
demo.automationtesting.in/Frames.html
Whenever you are inside a frame, make sure to come out of that frame using switchTo method to continue executing other test steps.
hi your videos are really helpful.I like the way you teach the concepts in depth
Very useful video Naveen. Thanks a lot!!
Hi Naveen,
Thanks a ton for this video. In macOS, you were able to find with This frame option. How do I make sure that in Windows
hi Naveen, i am watching your videos on daily basis. i had a suggestion regarding frames video please add any topic example websites for practice purpose. then only we will practice randomly while watching the video. in frames video you didnt mention the username and password. if we know the login credentials then will practice the frames concept.
Thank you! Understood...will try out this site for practice for sure.
+Mukta Sharma thanks for watching:)
Hi Naveen
Your videos are really good.
Can you please tell me where are the basics theories are available for Java selenium
You nailed it Man !!
Thanks for amazing videos!!!
Hi Naveen I am following your videos. Its very nice. Thanks for sharing. Frames which are not having name and index attribute, How can we handle those frames?
Thank you Sir. Your Videos as very helpful.
Nice , Lesson 3 completed
Hi Naveen ,,, thanks for video.you explained about inside another frame. can you please provide a demo website where 3 frames are present and user has to switch from one frame to another. or else please let us know how to create your own Iframes?
Nice explanation.. Thanks a lot.
tq u so much naveen ..it helps me a lot...
Thanks you Sir for this video.
I have a question, as these websites are updated from frame to links, can you please suggest another website for practicing this frame concept?
Thanks again.
nice work bro!
Thank You, Sir!
hai naveen, in interview they ask me like, if we have 50 frames in page but each frame inside in another frame how can you switch to the last frame.are we going directly going to 50th frame or we have to switch 1 frame to another frame,bcz all frames are inside of another frame
Did you get the ans?
driver.switchTo().frame("1");
driver.switchTo().frame("id of the element");
You can use "Index" instead of "string"
Syntax
driver.switchTo().frame(int) ---> Integer values
example:
driver.switchTo().frame(49);
Index value starts from 0,1,2,3..etc.
If it is 50th frame then the index value would be frame(49)
Hi Naveen,
Is there any api to search an element within a particular div or near a div/element
I am practicing from your videos but the site that you use for testing(Free CRM) has changed now and I don't see any frame for practice there. Could you please help me with any other site for practice.
Hi Naveen, How to see the frames in windows and Linux like you did in Mac?
Hi Naveen,
FREECRM site has been changed a lot , also not able to login freecrmpro website , can you suggest other website for selenium practise.
Thanks a lot Sir.
Sir , U have to mention all snario like frame to another frame or how to back from frame...
I have one question if there is an element which is in frame 3 and that frame 3 is in frame 2 and that frame 2 is in frame 1, so do we need to go through all the frames or we vmcan directly switch to frame 3 using this method?
I read somewhere about a method called defaultContent() to be used in conjunction with s, but did not get it fully. Can you please tell me what is this method for? How do we use it?
Hi Mukta, defaultContent() is used to come back to the default page after switching to frame. WebElement fr = driver.findElementById("theIframe");
driver.switchTo().frame(fr);
Then to move out of frame use:- driver.switchTo().defaultContent();
I had the same question got the answer by reading comment.. :D Thanks a lot Naveen.
Is there any extension in chrome as well to find xpath and CSS. I'm learning from your videos and until now you haven't mentioned any extensions for chrome. And I guess the plugins for firefox are dead.
WoW LeagueOfLegends right click on the element and select copy xpath. :)
@@karanks2519 Thanks :)
its chropath plugin for chrome.
Hi Naveen... i am referring your videos for selenium and it's very helpful.
I hae been trying to automate amazon main page, but I am always stuck after the mouse hover step. For clicking on sign in button I am not able to switch to Frame because I was unable to find the frame name.
Can you please help on thay
Hi Naveen, if right click is disabled for my application then how we will identify frames as you showed we need to do right click and identify
nice explain keep uploading...
Hello Naveen ,
I am trying to access the link which you used for demo , but now they completely changed their webpage , can you please provide some other web site to practice IFrames.
Hi Naveen, How should find selenium sequentially videos?? Please!
HI Naveen I'm watching the video on I-Frames however the website you referred to is not opening to me as it has opened for you. Can you please send me the details...
This FreeCRM webpage has only obe frame. Could you please give me a website which has multiple forms
Hi Naveen i have tried the above tutorial every thing is working fine, but when i tried switching to left panel and click on Products
following error comes:
no such element: Unable to locate element: {"method":"link text","selector":"Products"}
Hii nveen I have small doubt about data-driven frame work..
What is the difference between small 'a' and capital 'A' in data-driven frame work..
Please tell me the answer....
For IE browser also, can we use only switch like this? IT worked in chrome browser, but IE its not working, any suggestions or tips
Thanks a lot sir
nice video keep uploading
Hi Naveen,
After navigating to contacts I am not able to fill the form, on this page total frames size is 2.
Please explain nested frames once.
Hi Naveen, for me one case button is visible but shows no web element. Tried all possible click method like send keys, click, javascript executor. But after sometime it work and sometimes not click eventhough increase wait time. Can u provide solution on this
Hi Naveen there is one query related this xpath of login buttton ,it worked around two times but after that it throws unknown error --Exception in thread "main" org.openqa.selenium.WebDriverException: unknown error: Element is not clickable at point (1182, 117). Other element would receive the click: ... ,plz sugggest
use this for login: WebElement loginBtn =
driver.findElement(By.xpath("//input[@type='submit']"));
JavascriptExecutor js = (JavascriptExecutor)driver;
js.executeScript("arguments[0].click();", loginBtn);
js.executeScript("arguments[0].click();", loginBtn);--> Naveen this line shows some 'Invalid character' error
Remove double quotes and type it again.
Thanks a lot Naveen... this works perfectly!!!
I hope JavaScriptExecutor concept will clear once i go through this video: With Selenium WebDriver - Session 12
Thanks!!!
what if I am trying to find element in the loop of frames and did not find it in first Frame,it is throwing exception before going to second frame.How could i proceed with other frames.
Hi Naveen.
I could not able to log in to the free CRM application, could you please help me?
I used javascriptExecutor also, but that also not work for me.
The following exception is coming when clicking the submit button.
Exception:
----------------------
Starting ChromeDriver 2.34.522940 (1a76f96f66e3ca7b8e57d503b4dd3bccfba87af1) on port 23117
Only local connections are allowed.
Dec 27, 2017 2:26:46 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: OSS
****************************
Exception in thread "main" org.openqa.selenium.WebDriverException: unknown error: Element is not clickable at point (1182, 102). Other element would receive the click: ...
(Session info: chrome=63.0.3239.84)
(Driver info: chromedriver=2.34.522940 (1a76f96f66e3ca7b8e57d503b4dd3bccfba87af1),platform=Windows NT 10.0.16299 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'LAPTOP-2C4HQNBQ', ip: '192.168.1.64', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_151'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.34.522940 (1a76f96f66e3ca7b8e57d503b4dd3bccfba87af1), userDataDir=C:\Users\venka\AppData\Local\Temp\scoped_dir14184_27384}, takesHeapSnapshot=true, pageLoadStrategy=normal, unhandledPromptBehavior=, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=63.0.3239.84, platform=XP, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, setWindowRect=true, unexpectedAlertBehaviour=}]
Session ID: 4889595d25b86193eca342e218880a42
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:215)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:167)
at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:82)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:45)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:641)
at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:275)
at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:82)
at selesessions.HandlingFramesConcept.main(HandlingFramesConcept.java:30)
u need to add wait to overcome this error
Unable to access ur website to practice... Freecrm.. Plz provide the website link to practice frames concept
where have you shared the code Naveen Sir ???
Sir do you take any online clasess
Please refer this page. naveenautomationlabs.com/selenium-training/
how to handle when loction is differnt both frame ,
like one frame is on navbar and second is in page.
and i want to switch same driver to other frame
pleasee help here
Naveen Sir,How to know that the element belongs to frame.
You can inspect the webelement and you can see the element present inside the tag or
Your videos are very good thank you! However, your font size is killing me! Please increase it a lot. The maximize is not making it easier.
Hi Everyone,
I am just follwoing the Naveen's steps but not able to click on Login button. Are you able to click on it if you tried or Naveen can you help here.
Hey, I really need help with opening the new driver with existing profile so i dont have to do 3step login which cant be automated.
Is there any possible to switch the frame using index or xpath?
Yes
why you put thread.sleep when you are already using implicitly wait?
How to come back to main web page if we are inside frame index no 2 for example. It’s a must interview question. Please help
Hi Naveen , was going through your videos and exercising it the same but I am getting following error Exception in thread "main" org.openqa.selenium.WebDriverException: unknown error: Element is not clickable at point (1182, 117). Other element would receive the click: ...
(Session info: chrome=65.0.3325.181)
I have written exactly the way , you have but why i am receiving this.
Hi Naveen, am unable to click on sign up button in freecrm website .. below code used to click on sign up
Driver.findelement(By.xpath(//a[contains(text(),'Sign')])).click();
Saying as it is not clickable at point(1062,45)
ramya the text which u had placed inside the XPath is giving an error.
i think it should be. By.xpath(//a[contains( 'text(), 'Sign In'));
How to switch the , if the Name / id is dynamic. How we will handle this?
hii sir i have a doubt that how i can switch control from one tab to another
sir ,im using a normal pc,not a macbook.when im right clicking to inspect the element for frame control is not showing this frame but view page source is identified.How should i inspect for the frame in a chrome browser
install Chropath in chrome
When you inspect the element, in Elements you can see the HTML code if there are any frames or not.
Hi Naveen, i am not able to get this application in google can you please help me.
Some websites block the right click, how to find out frames existence in this case.Can u plzz explain??
ask to google
hi naveen, am trying to automate compose mail in gmail. Am unable to automate insert photo in compose mail which is a frame. Can you please help me out.
Sometime alert is come up before we click on any button then how we handle this popup
hi Naveen i'm not able to get frame info in frame source.Please help
if there are three frames , one parent and two child how to traverse from parent to both child ?
THANKS FOR THE VID nAVEEN, i TYPED THE CODE EXACTLY AS YOU DID, BUT MY CLICK COMMAND IS NOT WORKING. AFTER LAUNCHING, IT IS TYPING PSSRD AND USERNAME, AND MESSAE POP UP COMING UP ON THE WEBSITE AND STOPPING THERE
+david villa hi David, put Thread.sleep(3000) after click operation and then try.
Thanks for the prompt respond Naveen, I tried it also but still did not get expected result. do you thing I should try with different locator on that element? and also , I have learned that implicit wait time 2-3 seconds are preferrable, giving more time is not that preferrable. is there any spesific reason for giving 30 second for implicit wait time? Thanks Naveer as always you are my hero )))
Hi David, could u please paste your code here. about implicit wait, give wait around for 30 seconds - its not a static wait. its a dynamic wait, if an element is found within lets say 5 secs, rest of the 25 secs will be ignored. it's not compulsory to give 30 secs, its upto you. If your app is very slow coz of network issue or internet issue. then accordingly u can increase/decrease this time.
Thanks Naveen, everything is working now! Thanks AGain for the prompt respond!!!
Great! :)
Hi Naveen, I have read that W3C has made frames obsolete and I am trying hard to find a site which has html frames. Can you/anyone here provide me a sample site which has html frames?
Hello sir, i by using custum xpath login button is not working for me, please help me out
Naveen:
1st Question: How to verify if page is in iFrame or not in Chrome Browser
2nd Question: I am not able to handle this popup or frame, please have a look
html.com/input-type-file/ => After entering this link, wait for 10s
Can u Please give all thejars used in the project
can u mention the link for "HOW TO CREAT YOUR OWN XPATH"
you go to inspect on browser ,_> get the target -> get tag name for example : //input[@name='namedid'] for path //name=('namedid') ; for css
What Site you mention in this video is now changed a lot... Not efficient for testing this particular portion
use this url : classic.crmpro.com/
@@naveenautomationlabs Thank you so much Sir! So quick response 😊… I really didn’t expect ….
Hello sir, pageloadTimeout and implicitlyWait not working. Type missing error show
Can you please help me with the "leftpanel".
Sir ... this code "driver.findElement(By.xpath("//input[@type='submit']")).click();" is working fine in Firefox... but why it is not working in chrome ...
showing error.... Element is not clickable at point (916, 117)... pls reply
try submit() method instead of click();
Why window was not getting maximized ?
hi if i having 3 frames and when i'm in 3rd frame how can i switch to 2nd frame pls any one can rply me please, in one interview they asked me this question
How to get all the frame names?
How to reload the frame in Selenium ???
When I try put id password on crmpro it is not working. Please provide me new credentials.
still not getting when to use switch to frame ?
you my friend is going to heaven i have made a reservation for you
How to get out of frame? please tell
How to check frames using code?
The xpath of Login is exactly correct, Still after entering correct id and password, not able to log in on the site,
At first That pop up comes on window, which cant's dismiss(i tried by alert) and however i clicked on sign up link and again home link and then enter userid and password, now not able to log in.
Will you please help ?
driver.findElement(By.xpath("//div[contains(text(),'CHECKOUT')]")).click();
driver.switchTo().frame("snap-midtrans");
driver.findElement(By.xpath("//a[contains(@href, '#/select-payment')]"));
'
hallo sir , why can't I get the path on the frame?