← Back to team overview

sikuli-driver team mailing list archive

[Question #229451]: What would be the Webdriver Java code equivalent of this step?

 

New question #229451 on Sikuli:
https://answers.launchpad.net/sikuli/+question/229451

I'm trying to convert a sikuli script written in Sikuli IDE to Java in eclipse. How can I convert the below line to Java ?

type(text_field.png, "sampletext" + `n`)

Here is my code

public void Add() {
    Screen s = new Screen();
    try {
        s.click("img/button_Add_Dmp.png", 0);
        s.wait("imgs/text_field.png");
        // I HAVE TO PUT THE TRANSCODED LINE HERE FROM SIKULI IDE

    } catch (FindFailed e) {
        e.printStackTrace();
    }
}


Also Please direct me to any tutorial available for this.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.