The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 802 - File: showthread.php PHP 7.2.19-0ubuntu0.18.04.2 (Linux)
File Line Function
/showthread.php 802 errorHandler->error



Current time: 09-16-2019, 08:39 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script containing sendKeyPress (ENTER button)
12-07-2013, 05:58 AM (This post was last modified: 12-07-2013 05:58 AM by sivicencio.)
Post: #1
Script containing sendKeyPress (ENTER button)
Hello.

I'm having problems with a script I'm writing and trying to execute. This script fills an input field (had to use exec scripting function for context-specific issues) and then tries to press ENTER to do something else. Here's the script:

combineSteps
navigate http://todomvc.com/architecture-examples/emberjs/
exec document.getElementById('new-todo').value='Example task'
sendClick id=new-todo
sendKeyPressAndWait id=new-todo ENTER


The thing is it doesn't perform the ENTER keypress event and I can't figure out why.

Any thoughts? Thank you.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Script containing sendKeyPress (ENTER button) - sivicencio - 12-07-2013 05:58 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)