![]() This is just the same requirement that you would haveįor a real human operator - no human can click on something if the desktop has been locked. The real-user commands XClick and XMove have one drawback: As they simulate real user input, they requireĪn unlocked user desktop to simulate events, and the browser window has to be in the foreground. This sounds great, so why would one use the classic Click or ClickAt command at all? In contrast the XClick and XMove commands avoid all these problems by simulating a real user click and mouse events.Įxample of a web app click that fails with the standard CLICK command, but works just fine with XCLICK. And even if you found the right locator, it can happen that the website logic swallows the Javascript click eventĮvent and it never reaches the target right element. It is often difficult to find the right element Google Gmail, Google Spreadsheet, Microsoft Office 365, Facebook, Instagram.) On simple websites this is often enough and works well.īut on modern complex websites (e. To identify a web page element, and then sendĪ Javascript mouseclick event to this element. This the reason why these commands all first require a locator Instead they operate on the Javascript level inside the browser DOM. The classic Click commands as used by UI.Vision RPA and any other Selenium IDE or browser automation tool do not simulate real mouse clicks! What is the difference between XClick/XMove and the Selenium IDE Click and ClickAt commands? N unlocked user desktop to simulate events - no real human user can work with a locked desktop either. And please note that the RealUser module requires The XClick, XMove and XType command need the RealUser XModules to be installed. Instead, you build these visual macros by adding one visual command after another. Note that XClick and XMove commands can not be recorded like The video uses the desktop automation mode, but everything works the same in web automation,Įxcept that the screenshots are taken directly inside the web browser. ![]() This video shows how to build a macro with XClick and XMove. XClick avoids all these problems by simulating a real user. finding the right locator) or they can fail completely on complex websites, as the website logic swallows the click event and does not In contrast the standard Selenium IDE ClickĪnd ClickAt commands operate on the Javascript level inside the browser DOM, and can sometimesr require dedicated debugging and Web app reacts 100% the same way as if a real human user executes this click. The advantage of this approach is that the The XClick and the XMove commands allows you to send real user mouse clicks to web page elements.
0 Comments
Leave a Reply. |