Question

Acumatica Test SDK - No Such element Exception

  • 3 June 2021
  • 0 replies
  • 22 views

Hi,

I’m having trouble with the acumatica’s automated testing wherein I wasn’t able to make the test pass every time I’m passing a value to the subaccounts. I’m getting this error

NoSuchElementException: Could not find a web element by the locator: css=#_ctl00_phG_tab_t0_PXGrid1_lv0_es div.buttonsCont > div

I already re-generated the wrapper file.

Tried using .Type

screen.VariableRateDetail.Row.ARSubAccountID.Type(detRow["ARSub"].ToString());

Tried using .Select

screen.VariableRateDetail.Row.ARSubAccountID.Select(detRow["ARSub"].ToString());

Tried overriding the Locator

screen.VariableRateDetail.Row.ARSubAccountID.Locator = screen.VariableRateDetail.Row.ARSubAccountID.ClearLocator;

Unfortunately, the error still persists. I have no clue on what causes the error.

I hope you can help me. Thank you.

-------------------------
Additional Information: The lookup mode for the Subaccount Segmented key is currently By Segment: All Avail. Segment Values.


0 replies

Be the first to reply!

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2020  Acumatica, Inc. All rights reserved