How to use Wait.For

2 posts, 0 answers
  1. Vladimir
    Vladimir avatar
    1 posts
    Member since:
    Aug 2012

    Posted 15 Nov 2013 Link to this post


    I've got error on VS. When I type "Wait.For", VS displays an error "Unknown method "For" of ArtOfTest.WebAii.Synchronization.Wait".

    What should I do?
  2. Velin Koychev
    Velin Koychev avatar
    88 posts

    Posted 20 Nov 2013 Link to this post

    Hello Vladimir,

    I am sorry to hear that  you are experiencing this issue.

    I was able to reproduce this issues. Fortunately, there is a quick fix: Your class RequestsPage should inherit from BaseWebAiiTest class (you also need to add using statement for ArtOfTest.WebAii.Design). 
    Here is a short video for demonstration.

    I hope this helps.

    Velin Koychev
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top