Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
about QM3 Some suggestions
I need to fill several text input fields on a webpage in Google Chrome.
The following code works, but I have to add a 1-second delay; otherwise, the last text fills in the first text box.

In some other commercial RPA software, the steps recorded with the recording function can execute very stably without adding delays.
Most commercial RPA software uses XPath or CSS selectors for element positioning, but it seems that this method is not supported in LA or QM.

Is there a better implementation method in LA? thanks.
 
Code:
Copy      Help
var w4 = wnd.find(3, "test - Google Chrome", "Chrome_WidgetWin_1").Activate();
var e4 = w4.Elm["web:TEXT", "t1"].Find(3);
e4.SendKeys("Ctrl+A", "!1");
1.s();

var w5 = wnd.find(3, "test - Google Chrome", "Chrome_WidgetWin_1").Activate();
var e5 = w5.Elm["web:TEXT", "t2"].Find(3);
e5.SendKeys("Ctrl+A", "!a");
1.s();

var w6 = wnd.find(3, "test - Google Chrome", "Chrome_WidgetWin_1").Activate();
var e6 = w6.Elm["web:TEXT", "t3"].Find(3);
e6.SendKeys("Ctrl+A", "!b");
1.s();

var w7 = wnd.find(3, "test - Google Chrome", "Chrome_WidgetWin_1").Activate();
var e7 = w7.Elm["web:TEXT", "t4"].Find(3);
e7.SendKeys("Ctrl+A", "!c");

Sometimes, SendKeys Ctrl+A selects all the text on the entire webpage. Filling in the text boxes is the most troublesome issue I've encountered. Sad


