04-03-2008, 12:02 PM
hi ankur..
I have a doubt in descriptive programming. I am not able to find a unique property for an object. That is when i click on an image a pop-up-layer appears. Now i have to validate that layer. Spy shows that the layer is a webelement. Its inside a frame.But that layer exists even before i click on that image. So if i run my script without clicking on that image my test will pass. So the script will pass even if the layer doesnt pop up. So i need to find a unique property for that layer which changes before and after clicking on that image. i tried with color property. That is also same before clicking and after clicking that image. Visibility property is set true for that layer. Please help me out.
I have a doubt in descriptive programming. I am not able to find a unique property for an object. That is when i click on an image a pop-up-layer appears. Now i have to validate that layer. Spy shows that the layer is a webelement. Its inside a frame.But that layer exists even before i click on that image. So if i run my script without clicking on that image my test will pass. So the script will pass even if the layer doesnt pop up. So i need to find a unique property for that layer which changes before and after clicking on that image. i tried with color property. That is also same before clicking and after clicking that image. Visibility property is set true for that layer. Please help me out.