What is Key Word driven Testing?What is the differance built in variables and User defined variables?

Showing Answers 1 - 4 of 4 Answers

deepak1507

  • Apr 8th, 2006
 

What is Key Word driven Testing?

Software test scripts are conventionally composed ad hoc by a coder. Some software development tools help automate testing by recording tests that are run, allowing "playback" of the test routines. However, an entire test routine is rarely, if ever, applicable to more than one release of one application. Data-driven testing adds some modularity by keeping test input and output values separate from the test procedure, but the procedure itself is still in a monolithic script. Keyword-driven testing breaks the test procedure into logical components that can then be used repeatedly in the assembly of new test scripts.

What is the differance built in variables and User defined variables?
a function is a block of instructions that affects the data a script is handling. In a script, you can use the functions that VBScript provides (i.e., built-in functions ) or you can create unique functions (i.e., user-defined functions).I analyze two popular built-in functions that let users provide input: MsgBox and InputBox. MsgBox displays a dialog box in which users can click buttons to provide input. InputBox displays a dialog box in which users can type text to provide input.

  Was this answer useful?  Yes

debleena23

  • Apr 17th, 2007
 

Keyword-driven Testing
Keyword-driven testing breaks the test procedure into logical components that can then be used repeatedly in the assembly of new test scripts.

  Was this answer useful?  Yes

debleena23

  • Apr 17th, 2007
 

There  are 2 types of Environment variables.....Built-in & User-Defined

Built-in variables are such as : TestIteration, TestName...

User-defined variables are developed by the users in the .xml format and uploaded in the Test Settings -> Environment -> User Defined -> File

  Was this answer useful?  Yes

radhakrishna

  • Sep 16th, 2007
 

There two options, one is built-in and the other is user defined.

Built-in means the variable is already declered in QTP like PRODUCT DIR, TEST ITERATION
In User defind there are two types - internal and external, Internal means we can decleare the name and value during run session we can use this variable, external means we can load the use define values from .xml file

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions