• You are not logged in.

#1 Dec. 18, 2014 14:52:08

Mohasin
Registered: 2014-12-18
Posts: 2
Reputation: +  0  -
Profile   Send e-mail  

How to record an <ENTER> Event

After fill keyword, There is no search button. Website goes to the page when we enter. While recording, I am not able to translate that action into an event. Can you please help!!

Attached is the website and a sample query scrip ID.

Attachments:
attachment Enter Event in fminer - Forum query.docx (70.7 KB)

Offline

#2 Dec. 19, 2014 13:46:21

Mohasin
Registered: 2014-12-18
Posts: 2
Reputation: +  0  -
Profile   Send e-mail  

How to record an <ENTER> Event



Admin , Please respond on the <ENTER> key issue. Thank you.

Offline

#3 Dec. 20, 2014 09:49:57

admin
Registered: 2012-03-15
Posts: 289
Reputation: +  1  -
Profile   Send e-mail  

How to record an <ENTER> Event

Here's no easy way to do this in FMiner, but you can use “runjs” action after “fill” to fire a ENTER event. Code like this:

evt = document.createEvent("KeyboardEvent");
evt.initKeyboardEvent("keyup", true, true, window, false, false, false, false, 13, 0);
document.getElementById("suggestBoxEQ").dispatchEvent(evt);

See demo in attachment.

Attachments:
attachment 123.fmpx (4.4 KB)

Offline

Board footer

Moderator control

Powered by DjangoBB