18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Array concatination in Sahi - Reg.

muralimurali Members
edited November -1 in Sahi - Open Source
Hi friends,

I could not able to get the length of the concatinated array, here is the senario:

var $finalFlightsLst = $FlightCountArrMain_gbl.concat($FlightCountArrReturn_glb);

where $FlightCountArrMain_gbl and $FlightCountArrReturn_glb both are arrays of different length.

when i tried to get $finalFlightsLst.length , sahi says 'NaN'. I wonder why the length is not returned.

Can anyone help me.

Thanks in advance,
Murali.

Comments

  • check the content of the arrays. Looks like Not a number appears with conflicts between string and numbers.

    Content of your array can give you some direction to resolve the issue.
Sign In or Register to comment.