Forum Discussion
joakim_schweize
15 years agoNew Contributor
Hi Allen
Very nice, that did the trick. Thanks alot =)
Since that one was too easy for you, here is another one;
When using the Web Comparison Checkpoint, TC compares a stored HTML document to the HTML output from the defined webpage (defined by object).
My problem is that the web page I am running the comparison against contains a PRADO_PAGESTATE tag that is unique for each session.
So; is there a way to get TC to ignore a given tag when comparing the HTML?
Tag looks like this;
<INPUT id=PRADO_PAGESTATE value=gh53nX4reLK01Q== type=hidden name=PRADO_PAGESTATE>
What I am trying to do is that before the actual test commences, I want to verify that the existing data in the form on the web page is correct, and instead of making 14 different property checkpoints to check each individual input field in the form, I have just been using the Web Comparison Checkpoint to check them all at once.
Because I only want to check the values of the textfields and checkboxes the stored HTML is set to compare INPUT values only.
Hope this is equally simple to fix as the XML comparison.
Thanks
BR
Joakim
Very nice, that did the trick. Thanks alot =)
Since that one was too easy for you, here is another one;
When using the Web Comparison Checkpoint, TC compares a stored HTML document to the HTML output from the defined webpage (defined by object).
My problem is that the web page I am running the comparison against contains a PRADO_PAGESTATE tag that is unique for each session.
So; is there a way to get TC to ignore a given tag when comparing the HTML?
Tag looks like this;
<INPUT id=PRADO_PAGESTATE value=gh53nX4reLK01Q== type=hidden name=PRADO_PAGESTATE>
What I am trying to do is that before the actual test commences, I want to verify that the existing data in the form on the web page is correct, and instead of making 14 different property checkpoints to check each individual input field in the form, I have just been using the Web Comparison Checkpoint to check them all at once.
Because I only want to check the values of the textfields and checkboxes the stored HTML is set to compare INPUT values only.
Hope this is equally simple to fix as the XML comparison.
Thanks
BR
Joakim
Related Content
Recent Discussions
- 2 days agovladd1