Skip to content

Instantly share code, notes, and snippets.

--test-params screencapture:true
app.Screenshot("Has taped the submit button.");
[Test]
public void Explorer()
{
app.Repl ();
}
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<EditText
android:id="@+id/MessageText"
android:hint="@string/MessageTextHint"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
[dom] id: "userForm:username"
[dom] id: "userForm:userFirstName"
>>> app.Query(c => c.Css("#userForm\:usernameField"))
>>> app.Query(c => c.Css("#usernameField"))
Query for Css("usernameField") gave 0 results.
[
]
app.Query(c => c.Css("#userForm\\\\\\:usernameField"))
app.Query(c => c.Css("#userForm\\\\\\\\:usernameField"))
using System;
namespace ConsoleApplication
{
public class Program
{
public static void Main(string[] args)
{
string name = "Harvey Specter";
int number = 42;
$name = "Harvey Specter"
$aNumber = 42
echo "Hello $name, your number is $aNumber"