While loop not working in RPA Express


#1

Hi, below code is not working for me. I did the same as it is shown in the demo 2 video.

sendKeys("{CTRLDOWN}c{CTRLUP}");
variable1 = clipboardText();
while (!variable1.isEmpty()) {
sleep(700);
sendKeys("{RIGHT}");
sleep(700);
def i0 = variable1;
sendKeys(com.workfusion.studio.rpa.recorder.code.method.GetAutoitTextMethod.escapeText(String.valueOf(i0)));
sleep(700);
sendKeys("{LEFT}");
sleep(500);
sendKeys("{DOWN}");
sleep(700);
sendKeys("{CTRLDOWN}c{CTRLUP}");
sleep(2000);
variable1 = clipboardText();
}

Reg
Manoj


#2

@mjayaweera,

please post your zipped recording folder here


#3

thx. for the reply. I had a work around.