I am from performance testing background (Have good knowledge in LoadRunner).
But for project need I need to develop few scripts using QTP for automation purpose.
I completed 2 scripts successfully, I inserted Text checks properly and those are working fine.
Coming to my problem :
In 3rd script I inserted TextCheck, but it was faling.
Error message: More Similar objects found at parent page.
Error in detail:
I have objects for Page1 and Page2, where as both pages having similar kind of properties.
both pages names were dynamic, so for both I gave name as "ext.*" (Regular expression).
actually names will be like : ext-341 and ext-341_2.
Text check is there in 2nd page.
but error message saying page1 and page2 are having same properties.
Hope I conveyed message correctly.
please help me in this.
Note: I know DP also so you can sugget me in DP also.
Thanks in advance.
Hey can u post the code!! Seems like u need 2 spy and check for something unique. Can u post the screenshot!!
Winds of Change
Unless you are working with concurrent browsers there is no need to use any properties for page identification. Go to OR and de-select any properties for page.
This means QTP will default to usimg Page's micClass, this is similar to how you would describe page in DP like:
Thuse irrespective of page title QTP should continue to recognise page any any objects OR has assigned to that page.
My linkedIn Profile