I m currently using Silk Test.
I have a WebPage where in i have a textbox followed by a GO button.
I enter some matching criteria and then click on GO Button.
What my software does is that it goes to the Db and fetch values as per the matching criteria.
Now what i want to test is that the records comming from the DB are correct. How do i do
Also if my software returns say 20 records my Webpage shows only 10 records per page and the remaining 10 on the other page.
How will Silk test trap these records per page.
Can someone send me the code snippet of the same.
You have to programmatically read the content of the response page into the memory structure, which means converting HTML responses (Tables, HTML controls) into arrays or lists, automating jumps to the next page, reading content again etc..
(I'll suggest recording of the window declarations and actions before you start)
Please read help on:
HTML components and DOM
Also take a look at the following functions/methods:
2. Compare the captured response to the data fetched from the Database
3. Report the differences
There are 10 types of people: Those who can read binary, and those who can't.