if my application shows 100 records and in my database
having 200 records how i can validate using QTP tool?plz
exp. in detail?

Answers were Sorted based on User's Feedback



if my application shows 100 records and in my database having 200 records how i can validate using..

Answer / rakesh patwa

Also I want to add on Amarendra Kothuru's reply -

It depends on how you want to compare the record. However,
the easy approach could be -

Extract all the data from database into an excel sheet by
in ascending or descending order and compare it with
expected data. You can also highlight the mismatch data
using Excel Application COM.

You can send me email on rakeshpatwa at gmail dot com.

regards,
Rakesh

Is This Answer Correct ?    0 Yes 0 No

if my application shows 100 records and in my database having 200 records how i can validate using..

Answer / amarendra kothuru

It entirely depends on your application. If the developers
use Webtables to display these records, then the solution
depends on the Page size and no of Pages available for the
Web table.
I.e. For example If the page size is 50, it means, web
table page contains 50 records. If the total records
available in Database is 200 records, then The no of pages
of the web table should be four.

Total records = Page size * No of Pages in the web table.

So that you can verify the total number of records in your
application & in your database.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

Plze let me know how you can validate in the QTP that printed documents is correctly printed or not ie how we can do the validation that all the records or text are printed successfully in the printed document as per the application format requuired.

4 Answers   MBT,


Hi... Can anybody help me to write the vbscript for this question..!!! Am having a string "HELLO WORLD", i want to find how many "L"s are there.....????? --> HANEEF <--

5 Answers  


Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to use descriptive.create ()

6 Answers   IBM,


How to retrieve alpha bate from the alphanumeric string with special character.

7 Answers   ADP, Cap Gemini,


In order to select an automation tool for automating ur application, what r the things u need to consider? For eg i will go for automation; 1) When there is a lot of retesting and regression testing. 2) Return on investments. 3) Whether the tool supports the appln. 4)--------------, etc. Pls give me more number of points because my answer did not satisfy the interviewer. Very urgent pls

0 Answers  






anyone can explain about "Smart Identification" in QTP I mean what is the use of "Smart Identification" Give an example

2 Answers  


How to record object in runtime. I am testing one Image website in which every time image change on home page.so if i records the image list but during running image get change, and QTP gives error

1 Answers  


Action1: I have a value "test" stored in a variable X. I want to use that variable X in Action2 .. how?

1 Answers  


How do u use Database checkpoints and what are the use?

4 Answers   Qualtree Solutions,


How will you set a unique four digit number in an edit field in QTP?

2 Answers   IBM,


What will be the script for recovery scenerio.plzanyone give ans with aexample related to banking project

2 Answers   Yahoo,


What is throw object?

1 Answers  


Categories