Playing a script with NimRecorder doesn't fill in textbox as it was recorded

book

Article ID: 102891

calendar_today

Updated On:

Products

DX Infrastructure Management NIMSOFT PROBES

Issue/Introduction

I'm trying to create a script to enter text into a textbox in IE.  The recording session generated code similar to below.  However, it does not work during the replay.  
UsePage("Google")
    WriteHTML("INPUT TEXT[ID= 'q']", "hello")
    ClickHTMLElement("INPUT SUBMIT[VALUE= 'Google Search']")

Environment

NimRecorder 6.0
IE 11

Resolution

Use the Spy function and click the desired box.  Note that data from the page populates in the Spy box. 


Spy window

Copy the text from the descriptor box at the bottom.  Use this to correct the script:

WriteHTML("INPUT TEXT[ID= 'q']", "hello")

becomes

WriteHTML("INPUT TEXT[NAME= 'q']", "hello")


Then save and run the script.

Attachments