How to browse through all the properties of a properties collection?
Two ways are there :
For each desc in obj_ChkDesc
RE = desc.regularexpression
For i=0 to obj_ChkDesc.count - 1
RE = obj_ChkDesc(i).regularexpression
How many types of Parameters are available in QuickTest Professional (QTP)?
QTP provides three types of Parameter-
> Method Argument
> Data Driven
What black box testing types can you tell me about?
Black box testing is functional testing, not based on any knowledge of internal software design or code. Black box testing is based on requirements and functionality.
> Functional testing is also a black-box type of testing geared to functional requirements of an application.
> System testing is also a black box type of testing.
> Acceptance testing is also a black box type of testing.
> Functional testing is also a black box type of testing.
> Closed box testing is also a black box type of testing.
> Integration testing is also a black box type of testing.Reply
Why do we perform data integrity testing?
Because we want to verify the completeness, soundness, and wholeness of the stored data. Testing should be performed on a regular basis, because important data could, can, and will change over time.
How do you test data integrity?
Data integrity is tested by the following tests :
> Verify that we can create, modify, and delete any data in tables.
> Verify that sets of radio buttons represent fixed sets of values.
> Verify that a blank value can be retrieved from the database.
> Verify that, when a particular set of data is saved to the database, each value gets saved fully, and the truncation of strings and rounding of numeric values do not occur.
> Verify that the default values are saved in the database, if the user input is not specified.
> Verify compatibility with old data, old hardware, versions of operating systems, and interfaces with other software.
By giving the description in form of the string arguments.
What is the difference between data validity and data integrity?
Many Diff are there :
1 : Data validity is about the correctness and reasonableness of data, while data integrity is about the completeness, soundness, and wholeness of the data that also complies with the intention of the creators of the data.
2 : Data validity errors are more common, and data integrity errors are less common.
3 : Errors in data validity are caused by human beings - usually data entry personnel - who enter, for example, 13/25/2010, by mistake, while errors in data integrity are caused by bugs in computer programs that, for example, cause the overwriting of some of the data in the database, when somebody attempts to retrieve a blank value from the database.Reply
What is the difference between static and dynamic testing?
Many Diff are there :
1: Static testing is about prevention, dynamic testing is about cure.
2: The static tools offer greater marginal benefits.
3: Static testing is many times more cost-effective than dynamic testing.
4: Static testing beats dynamic testing by a wide margin.
5: Static testing is more effective!
6: Static testing gives you comprehensive diagnostics for your code.
7: Static testing achieves 100% statement coverage in a relatively short time, while dynamic testing often often achieves less than 50% statement coverage, because dynamic testing finds bugs only in parts of the code that are actually executed.
8: Dynamic testing usually takes longer than static testing. Dynamic testing may involve running several test cases, each of which may take longer than compilation.
9: Dynamic testing finds fewer bugs than static testing.
10: Static testing can be done before compilation, while dynamic testing can take place only after compilation and linking.
11: Static testing can find all of the followings that dynamic testing cannot find: syntax errors, code that is hard to maintain, code that is hard to test, code that does not conform to coding standards, and ANSI violations. Reply
Give us a QuickTest Professional (QTP) 8.2 Tips and Tricks (1) ?
Data Table :
Two Types of data tables :
> Global data sheet : Accessible to all the actions
> Local data sheet : Accessible to the associated action only.
DataTable("Column Name",dtGlobalSheet) for Global data sheet DataTable("Column Name",dtLocalSheet) for Local data sheet If we change any thing in the Data Table at Run-Time the data is changed only in the run-time data table. The run-time data table is accessible only through then test result. The run-time data table can also be exported using DataTable.Export or DataTable.ExportSheet
What testing tools should we use?
We should use both static and dynamic testing tools. To maximize software reliability, we should use both static and dynamic techniques, supported by appropriate static and dynamic testing tools.
1: Static and dynamic testing are complementary. Static and dynamic testing find different classes of bugs. Some bugs are detectable only by static testing, some only by dynamic.
2: Dynamic testing does detect some errors that static testing misses. To eliminate as many errors as possible, both static and dynamic testing should be used.
3: All this static testing (i.e. testing for syntax errors, testing for code that is hard to maintain, testing for code that is hard to test, testing for code that does not conform to coding standards, and testing for ANSI violations) takes place before compilation.
4: Static testing takes roughly as long as compilation and checks every statement we have written. Reply