[prev in list] [next in list] [prev in thread] [next in thread] 

List:       selenium-devel
Subject:    [Selenium-devel] Re:Action "clickAndWait" not work.
From:       JamesWang <wangjun () neusoft ! com>
Date:       2005-10-24 1:25:22
Message-ID: 00a901c5d839$ce002a60$3824a8c0 () jameswangneu
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Keenan!

Thanks for your reply!

> When I click a popup, I've found I need to do a click,pause, and  
> selectWindow

> I believe a click and wait waits until a url is loaded into the  
> current window.


Maybe I should test a popup in the way of "click + wait + selectWindow".I think you \
are right. But the "TestWaitInPopupWindow" example of selenium 0.6 can't work on my \
PC.Do you? I found command "clickAndWait"  was still testing  "newPageLoaded" flag of \
BrowserBot after click occured. "newPageLoaded" flag should be set to be true when \
new page loading and it is work for command "open" but "clickAndWait". I don't know \
why and am still debugging the selenium.

> I'm noticing that when 'click' or 'clickAndWaiting' a url in the sub  
> window [that will load a url into the subwindow] it seems to be  
> double submitting it to the server. Is anyone else noticing this?
Sorry!I didn't found the same thing on my PC.

Thanks again.
james


[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1505" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Keenan!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks for your reply!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>&gt;When I click a popup, I've found I need to do a click,pause, and&nbsp; 
<BR>&gt;selectWindow<BR><BR>&gt;I believe a click and wait waits until a url is 
loaded into the&nbsp; <BR>&gt;current window.</DIV>
<DIV><BR>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Maybe I should test a popup in the way of "click + 
wait + selectWindow".I think you are right.</FONT></DIV>
<DIV><FONT face=Arial size=2>But the "TestWaitInPopupWindow" example&nbsp;of 
selenium 0.6 can't work on my PC.Do you?</FONT></DIV>
<DIV><FONT face=Arial size=2>I found command "clickAndWait"&nbsp;&nbsp;was still 
testing &nbsp;"newPageLoaded" flag of BrowserBot after click 
occured.</FONT></DIV>
<DIV><FONT face=Arial size=2>"newPageLoaded" flag should be set to be true when 
new page loading and it is work for command "open" but 
"clickAndWait".</FONT></DIV>
<DIV><FONT face=Arial size=2>I don't know why and am still debugging the 
selenium.</FONT><BR><BR>&gt;I'm noticing that when 'click' or 'clickAndWaiting' 
a url in the sub&nbsp; <BR>&gt;window [that will load a url into the subwindow] 
it seems to be&nbsp; <BR>&gt;double submitting it to the server. Is anyone else 
noticing this?</DIV>
<DIV>Sorry!I didn't found the same thing on my PC.</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks again.</FONT></DIV>
<DIV><FONT face=Arial size=2>james</FONT></DIV></BODY></HTML>


_______________________________________________
Selenium-devel mailing list
Selenium-devel@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic