Get help with testing, discuss unit testing strategies etc.


Post by Bhavana Kunjal »

Hi,

I am trying to click on a text using siesta, but not able to succeed.

Following is the code which I got during recording.

 { click : "#contentRegion #bomgroupsTree treeview => .x-tree-node-text", offset : [29.419998168945312,7.589996337890625] },

The above line of code has a text in the application,
For ex: Pipeline

I want to change the above code as something like below,

{ click : "#contentRegion #bomgroupsTree treeview => .x-tree-node-text[text=Pipeline]", 

or

{click : "*[text=Pipeline]"}

but it is not working.

Can you please guide me with this ? :?:

Post by nickolay »

Hi,

Well, if it does not work, then probably the selectors you specify does not match the actual element? What if you manually run "document.querySelectorAll" in console?

Post Reply