I have a written a intern functional test which copies data from one cell and pastes it to another cell. The problem is every time run the test and copy the data I get a dialogue box with the message
Pasting from clipboard is
currently turned off by your browser.Local Data will be
used
Now because of this popup my functional test freezes and everything else starts to fails. Luckily to avoid this there is a way. .acceptAlert()
.copyfunction()
.sleep(500) //wait for popup
.acceptAlert() //first attempt to copy after login causes alert about using local memory
.pastefunction()
Although this works locally there are times the test still fails when in jenkins. Its not stable. How do I make it stable.