Комментарии:
Good one bro
ОтветитьWhen you do a real time example, kindly include reporting also part of that , so that we will get to know, the end to end flow, thanks
ОтветитьThanks for the video and good real time example.I have two questions could you please answer them.
1.Why have you not used Xpath (Ex : //div[@id='loanamountslider']//span) instead of CSS.
2.Does this script works on different screens like desktop,laptop etc... If the resolution changes does it works.
Hi Krishan, I've recently attended an interview from Nike. I didn't get the job but the question asked was..How to prevent threats in selenium?
nike has their websites running in china,japan and usa and how do you prevent threats?
I didn't understand that what is the benefit of this automation when you can do it manually, in mean time while you spend time writing those scripts. I have a question that can we set loop and test all possible combinations with new value everytime,
ОтветитьLearned something new and had no idea this can even be done. Thanks great video.
Ответитьcan we do it in ecllipse ?
ОтветитьHi in my chrome slider option is not showing .
Ответить[RemoteTestNG] detected TestNG version 6.9.9
[TestNG] Running:
C:\Users\Vipin\AppData\Local\Temp\testng-eclipse--1055828283\testng-customsuite.xml
Starting ChromeDriver 2.41.578737 (49da6702b16031c40d63e5618de03a32ff6c197e) on port 14831
Only local connections are allowed.
[1556733333.515][WARNING]: Timed out connecting to Chrome, retrying...
FAILED: calculateLoanEMI
java.lang.AssertionError: expected [49,919] but found [92,439]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertEquals(Assert.java:125)
at org.testng.Assert.assertEquals(Assert.java:178)
at org.testng.Assert.assertEquals(Assert.java:188)
at excercise.RealTimeSelenium1.calculateLoanEMI(RealTimeSelenium1.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:816)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1124)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
at org.testng.TestRunner.privateRun(TestRunner.java:774)
at org.testng.TestRunner.run(TestRunner.java:624)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:359)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:354)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:312)
at org.testng.SuiteRunner.run(SuiteRunner.java:261)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1215)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
at org.testng.TestNG.run(TestNG.java:1048)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:114)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)
===============================================
Default test
Tests run: 1, Failures: 1, Skips: 0
===============================================
===============================================
Default suite
Total tests run: 1, Failures: 1, Skips: 0
===============================================
[TestNG] Time taken by org.testng.reporters.XMLReporter@2752f6e2: 383 ms
[TestNG] Time taken by org.testng.reporters.EmailableReporter2@48140564: 282 ms
[TestNG] Time taken by org.testng.reporters.SuiteHTMLReporter@c818063: 795 ms
[TestNG] Time taken by org.testng.reporters.jq.Main@7dc36524: 1598 ms
[TestNG] Time taken by [FailedReporter passed=0 failed=0 skipped=0]: 99 ms
[TestNG] Time taken by org.testng.reporters.JUnitReportReporter@2133c8f8: 369 ms
[RemoteTestNG] detected TestNG version 6.9.9
[TestNG] Running:
C:\Users\Vipin\AppData\Local\Temp\testng-eclipse--1055828283\testng-customsuite.xml
Starting ChromeDriver 2.41.578737 (49da6702b16031c40d63e5618de03a32ff6c197e) on port 14831
Only local connections are allowed.
[1556733333.515][WARNING]: Timed out connecting to Chrome, retrying...
FAILED: calculateLoanEMI
java.lang.AssertionError: expected [49,919] but found [92,439]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertEquals(Assert.java:125)
at org.testng.Assert.assertEquals(Assert.java:178)
at org.testng.Assert.assertEquals(Assert.java:188)
at excercise.RealTimeSelenium1.calculateLoanEMI(RealTimeSelenium1.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:816)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1124)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
at org.testng.TestRunner.privateRun(TestRunner.java:774)
at org.testng.TestRunner.run(TestRunner.java:624)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:359)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:354)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:312)
at org.testng.SuiteRunner.run(SuiteRunner.java:261)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1215)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
at org.testng.TestNG.run(TestNG.java:1048)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:114)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)
===============================================
Default test
Tests run: 1, Failures: 1, Skips: 0
===============================================
===============================================
Default suite
Total tests run: 1, Failures: 1, Skips: 0
===============================================
[TestNG] Time taken by org.testng.reporters.XMLReporter@2752f6e2: 383 ms
[TestNG] Time taken by org.testng.reporters.EmailableReporter2@48140564: 282 ms
[TestNG] Time taken by org.testng.reporters.SuiteHTMLReporter@c818063: 795 ms
[TestNG] Time taken by org.testng.reporters.jq.Main@7dc36524: 1598 ms
[TestNG] Time taken by [FailedReporter passed=0 failed=0 skipped=0]: 99 ms
[TestNG] Time taken by org.testng.reporters.JUnitReportReporter@2133c8f8: 369 ms
this is the error i got when i run this case on ecllipse .Please replay me back .I will share my code in next comment .
Ответитьthanks!
ОтветитьKrishna Sakinala i hope you are well, i have got a question , i am interesting in a curse of udemy "Groovy Fundamentals For Testers - Step By Step" perhaps have you got any
discount coupon, I want to buy your course, greetings, I wait for an answer
Excellent explanation !! Thank you so much !!
Ответитьthe video is very helpful! Thanks!
can you upload a Selenium tutorial for New IRCTC website rain booking.?
I would be very happy to work with you work for this.
i don't have experience in Selenium but will do that.
really looking for someone who could help!
Hi sir I have one question
In this script u r using Action class why u r choosing action with out action u can't do it sir ???
thank you so much
ОтветитьSir could you please make more videos on real time examples of selenium
ОтветитьThanks
ОтветитьGreat Job Sir. Will find myself lucky if got one live entire automation project exactly the way you have created this video for a single module.
ОтветитьSir i'm getting error at xOffset and also yOffset
ОтветитьSir, you r teaching is well. Kindly share your mail id
ОтветитьCould u give the software for Automated selenium testing tool ..i learned this course long back before 2yrs. I dont have practical kmowldge i learnded manual testing and automated i dnt hve software s of that to.practice because of no desktop/laptop please guide me i want to switch from technical to non techcnl job i want to do practice and i want to get job on this testing job
Ответитьsuper bro
ОтветитьIf the pixels change on the Monitor being SD or FullHD or 2k or 4k or vertical orientation then this is a really bad test case. What if you run this on jenkins which has no monitor or chrome? Such hard coding needs to be avoided at all costs. Please tell me I am wrong and that this is not hardcoding. Will wait for your reply.
ОтветитьWhy we are using CSS selector specifically to locate the slider circles? Can't we use other locators like Xpath? - Please clarify
Ответитьsir ell or selenium which one is more preferable as a fresher.
ОтветитьGreat Job... Please post more videos on real-time scenarios. It's a great help to all of us. Let me know if you provide paid classes on real-time scenario scripting.Thanks
ОтветитьHi Sir. Thank you very much for the video. I don't know about Page Ruler prior to this video but got to know from this video🙂. Kindly make a series for a end to end project. Your explanation is up to the point..very neat and clean as well. Your series on end to end project explanation will definitely make us to learn new things and we will learn how to automate a real time project. Thank you once again😁
Ответитьnice
Ответить