What is the purpose of output checkpoints in QTP ?

Can anybody tell me the purpose of output checkpoints in QTP. how u r testing the text data through text checkpoints. how u r testing text data in the webpage through parametrization. my application is web based application. my requirement is i am retrieving the data from the database to webpage. i put text checkpoint on the text, but problem is the parametrization. can anybody help me with code. i will appreciate if anybody can clarify

Showing Answers 1 - 13 of 13 Answers

Madhu

  • May 18th, 2006
 

Validation can be done in three ways.

1. GUI testing: I will fetch the values from the application

2. DB Testing: I will write a query to fetch the values

3. Prameters Testing: The values(test data) as inputs parameters which i given to enter into the application.

You can use the function dataset

If (#1 is eq # 3 && #1 is eq #2)

{ Print sucess with the values}

Else

{Print failure the data is missing}

  Was this answer useful?  Yes

ujwal99

  • Jun 16th, 2009
 

Generally whenever we are working on an application, the application process moves from one task to the other task. Some times it is required that values generated in one task need to be passed on to another task.

Manually we can make note of this values from one task and use it in another task.

While we are working with QTP we can use output checkpoints to capture values from one task and provide it to subsequent task.

  Was this answer useful?  Yes

ramu6309

  • Jul 15th, 2009
 

The Main purpose of the text checkpoints is to verify the text with the Actual text. You can use checkpoint with parameterisation also.Eg: Suppose there are 100 Rows belongs having Text to verify in your database
TextOnApplication = XYZ
For i = 0 to RowCount-1

If Instr(UCase(Trim((Row(i).Text))) = "XYZ" Then
Log.Message "Text Is Matched"
Else
Next

  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