Photos testing in QTP question

I have a page (let say www.abc.com) which contains the text "total photos (15)" where 15 is a variable which keeps changing as and when photos are added or deleted. On this page I have put a Text Checkpoint which is checking whether 'total photos (15)" is there or not and I have given a variable (t) in place of 15, i.e. Browser("abc").Page("def").Check CheckPoint("My photos-Public ("&t&")", so that if someone adds a photo the value of "t"is increased by one and the change also reflects in the check point (so that it looks for "total photos (16)" in place of "total photos (15)"). But the QTP always looks for "total photos (15)" and is not able to find "total photos (16)".

Please suggest how should I do it.

Showing Answers 1 - 1 of 1 Answers

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