Challenge

Project 2 - V&V SW Analysis II

Batch - Abinaya Inbamani

Question 1: Perform Static Code Review Analysis for “C:\**\LDRA_workarea\Examples\C_Testbed_examples\Testrain\Testrain.c” Generate Code review report and upload them.

Answer: Procedure to run static code review analysis in LDRA TOOL: 

Step 1: Run "LDRA_TBrun.exe"

Step 2: Go to source => select "single file" => choose "Ggrocers.c".

Step 3: Go to sequence => create new sequence => choose "new_proj1". click OK.

Step 4: Go to file view. Right-click "Ggrocers.c" set as white box.

Step 5: Go to source. Run static analysis.

Step 6: Once the code gets to run and finish in the log view. Go to Result =>View test manager report.

Step 7: Open the test manager result. finally, we are able to see results in Iexplorer. there we can visualize various parameters.

Question 2: Perform Integration testing by including all the .c files available in the folder location C:\*\LDRA_workarea\Examples\Toolsuite\Cashregister_6.0\ * A)Create the test cases manually as well as automatically using TBExtreme and upload the reports. B)store the test cases as .tcf file. Upload the location image where the .tcf file is stored.

Answer: Procedure to perform integration test:

Step 1: Run "LDRA_TBrun.exe"

Step 2: Go to source => select "multiple file" =>create name "new_proj2" for set files. then give 'system' to test functionality between .c files.

Step 3: Give add option and go to the respective folder and select all .c files.

Step 4: Once files get added click OK and give NO for LDRA test bed static code analyze.

Step 5: Go to "Configure" tab and then "Analysis Configuration Options" and then "Static Options".

Step 6: In the static option, include the files tab and choose the respective path for "Syssearch".similaly, select the macros tab and create a path for sysppvar.dat file.

Step 7: Go to source. Run static analysis.

Step 8: Once the code gets run and finish in the log view. Go to Results => View test manager report.

Step 9: Open the test manager result. finally, we are able to see results in Iexplorer.

Step 10: Go to sequence => create new sequence => choose "no_new_file". click OK.

Step 11: Go to file view. Right-click .c files set as black box.

Step 12: We can run automation testing for added code. Go to Extreme test and click Run tabular test.

Step 13: Once the test gets run automatically test case is generated using extreme test concept. finally, the result can be viewed in the result tab => test manager report.

Step 14: All generated test cases can be saved as TCF files. Go to source "save as TCF". test case generated can be exported.

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.