cancel
Showing results for 
Search instead for 
Did you mean: 

Text box unable to detect value when entered using Writer

GouthamRamesh
Level 2
Hi,  I'm writing into a textbox using writer,On entering some data into it a button next to it is enabled. The button is disabled if the textbox is empty. I'm writing into a textbox  but the textbox is unable to recognise that there is any value in it. Only when i click it manually the adjacent button is enabled. Why does this happen?   I notice that when writer is used, the cursor does not move. Please help me with this   Cheers, Goutham
12 REPLIES 12

GerickAdolfo
Level 2

I had the same challenge recently. What I did:

Reference; 

Object 1 : Original Object I created to interface. (Browser - chromium / Edge)
Object 2 : Another Object - Internet Explorer

1. Created a New Object. (Object 2)
2. Attached the New Application Model (Object 2) to the already opened browser. (Opened by Object 1)
3. Spy the text box, and other elements, using UI Automation
4. Create an Page within the Object
5. Use the Send Keys to send the txt (This now works!)
6. Publish the Page of Object 2
7. Call the Page of Object 2 from Object 1 to Send Keys!

Worked for me!



------------------------------
Gerick Adolfo
Developer
Ernst and Young
Asia/Manila
------------------------------

Did you try using a navigate stage and "Global Send Keys"?

You might have to use the root element of the application for that

but ensure the text box you want to write to has the focus (for me it worked best with doing a "Click Center" in the text box before writing the text using "Global Send Keys".

EDIT: This thread already got a "Best Answer".

------------------------------
Alight Motion APK
------------------------------

This worked for me. Absolutely nothing else did. Global send keys, global send key events, copy/paste, click field first, activate popup, focus, tab back and forth, surface automation click, they all failed. Thanks for sharing.



------------------------------
Luis Martinez
RPA Developer
Genuine Parts Company
America/Chicago
------------------------------