What do you want to save?
Add Code snippet
New code examples
-
C# 2021-09-09 07:53:04
method to retrieve elements from xml c#
using System; using System.IO; using System.Xml; public class Sample { public static void Main() { //Create the XmlDocument. XmlDocument doc = new XmlDocument(); doc.Load("books.xml"); //Display all the book titles. Xml... Add solution -
TypeScript 2021-09-08 15:21:04
how to parameterize test cases
Cucumber: - By using regular expression in feature file ==> when user enters "myusername" and "my password" - Configuration.properties file TestNG: - By using 'parameter' key word in pom.xml file and using it in my @Test ann... Add solution -
Other 2021-09-08 13:35:02
How do you validate data in Postman?
I mostly use preInstalled js testScripts in postman Some of the snippets I use: Get an environment variable Set an environment variable Clear a environment variable Clear a global veriable Get a global variable Set a global variable Send a request Respon... Add solution -
Java 2021-09-08 10:04:01
Internal Exception: java.sql.SQLSyntaxErrorException: Table 'sql4409754.SEQUENCE' doesn't exist Error Code: 1146
// Add following lines to the persistence.xml <property name="eclipselink.ddl-generation" value="drop-and-create-tables"/> <property name="eclipselink.create-ddl-jdbc-file-name" value="createDDL_ddlGeneration.jd... Add solution -
PHP 2021-09-08 09:39:01
create a random question generator php
<?php //Connect with mysql $db = new mysqli("host","user","pass","db"); //Perform the query to choose random questions $query = $db->query("SELECT * FROM `table` ORDER BY RAND() LIMIT 2... Add solution -
Kotlin 2021-09-08 06:45:04
kotlin round border in xml
<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" > <!-- we define background color --> <solid android:color="#c0... Add solution