‎2008 Sep 09 1:48 AM
Hi,
Anyone know if it is possible in ecatt to test a value in a result field.
My transaction creates a report which displays in an inline excel sheet. I know what the value of a given cell in the sheet should be so am I able to put something into the test script that verifes the cell content and logs the script as pass or fail depending on that check.
cheers,
RossG.
‎2008 Oct 08 9:58 AM
Hello,
You can check the value by using if .. endif to compare the value retrieved against the value you have, or you can also perform the check using the CHEVAR ( <parameter1> <comparison operator> <parameter2> ) command.
Hope it answers your question.
Thanks and Best regards,
Ajay
‎2008 Oct 08 9:58 AM
Hello,
You can check the value by using if .. endif to compare the value retrieved against the value you have, or you can also perform the check using the CHEVAR ( <parameter1> <comparison operator> <parameter2> ) command.
Hope it answers your question.
Thanks and Best regards,
Ajay
‎2008 Oct 08 10:35 AM
Hi Ross,
If you would like to embed the XLS with your eCATT script, maybe you can try the 3rd party tool Compuware TestPartner, as Excel is a windows application and eCATT tool itself cannot support any Windows applications directly. You can use the VBA provided by Microsoft to read the cells of XLS. Then make the comparison by either pass the value back to your eCATT script via CHEVAR or directly compare the results in the XLS and return the comparison result of TRUE or FALSE.
You need a license if TestPartner is used.
Kind Regards, Qian