If you’re looking to run your tests on different browser and operating system combinations but you’re unable to justify using a third-party solution like Sauce Labs then what do you do? With Selenium Grid you can stand up a simple … Read More
How To Download a File with Selenium PYTHON, RUBY, JAVA
Just like with uploading files we hit the same issue with downloading them. A dialog box just out of Selenium’s reach. A Solution With some additional configuration when setting up Selenium we can easily side-step the dialogue box. This is done by instructing the browser to download files to a specific location … Read More
How to install TestNG in Eclipse?
Click on the Help and then Eclipse Marketplace. A new window would open, wherein you need to type “TestNG” in the Find text box and click on the Go button. You will now see the search results with … Read More
Useful Test Automation Regex
To get only number from the string \d+ To get just amount value ([0-9]+[\\.,0-9]*) To get first 5 characters from a string ^.{5} To get the text of btw two strings (?<=Reference is )(.*)(?= and)
Useful Ranorex code snippets
1. To get current Test case name: 2.To add image in report 3. To get Test status and Test suite status 4.To log Html in report 5.Example for Table Iteration: 6. To get the report … Read More
How to Create Java Method?
Method is collection of code which run only when it’s called.Method also called as Functions. Method syntax: Type of methods Method without return type Method with return type Method with parameters Static methods
How to print int and String using Java system.out.println?
In this post, we are going to learn how to use print and println java statements to print Integer and String variables. System.out.print prints the integer or string without the new line. For an example … Read More
How to create and run first java program or java class in Eclipse?
This post will explain How to create and run first java program or java class in Eclipse IDE software. To create class in eclipse, first you should to know how to create project in eclipse. … Read More
How to create Java project in Eclipse IDE?
It is simple. You just need to do the below navigation in eclipse to create new Java project in eclipse IDE. Option 1 Click File ->New ->Java Project as mentioned in the below screenshot If … Read More
How to fix java.lang.IllegalStateException: The driver is not executable issue?
If you are trying to run automation script on Mac chrome browser, first you have to chromedriver as executable file. To make chromedriver as executable file you have to use below command in Mac terminal. … Read More