What do you want to save?
Add Code snippet
New code examples
-
Other 2021-10-13 13:27:16
how to use log4j
How do you use Log4J in your framework? Basically it is printing/logging the important events of the application/test run. in my project I did logging using the log4j library. I added the library dependency into pom.xml. For logging we create an object fr... Add solution -
Other 2021-10-13 13:15:07
parameterized in framework
HOW DO YOU PARAMETERIZE YOUR TEST CASES IN YOUR FRAMEWORK? Cucumber: - By using regular expression in feature file ==> when user enters "myusername" and "my password" - Configuration.properties file TestNG: - By usin... Add solution -
Other 2021-10-03 19:05:03
log4j
How do you use Log4J in your framework? printing/logging the important events of the application/test run. in my project I did logging using the log4j library. I added the library dependency into pom.xml. For logging we create an object from Logger Interf... Add solution -
Other 2021-10-02 14:39:07
how to parameterized test cases in framework
HOW DO YOU PARAMETERIZE YOUR TEST CASES IN YOUR FRAMEWORK? Cucumber: - By using regular expression in feature file ==> when user enters "myusername" and "my password" - Configuration.properties file TestNG: - By using 'parame... Add solution -
Other 2021-10-02 04:54:04
Cross Browser and Parallel Test
I achieve it with xml file. In TestNG is quite simple to do parallel testing. . First I create TestNG xml runner. Then I create suites or test tags in the xml runner. In these tag, I point to package or class I want to run. Then I add and option like par... Add solution -
Other 2021-10-02 02:22:03
how to run multi browser testing in testng
I achieve it with xml file. In TestNG is quite simple to do parallel testing. . First I create TestNG xml runner. Then I create suites or test tags in the xml runner. In these tag, I point to package or class I want to run. Then I add and option like par... Add solution -
Other 2021-09-29 16:05:02
reports cucumber
There are different type of Cucumber reports. 1. Pretty Report: It only generates a very basic report on IntelliJ/Eclipse console. We can make the console output more readable by using "monochrome = true" under @CucumberOptions. 2. Cucumber ... Add solution