Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Logical Errors
#1
Not Solved
Hello friends,

In our Test Script we have 1000 lines of code, How can you identify logical errors in Script?

thanks & regards,
Baba Fakruddin.D
Reply
#2
Not Solved
Hi,

Generally in Vbscript there are Two Types of Errors:
1)Syntax Errors
2)Runtime Errors

Syntax Errors:
For knowing how many errors are there & what are they ?
Use Tools --> "Check Syntax" option (Ctrl+F7) , then all the syntax errors will be displayed in Information pane.

Runtime Errors : You can use "ERR" object for retrieving the Error information.
Reply
#3
Not Solved
One can run the script giving negative data as a test data and see the behaviour of the script, For logical error one has to have an approach of negative testing of the script.
Reply
#4
Not Solved
hi Tariksheth,

Does ur answer is related to Baba Fakruddin's Question ?
Reply
#5
Not Solved
yes,
I think logical errors are more to deal with the scenarios under which the scripts will be running.
Reply
#6
Not Solved
hi Tariksheth,

I acknowledge your explaination.

But what is the solution for below Question:

In our Test Script we have 1000 lines of code, How can you identify logical errors in Script?
Reply
#7
Not Solved
Well, one can use code analysis tool Like
1. FX cop(for C# code)
2. ParaSoft
3. Project analyzer( for VB code)
These kind of tools will be helpful in deisgn and test long functions and descriptive actions more useful.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Web Testing and Unexpected Server Errors zunebuggy 0 1,278 01-24-2018, 11:41 PM
Last Post: zunebuggy
  Very confused on how to deal with run errors atester 0 1,529 03-07-2014, 04:03 PM
Last Post: atester
  Any experience or advise on fixing these intermittent Run Errors? mv8167 1 2,718 01-25-2013, 11:48 AM
Last Post: vishalu.vs
  How can change object logical name dynamically? kamal262007 0 2,281 10-17-2012, 08:56 AM
Last Post: kamal262007
  Logical name of the test object vIns 0 3,946 03-17-2012, 07:07 AM
Last Post: vIns

Forum Jump:


Users browsing this thread: 1 Guest(s)