Hi,
We are trying a Proof of Concept on one of our existing Windows Application using Winium and unfortunately when we are trying to click on a button it is clicking on the other button.
Any help is really appreciated.
Intended Object when Spy from UISpy tool

Object which it is clicking

Code being used for clicking
if (objElement.getAttribute("AutomationId").trim().
* equalsIgnoreCase("RingSalesBtn")) {
* System.out.println(objElement.getAttribute(
* "AutomationId").trim());
* System.out.println(objElement.getAttribute(
* "ControlType").trim());
* System.out.println(objElement.getAttribute( "ClassName").trim());
* System.out.println("+++++++++++++++"); objElement.click();
On a side note - It is working perfectly when using the Cruciatus framework and we wanted to use Java bindings.
Hi,
We are trying a Proof of Concept on one of our existing Windows Application using Winium and unfortunately when we are trying to click on a button it is clicking on the other button.
Any help is really appreciated.
Intended Object when Spy from UISpy tool
Object which it is clicking
Code being used for clicking
if (objElement.getAttribute("AutomationId").trim().
* equalsIgnoreCase("RingSalesBtn")) {
* System.out.println(objElement.getAttribute(
* "AutomationId").trim());
* System.out.println(objElement.getAttribute(
* "ControlType").trim());
* System.out.println(objElement.getAttribute( "ClassName").trim());
* System.out.println("+++++++++++++++"); objElement.click();
On a side note - It is working perfectly when using the Cruciatus framework and we wanted to use Java bindings.