logo       

Not work POPUP PDF and clickAndWait: msg#00085

web.selenium.user

Subject: Not work POPUP PDF and clickAndWait


Hello All,

I know that close() command works with Popup window, but it doesn't
work when Popup window contains PDF document. I use correct name and
ID of window. And also I want to ask: "How can I use (AndWait) command
for popup window". There is "Search" function in popup. So I need to
wait while search will be complete. clickAndWait command doesn't help
:(. I have looked appropriate command in Selenium JS (selenium-browserbot.js)
and find that
when this command are fulfilling happens following:

var self = this;
this.recordPageLoad = function() {
LOG.debug("Page load detected, location=" +
self.getCurrentWindow().location);
self.currentPage = null;
self.newPageLoaded = true;
};

I think this happened because exist next command: self.currentPage =
null;. That's why Selenium wait for "null" page will reload. I
understand that it's necessary command, but I don't know what to do.
Could you help me, please?


Best regards,

Nikolay Predko,

Quality Engineer,

NIX Solutions Ltd

MSN: Nikko-8WX+Xy0mVKnMohDmgNdYFA@xxxxxxxxxxxxxxxx

ICQ: 174716602


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise