Results 1 to 2 of 2
  1. #1

    find() not working after clicking link

    Hi, I've been testing our asp.net application that's very dynamic. I'm using Find() in order to find the objects that I need. I do not store any TestObjects. So far I've had no problems finding the objects I need except for now.

    What happens is, once I click on the Search Button on our website, the URL now changes and once that happens, the
    find() function no longer works.

    RootTestObject root = getRootTestObject();
    TestObject[] to = root.find(atDescendant(".id", "objID"));

    I've tried everything and nothing seems to work. I've put sleep() statements I've also used my WaitFor browswer function, no matter what I do, it never finds anything.

    Anyone else have this problem?

    Thanks in advance.

  2. #2

    Re: find() not working after clicking link

    If you are testing a web application, why not use the browser test object instead? this way you'd have more control and searching through the page would be more efficient.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 05:43 PM.

Copyright BetaSoft Inc.