search and compare
I want to compare my input data's and my web page data's, it's a media website which has more no of dynamically changed contents, if the content change i just want to make sure that
the information displayed is match with my input.for that i have to search the same data before the check, give me some idea about the search and compare... using QTP.
Re: search and compare
There are several ways you could do this. Lets say on on page you enter your name and on a later page you want to make sure that your name displays correctly.
The first way you could do it would be to use a checkpoint on the object where your name is supposed to display. Within the checkpoint properties you paramertize it using your datasheet field where you input the name. This way everytime you run the script the checkpoint will check that object for the name you used in your current iteration.
You could also put your name into a variable and store it then when you get to the page where the name displays you could use the getorproperty method to get the value displayed in the object you want to check the name for and then compare that to the variable ou stored the name in.
There are other ways but these are the two most common ways I use.