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 ! |
|||
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/ |
|||
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.
|
|||
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/ |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)