tag:blogger.com,1999:blog-7675276419915284401.post6722592391066174369..comments2023-03-24T07:18:50.700-07:00Comments on Oracle ADF 11g Tips: Selenium WebDriver utility for determining when page has finished renderingDon Kleppingerhttp://www.blogger.com/profile/02266023115878336856noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-7675276419915284401.post-26379068276196977522017-07-07T12:43:43.905-07:002017-07-07T12:43:43.905-07:00I'm no longer working on an ADF project so don...I'm no longer working on an ADF project so don't have time to investigate. You can always set a breakpoint in firebug or other javascript debugger and step through the isSyncronizedWithServer method but with the minimized function names and lack of documentation I haven't found that to be too helpful. If it gets that exception does it work if you re-call the method until it succeeds or does it continue to fail?Don Kleppingerhttps://www.blogger.com/profile/02266023115878336856noreply@blogger.comtag:blogger.com,1999:blog-7675276419915284401.post-27549115690781345442017-07-07T10:53:54.368-07:002017-07-07T10:53:54.368-07:00I have figured it out to one more low level,
When...I have figured it out to one more low level,<br /><br />When ever I tried to check this method IsSynchronizedwithServer when the ADF page is having a protected element like TaxFileNumber/Password , the exception occurs else case it is just returning false or true.<br /><br />I have verified and the ADFpage object is defined for that page.<br /><br />The exception stacktrace of javascript executer says _textFieldField is null.<br /><br />How can we know what exactly isSyncronizedWithserver() method consists and looks for in a ADF page.more likely I wish to see the code.<br /><br />Thanks in advance and also for an immediate response.I very glad that you were following our comments after this long time.Anonymoushttps://www.blogger.com/profile/08615866744170131366noreply@blogger.comtag:blogger.com,1999:blog-7675276419915284401.post-34634438979947357352017-07-05T15:47:54.895-07:002017-07-05T15:47:54.895-07:00You can wrap the statement in a try/catch and retu...You can wrap the statement in a try/catch and return something in the catch statement. Like.. <br />try (return AdfPage.PAGE.isSynchronizedWithServer();}<br />catch(err){ return false;}<br /><br />Or return a message and handle it differently as if you landed on a non ADF page this would loop forever since there would be no AdfPage object.Don Kleppingerhttps://www.blogger.com/profile/02266023115878336856noreply@blogger.comtag:blogger.com,1999:blog-7675276419915284401.post-88056706411295704032017-07-05T13:38:54.693-07:002017-07-05T13:38:54.693-07:00Hi Don,
What should I do if were facing an excep...Hi Don, <br /><br />What should I do if were facing an exception while executing the javascript to check that partial rendering of the page.<br /><br />Anonymoushttps://www.blogger.com/profile/08615866744170131366noreply@blogger.comtag:blogger.com,1999:blog-7675276419915284401.post-67369635971079413192014-01-08T07:23:20.885-08:002014-01-08T07:23:20.885-08:00There are several on the project site. Start with...There are several on the project site. Start with "getting started"<br />http://code.google.com/p/selenium/Don Kleppingerhttps://www.blogger.com/profile/02266023115878336856noreply@blogger.comtag:blogger.com,1999:blog-7675276419915284401.post-6799877038005041352014-01-08T02:43:48.077-08:002014-01-08T02:43:48.077-08:00We were new to selenium web driver.plz let me know...We were new to selenium web driver.plz let me know the best article for beginners Anonymoushttps://www.blogger.com/profile/02078842775918972856noreply@blogger.comtag:blogger.com,1999:blog-7675276419915284401.post-80558787111064487832013-03-03T13:56:22.836-08:002013-03-03T13:56:22.836-08:00I'm not sure what it is your asking but the
A...I'm not sure what it is your asking but the <br />API docs can be found at http://docs.oracle.com/cd/E23549_01/apirefs.1111/e12046/index-all-I.html<br />Don Kleppingerhttps://www.blogger.com/profile/02266023115878336856noreply@blogger.comtag:blogger.com,1999:blog-7675276419915284401.post-88926078512872841952013-03-02T23:17:43.201-08:002013-03-02T23:17:43.201-08:00Where can i get ADF javascript?Where can i get ADF javascript?Akbar Alihttps://www.blogger.com/profile/11012579285271300322noreply@blogger.comtag:blogger.com,1999:blog-7675276419915284401.post-22596824340295747932013-01-10T19:03:58.548-08:002013-01-10T19:03:58.548-08:00Your welcome! glad it worked for youYour welcome! glad it worked for youDon Kleppingerhttps://www.blogger.com/profile/02266023115878336856noreply@blogger.comtag:blogger.com,1999:blog-7675276419915284401.post-59931142438447151012013-01-10T16:14:45.249-08:002013-01-10T16:14:45.249-08:00Great tip, thanks very much! Works way better than...Great tip, thanks very much! Works way better than the kludgy alternative methods, and seems to work well consistently.Anonymoushttps://www.blogger.com/profile/08274801165772338224noreply@blogger.comtag:blogger.com,1999:blog-7675276419915284401.post-37851186167401820172012-12-27T22:10:06.015-08:002012-12-27T22:10:06.015-08:00Good article....
http://www.evalleypoint.com/Good article.... <br /><br />http://www.evalleypoint.com/Anonymousnoreply@blogger.com