Failures when click on (plus symbol )to open new page

when run web test I have failures

- [FAILED] - Unable to click on object ‘Object Repository/Page_ (1)/i_fa fa-plus’ (Root cause: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: ‘Object Repository/Page_ (1)/i_fa fa-plus’ located by ‘By.xpath: /html[1]/body[@class=“sidebar-mini arabic”]/div[2]/div[@class=“wrapper”]/aside[@class=“main-sidebar”]/section[@class=“sidebar client”]/ul[@class=“client-sidebar-menu”]/li[@class=“treeview active”]/ul[@class=“treeview-menu menu-open”]/li[3]/a[@class=“add-feature-btn”]/i[@class=“fa fa-plus”]’ not found)

what I can do to solve this error?
how I can found correct Xpath ??

Hi Maha,

May I know where is that plus symbol located?

Is that the open new tab button in chrome?


plus icon is located in the main page
open new page in the same tab (main page ) …

if object spy plugin is working :
1. rightclick on object on object repository, choose Add to Web Object Spy
2. from object spy try to shorten xpath in way that can be used in tour TC
if not, use tools like xpath for chrome or polugins for firebug in FF to figure out best x-path

my wild guess that can probably work would be:
//section[@class="sidebar client"]//a[@btn"]/i[@class="fafa-plus"]

So the plus icon is part of the website right?

There few elements/objects that Katalon spy web can’t capture.

You can try another approach. Use the inspect element of your browser and try to locate that
plus symbol. If you can locate it then copy the xpath and try to run your test again.

Hope that helps.