Current time: 07-07-2020, 05:10 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to test with a script?
07-06-2013, 04:55 AM
Post: #2
RE: How to test with a script?
Greetings

FWIW, I just manually ran these steps locally using IE8 and, in addition to the page not looking *anything* like it does under Firefox, it doesn't respond to the <ENTER> key when the id="new-todo" field is populated.

On the WebPageTest.org site, Firefox, IE8 and IE10 all either took forever to respond or came back with no results. However, if you enter this as your script:

logData 1
navigate http://todomvc.com/architecture-examples/backbone/
setValue id=new-todo Example task
sendKeyDown id=new-todo ENTER
click innerHTML=Completed

and select IE9 as your browser option it will return results rather quickly. Maybe that will help track down what's going on. IMPORTANT NOTE: Be *sure* that your parameters are TAB delimited not spaced.

Hope that helps

Robert




(07-05-2013 01:19 PM)sivicencio Wrote:  I'm doing a project where I need to execute some tests of the TodoMVC app (through the API). For now I'm just using the web interface, and I've tried a lot to execute the following scripted test:

logData 0
navigate http://todomvc.com/architecture-examples/backbone/
setValue id=new-todo Example task
sendKeyDown id=new-todo ENTER
logData 1
click innerText=Completed


But the result is always the same:
"The test completed but there were no successful results."

Here I have a screenshot of the issue. I've tried both entering the URL and not in the URL field.

What am I doing wrong?

I'd really appreciate some help, because I'm stuck with this for a few weeks.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
How to test with a script? - sivicencio - 07-05-2013, 01:19 PM
RE: How to test with a script? - RLilly - 07-06-2013 04:55 AM
RE: How to test with a script? - pmeenan - 07-08-2013, 10:44 PM
RE: How to test with a script? - pmeenan - 08-13-2013, 05:41 AM

Forum Jump:


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