Forum Discussion
abrar22
Frequent Contributor
Ok. I am using this following Wait method and it is waiting for the time which i have specified in the Code even if the element exists and is visible. For example i have used 10 secs and 50 secs, it waits for that specific time. Not sure what I am doing wrong.
if(Aliases.Cube.CubeTransitionBox.WaitChild("WLbl_ValidationImage", 50000).Exists)
{
if(Aliases.Cube.CubeTransitionBox.WLbl_ValidationImage.VisibleOnScreen)
{
Validator.vValidatePropertyVal(WLbl_ErrorBlock,'WPFControlText','Message');
}
tonydugay
9 years agoContributor
try not putting them in if() blocks - just call the Wait() method and I think it will work for you
Related Content
- 11 months agoIrinaManea
- 12 months agoMarcusBengtsson
Recent Discussions
- 13 hours agodhundley