Forum Discussion

cmd125's avatar
cmd125
Occasional Contributor
9 months ago
Solved

WaitNamedChild not working

It seems as thought the WaitNamedChild method isn't working and doesn't find the element on screen. Instead it just waits until the set timeout time runs out. For example I use when I go to a certain...
  • cmd125's avatar
    9 months ago

    Please disregard. Not sure why but when I changed it to wait for a different element it worked. Thanks anyways.

  • cmd125's avatar
    9 months ago

    I think I figured it out. If an element has two different xpaths set in the namemappings but pointed to different elements, it doesn't work. I had added two different xpaths due to the differences between qa and dev so that my tests would work on both until qa was updated, but when qa got updated this occurred. I'm pretty sure that is what happened here and I hope this helps anyone else that runs into this problem.