What do you want to save?
Add Code snippet
New code examples
-
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-12 03:32:12
disadvantage of page object model
- "Takes more time in the beginning" - To be able to automate test case, we have to create a set of structures and create a logic. - Initially it takes more time to create POM Design Pattern. - But in the long run, since we ge... Add solution -
Other 2021-10-07 09:07:04
why did you choose page object model
Pom basically Creating java classes for the each page of our application, and storing related webelements, and methods in their respective classes. Advantages of POM = First of all, it makes our code REUSABLE. I don't have to repeatedly locate web el... 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-30 14:13:02
how to use abstraction in your project
I used in defining a common super class while writing POM layer of the framework We usually create an abstract class named BasePage to have all common members for every page written in this class like getPageTitle(). Then each Page class (HomePage, LoginP... Add solution