https://chromedriver.chromium.org/mobile-emulation https://stackoverflow.com/questions/50533702/automating-responsive-design-using-selenium-webdriver driver.manage().window().fullscreen();This can bring full screen view (substitute of fit to screen)
Recently I did a course on exploring API testing by Amber race from test automation university.https://testautomationu.applitools.com/exploring-service-apis-through-test-automation/ It taught so many amazing things which can be applied to any API testing and really it is powerful. I have tried to put down some important points: P.O.I.S.E.D. testing heuristicP-ParametersO-OutputI-InteroperabilityS-SecurityE-ErrorD-Data API Contract:Request: – Endpoint – Header – Body Continue reading
ITestContext is basically used to store and share data across the tests in selenium by using TestNG framework. Let us consider below scenario –We have 10 test cases (@Test methods) to be executed to complete one end to end test case.Now in call 10 test cases (@Test methods) we are sharing some data like “Customer_id”, Continue reading
While working with DB connection it is important to follow Proper coding practice for DB open and close connection. DB connection pooling is a good way to manage it.We can use apache DB Util library for the same. Few important things to know: Preparing scrollable resultset :As we all know a general resultset is only Continue reading
Please follow this link for very nicely written tutorial for entire Jmeter series.https://artoftesting.com/jmeter-tutorial Official Link : https://jmeter.apache.org/usermanual/get-started.html However while working with Jmeter I felt the need of few important things that would help me perform some basic test and generate report, which I want to highlight here to get you all started quickly. Download Jmeter Continue reading
Every time tests fail in a suite, TestNG creates a file called testng-failed.xml in the output directory. This XML file contains the necessary information to rerun only these methods that failed, allowing you to quickly reproduce the failures without having to run the entirety of your tests. Sometimes, you might want TestNG to automatically retry Continue reading
We might need to run a particular test for multiple times for retesting and also leverage parallel test with Test method.It can also be used to load test.