Control not being found on Jenkins Slave
Posted: Tue Jan 19, 2016 1:53 pm
I am testing a Desktop application on the Jenkins Slave.
There is a huge button called Save Form.
When I run on my own PC, no problem.
When I run on the Jenkins Slave, I can see the button clearly, but Ranorex cannot.
The field is defined in the Path: container[3]/button[@text='Save Form']
I have tried variations, such as removing the index [3]. This works equally well on my PC, but still does not get the control found on the Jenkins Slave.
I have also tried adding a delay. That made no difference.
I have also tried the text SAVE FORM in Uppercase (as it is actually in uppercase) - but that made no difference either.
There is currently no AutomationID on the field, & I have asked such to be added on the next release.
Hopefully, they will consider my request.
It is frustrating, as I can clearly see the button. You just want to grab it & say here it is - look!
There is a huge button called Save Form.
When I run on my own PC, no problem.
When I run on the Jenkins Slave, I can see the button clearly, but Ranorex cannot.
The field is defined in the Path: container[3]/button[@text='Save Form']
I have tried variations, such as removing the index [3]. This works equally well on my PC, but still does not get the control found on the Jenkins Slave.
I have also tried adding a delay. That made no difference.
I have also tried the text SAVE FORM in Uppercase (as it is actually in uppercase) - but that made no difference either.
There is currently no AutomationID on the field, & I have asked such to be added on the next release.
Hopefully, they will consider my request.
It is frustrating, as I can clearly see the button. You just want to grab it & say here it is - look!