Current time: 12-17-2017, 09:44 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to script the typeahead field ?
12-02-2017, 02:51 PM
Post: #1
how to script the typeahead field ?
Hi,

I am trying to automate a workflow for getting the performance metrics and currently blocked on the typeahead fields where i can enter the text, but the values dont appear.

Something similar to the one attached. Any help would be highly appreciated.

I tried something like this, but it not work as expected;

document.getElementById(<id>).value="bank";$(<id>).set("text\n");


Thanks !


Attached File(s) Image(s)
   
Find all posts by this user
Quote this message in a reply
12-04-2017, 09:56 PM
Post: #2
RE: how to script the typeahead field ?
I've done something similar before and will dig out my notes - I sent keystrokes to an autocomplete field

Is the page you're trying to test publicly accessible?

Andy

Using WebPageTest - http://usingwpt.com/
Visit this user's website Find all posts by this user
Quote this message in a reply
12-05-2017, 02:16 AM
Post: #3
RE: how to script the typeahead field ?
Thanks Andy that would be really helpful if you can provide some insights. Currently it is not publicly accessible.
Find all posts by this user
Quote this message in a reply
12-09-2017, 03:14 AM
Post: #4
RE: how to script the typeahead field ?
Slide 37/38/39 of this deck should give you some ideas - https://docs.google.com/presentation/d/1...sp=sharing

It uses jQuery which was already on the page but native JS could be used instead

Andy

Using WebPageTest - http://usingwpt.com/
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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