AnsweredAssumed Answered

Not able to find the value in Excel sheet

Question asked by Pr615312 on Feb 9, 2016
Latest reply on Feb 10, 2016 by gajsr01

Hi,

 

I'm trying to print the value in excel sheet through this line of code but it is not working and not printing any result.

 

Airlines   = new Label(0, 1,testExec.getStateValue("Airlines_Fl"));

ws_FlightData.addCell(Airlines);

the code testExec.getStateValue("Airlines_Fl") is not giving me the proper result.

Please help.

When I'm running this java script the below error is coming out.....

============================================================================

| Error in Script

============================================================================

| Step:        Java Script Step

----------------------------------------------------------------------------

| Message:     Sourced file: inline evaluation of: ``import com.ca.sv.devtest.util.GenerateString; import java.io.File.*;  import jav . . . '' : Object constructor : at Line: 28 : in file: inline evaluation of: ``import com.ca.sv.devtest.util.GenerateString; import java.io.File.*;  import jav . . . '' : new Label ( 0 , 1 , testExec .getStateValue ( "Airlines_Fl" ) )

please find the attached code which I am using to write the result in excel sheet.

Attachments

Outcomes