I’m using WatiN testing tool and i’m writing c#.net scripts. I’ve a scenario where i need to change the theme of my web page, so to do this i need to click on a image button which opens a ajax popup with the image and “Apply Theme” button which is below the image now i need to click on the button so how to do this please suggest some solution.
I’m using WatiN testing tool and i’m writing c#.net scripts. I’ve a scenario where
Share
So first click your button that throws up the popup, and .WaitUntilExists() for the button inside the popup.
This may not work in the case the button on the popup exists but is hidden from view. In that case you could try the .WaitUntil() and specify an attribute to look for.