This is a companion discussion topic for the original entry at https://docs.katalon.com/katalon-studio/docs/working-with-objects-selection-method-for-spyrecord-web.html
This is a companion discussion topic for the original entry at https://docs.katalon.com/katalon-studio/docs/working-with-objects-selection-method-for-spyrecord-web.html
In the process of determining why a menu option cannot be clicked I discovered the reason was that the XPath that was recorded is not being recognized. Why is the Object Spy tool putting XPATH that ITSELF cannot recognize? But after I change it, the test works fine.
XPATH recorded - //a[@id=‘FooBar’] <---- FAILS with error that it cannot find this.
CHANGED XPATH - id(“FooBar”) <---- PASS