@WhenPageOpens does not seem to be working

183 views
Skip to first unread message

Yek

unread,
Mar 7, 2017, 8:33:30 AM3/7/17
to Serenity BDD Users Group
Hi All,

I am trying to do a JQUERY action after every page in the application is loaded. I am using @WhenPageOpens annotation to do the job for me. However this annotation does not seems to working at all. Could some one confirm if they faced same issue and any possible solution to get round of it.

adi....@outlook.com

unread,
Mar 8, 2017, 2:33:51 AM3/8/17
to Serenity BDD Users Group
From my understanding the method is triggered only on explicit page.load() calls so when navigating between pages it will never get called

John Smart

unread,
Mar 8, 2017, 2:53:57 AM3/8/17
to adi....@outlook.com, Serenity BDD Users Group
Adi is correct, this would have to be done explicitly, Serenity has no way of knowing when you navigate to a new page.

--
You received this message because you are subscribed to the Google Groups "Serenity BDD Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thucydides-users+unsubscribe@googlegroups.com.
To post to this group, send email to thucydides-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
___________________________________________________
John Smart | Wakaleo Consulting  |  +44 7398 832273
Making smart teams collaborate better
http://johnfergusonsmart.com  |  john....@wakaleo.com
___________________________________________________

We love breaking down silos and helping smart teams collaborate better! Ask about our tailored on-site workshops in Agile Product Planning, BDD Requirements Discovery,  BDD, TDD and Clean Coding, and Advanced BDD Test Automation.

Need some help with Serenity BDD? Check out our Serenity BDD training and support packages here.
___________________________________________________
Reply all
Reply to author
Forward
0 new messages