What do you want to save?
Add Code snippet
New code examples
-
Other 2021-10-02 10:26:04
api tools
Tools to send API request Postman -- Desktop client tool Curl -- Command line client tool RestAssured -- Java client library SoapUI -- Desktop client tool A lot of API documentation provide curl command for example when we run the request and Postman can... Add solution -
Other 2021-10-02 10:20:02
how to handle sync
- Synchronization is making sure our driver and browser are on the same page. - Since selenium browser driver is a lot faster compared to the browsers , we use different types of waits to make sure selenium is synchronized with browsers. There ar... Add solution -
Java 2021-10-02 09:26:02
amstrong
//Java program to check whether a number is armstrong or notimport java.util.Scanner;public class armstrong_number_or_not{ public static void main(String[] args) { //scanner class declaration Scanner sc = new Scanner(System.in); //input from user Syst... 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 -
Java 2021-10-01 20:34:07
Java program to check palindrome string using recursion
import java.util.Scanner; public class RecursivePalindromeJava { // to check if string is palindrome using recursion public static boolean checkPalindrome(String str) { if(str.length() == 0 || str.length() == 1) return true; ... Add solution -
Java 2021-10-01 15:08:09
String palindrome in java using stringbuffer
// String palindrome in java using stringbuffer public class PalindromeUsingStringBuffer { public static void main(String[] args) { String strInput = "nayan"; StringBuffer sb = new StringBuffer(strInput); sb.reverse(); ... Add solution -
Java 2021-10-01 11:20:02
Multiple representations of the same entity are being merged
The correct solution would have been to upgrade to hibernate 4.2.15 / 4.3.6 or above and add the following lines to your persistence.xml: <property name="hibernate.event.merge.entity_copy_observer" value="allow"/> multiple repr... Add solution
Best helpers
Ranking is empty