Messages In This Thread
about QM3 Some suggestions - by Davider - 08-14-2022, 08:45 AM
RE: about QM3 Some suggestions - by Gintaras - 08-14-2022, 11:05 AM
RE: about QM3 Some suggestions - by Davider - 08-14-2022, 11:14 AM
RE: about QM3 Some suggestions - by Gintaras - 08-14-2022, 11:37 AM
RE: about QM3 Some suggestions - by Davider - 08-14-2022, 10:52 PM
RE: about QM3 Some suggestions - by Gintaras - 08-15-2022, 03:26 AM
RE: about QM3 Some suggestions - by Davider - 08-15-2022, 11:23 PM
RE: about QM3 Some suggestions - by Gintaras - 08-16-2022, 04:28 AM
RE: about QM3 Some suggestions - by Gintaras - 11-11-2022, 08:59 AM
RE: about QM3 Some suggestions - by Davider - 11-12-2022, 01:55 AM
RE: about QM3 Some suggestions - by Gintaras - 11-12-2022, 08:15 AM
RE: about QM3 Some suggestions - by Davider - 11-12-2022, 10:17 AM
RE: about QM3 Some suggestions - by Davider - 05-20-2023, 10:35 PM
RE: about QM3 Some suggestions - by Gintaras - 05-21-2023, 04:28 AM
RE: about QM3 Some suggestions - by Davider - 06-20-2023, 03:37 AM
RE: about QM3 Some suggestions - by Davider - 06-20-2023, 10:04 AM
RE: about QM3 Some suggestions - by Davider - 06-21-2023, 03:15 PM
RE: about QM3 Some suggestions - by Davider - 06-21-2023, 11:26 PM
RE: about QM3 Some suggestions - by Gintaras - 06-22-2023, 05:48 AM
RE: about QM3 Some suggestions - by Davider - 06-22-2023, 09:09 AM
RE: about QM3 Some suggestions - by Gintaras - 06-22-2023, 09:34 AM
RE: about QM3 Some suggestions - by Davider - 06-22-2023, 09:40 AM
RE: about QM3 Some suggestions - by Davider - 06-22-2023, 11:00 AM
RE: about QM3 Some suggestions - by Davider - 06-23-2023, 02:45 AM
RE: about QM3 Some suggestions - by Gintaras - 06-23-2023, 03:32 AM
RE: about QM3 Some suggestions - by Gintaras - 06-23-2023, 10:46 AM
RE: about QM3 Some suggestions - by Davider - 06-23-2023, 01:28 PM
RE: about QM3 Some suggestions - by Gintaras - 06-23-2023, 05:45 PM
RE: about QM3 Some suggestions - by Davider - 06-23-2023, 10:25 PM
RE: about QM3 Some suggestions - by Davider - 06-23-2023, 11:32 PM
RE: about QM3 Some suggestions - by Gintaras - 06-24-2023, 05:15 AM
RE: about QM3 Some suggestions - by Davider - 06-24-2023, 07:20 AM
RE: about QM3 Some suggestions - by Davider - 06-25-2023, 12:23 PM
RE: about QM3 Some suggestions - by Davider - 07-11-2023, 12:48 AM
RE: about QM3 Some suggestions - by Davider - 07-14-2023, 11:04 AM
RE: about QM3 Some suggestions - by Gintaras - 07-14-2023, 11:17 AM
RE: about QM3 Some suggestions - by Gintaras - 07-14-2023, 11:25 AM
RE: about QM3 Some suggestions - by Davider - 07-14-2023, 12:07 PM
RE: about QM3 Some suggestions - by Davider - 07-14-2023, 11:24 PM
RE: about QM3 Some suggestions - by Davider - 07-26-2023, 09:18 AM
RE: about QM3 Some suggestions - by Gintaras - 07-26-2023, 10:01 AM
RE: about QM3 Some suggestions - by Davider - 07-26-2023, 12:45 PM
RE: about QM3 Some suggestions - by Gintaras - 07-26-2023, 01:09 PM
RE: about QM3 Some suggestions - by Davider - 07-31-2023, 04:35 AM
RE: about QM3 Some suggestions - by Gintaras - 07-31-2023, 08:28 AM
RE: about QM3 Some suggestions - by Davider - 08-01-2023, 01:12 PM
RE: about QM3 Some suggestions - by Gintaras - 08-01-2023, 06:42 PM
RE: about QM3 Some suggestions - by Davider - 08-03-2023, 09:44 PM
RE: about QM3 Some suggestions - by Davider - 01-26-2024, 11:09 PM
RE: about QM3 Some suggestions - by Davider - 01-27-2024, 01:29 AM
RE: about QM3 Some suggestions - by Davider - 01-29-2024, 05:40 AM
RE: about QM3 Some suggestions - by Gintaras - 01-29-2024, 09:30 AM
RE: about QM3 Some suggestions - by Davider - 01-29-2024, 10:54 AM
RE: about QM3 Some suggestions - by Gintaras - 01-29-2024, 12:54 PM
RE: about QM3 Some suggestions - by Davider - 01-29-2024, 01:44 PM
RE: about QM3 Some suggestions - by Gintaras - 01-29-2024, 02:04 PM
RE: about QM3 Some suggestions - by Davider - 01-30-2024, 01:19 AM
RE: about QM3 Some suggestions - by Davider - 02-02-2024, 12:15 AM
RE: about QM3 Some suggestions - by Gintaras - 02-02-2024, 05:41 AM
RE: about QM3 Some suggestions - by Gintaras - 02-08-2024, 02:37 PM
RE: about QM3 Some suggestions - by Davider - 02-09-2024, 11:36 AM
RE: about QM3 Some suggestions - by Gintaras - 02-09-2024, 12:06 PM
RE: about QM3 Some suggestions - by Davider - 02-09-2024, 12:48 PM
RE: about QM3 Some suggestions - by Gintaras - 02-10-2024, 09:08 AM
RE: about QM3 Some suggestions - by Davider - 02-29-2024, 01:14 PM
RE: about QM3 Some suggestions - by Davider - 03-02-2024, 06:30 AM
RE: about QM3 Some suggestions - by Gintaras - 03-02-2024, 06:36 AM
RE: about QM3 Some suggestions - by Davider - 03-02-2024, 06:37 AM
RE: about QM3 Some suggestions - by Davider - 03-04-2024, 11:15 PM
RE: about QM3 Some suggestions - by Davider - 03-14-2024, 03:19 AM
RE: about QM3 Some suggestions - by Gintaras - 03-14-2024, 04:43 AM
RE: about QM3 Some suggestions - by Davider - 03-14-2024, 11:57 PM
RE: about QM3 Some suggestions - by Gintaras - 03-16-2024, 05:17 AM
RE: about QM3 Some suggestions - by Davider - 03-18-2024, 01:40 PM
RE: about QM3 Some suggestions - by Davider - 03-19-2024, 01:30 AM
RE: about QM3 Some suggestions - by Gintaras - 03-19-2024, 09:45 AM
RE: about QM3 Some suggestions - by Davider - 03-19-2024, 09:53 AM
RE: about QM3 Some suggestions - by Gintaras - 03-19-2024, 10:00 AM
RE: about QM3 Some suggestions - by Gintaras - 03-19-2024, 01:13 PM
RE: about QM3 Some suggestions - by Davider - 03-19-2024, 02:28 PM
RE: about QM3 Some suggestions - by Davider - 03-20-2024, 02:26 AM
RE: about QM3 Some suggestions - by Gintaras - 03-20-2024, 08:24 AM
RE: about QM3 Some suggestions - by Davider - 03-20-2024, 09:09 AM
RE: about QM3 Some suggestions - by Davider - 03-20-2024, 11:13 PM
RE: about QM3 Some suggestions - by Gintaras - 03-21-2024, 04:43 AM
RE: about QM3 Some suggestions - by Davider - 03-23-2024, 01:33 PM
RE: about QM3 Some suggestions - by Davider - 03-23-2024, 02:43 PM
RE: about QM3 Some suggestions - by Gintaras - 03-23-2024, 02:48 PM
RE: about QM3 Some suggestions - by Davider - 03-23-2024, 03:42 PM
RE: about QM3 Some suggestions - by Davider - 03-24-2024, 08:47 AM
RE: about QM3 Some suggestions - by Gintaras - 03-24-2024, 08:50 AM
RE: about QM3 Some suggestions - by Davider - 03-28-2024, 10:11 AM
RE: about QM3 Some suggestions - by Davider - 04-18-2024, 10:15 PM
RE: about QM3 Some suggestions - by Gintaras - 04-19-2024, 03:49 AM
RE: about QM3 Some suggestions - by Davider - 04-23-2024, 08:55 AM
RE: about QM3 Some suggestions - by Davider - 05-10-2024, 01:57 AM
RE: about QM3 Some suggestions - by Gintaras - 05-10-2024, 03:52 AM
RE: about QM3 Some suggestions - by Davider - 05-16-2024, 01:45 PM
RE: about QM3 Some suggestions - by Davider - 05-22-2024, 10:23 AM
RE: about QM3 Some suggestions - by Davider - 06-27-2024, 09:55 PM
RE: about QM3 Some suggestions - by Gintaras - 06-28-2024, 10:49 AM
RE: about QM3 Some suggestions - by Davider - 06-28-2024, 01:26 PM
RE: about QM3 Some suggestions - by Gintaras - 06-28-2024, 01:44 PM
RE: about QM3 Some suggestions - by Gintaras - 06-28-2024, 02:15 PM
RE: about QM3 Some suggestions - by Gintaras - 06-28-2024, 07:30 PM
RE: about QM3 Some suggestions - by Davider - 06-29-2024, 01:06 AM
RE: about QM3 Some suggestions - by Davider - 07-06-2024, 02:33 AM
RE: about QM3 Some suggestions - by Davider - 08-15-2024, 11:06 PM
RE: about QM3 Some suggestions - by Gintaras - 08-16-2024, 03:30 AM
RE: about QM3 Some suggestions - by Davider - 08-16-2024, 03:46 AM
RE: about QM3 Some suggestions - by Gintaras - 08-16-2024, 04:00 AM
RE: about QM3 Some suggestions - by Davider - 08-16-2024, 11:37 PM
RE: about QM3 Some suggestions - by Gintaras - 08-17-2024, 03:35 AM
RE: about QM3 Some suggestions - by Davider - 08-19-2024, 09:44 PM
RE: about QM3 Some suggestions - by Davider - 08-19-2024, 11:16 PM
RE: about QM3 Some suggestions - by Gintaras - 08-20-2024, 04:48 AM
RE: about QM3 Some suggestions - by Davider - 08-20-2024, 05:44 AM
RE: about QM3 Some suggestions - by Gintaras - 08-20-2024, 05:54 AM
RE: about QM3 Some suggestions - by Davider - 08-20-2024, 06:38 AM
RE: about QM3 Some suggestions - by Gintaras - 08-20-2024, 06:53 AM
RE: about QM3 Some suggestions - by Gintaras - 08-20-2024, 06:57 AM
RE: about QM3 Some suggestions - by Davider - 08-20-2024, 10:04 AM
RE: about QM3 Some suggestions - by Gintaras - 08-20-2024, 11:25 AM
RE: about QM3 Some suggestions - by Davider - 08-20-2024, 12:43 PM
RE: about QM3 Some suggestions - by Davider - 09-17-2024, 12:44 AM
RE: about QM3 Some suggestions - by Gintaras - 09-17-2024, 04:43 AM
RE: about QM3 Some suggestions - by Davider - 09-17-2024, 05:34 AM
RE: about QM3 Some suggestions - by Gintaras - 09-17-2024, 06:05 AM
RE: about QM3 Some suggestions - by Davider - 09-17-2024, 08:04 AM
RE: about QM3 Some suggestions - by Davider - 10-25-2024, 01:10 PM
RE: about QM3 Some suggestions - by Davider - 10-25-2024, 03:06 PM
RE: about QM3 Some suggestions - by Gintaras - 10-25-2024, 03:30 PM
RE: about QM3 Some suggestions - by Gintaras - 10-25-2024, 03:36 PM
RE: about QM3 Some suggestions - by Davider - 10-25-2024, 11:24 PM

Forum Jump:


Users browsing this thread: 8 Guest(s)