Le vendredi 25 avril 2008 à 13:29 +0200, Marc Guillemot a écrit :

> can you explain how you would do this manually?
> 


I can, I'll do something like :

$ lynx http://url1 && sleep 2 & ; sleep 10 && lynx
http://url2_during_previous_sleep 


> With a new browser? In this case, you can use selectWebClient. In a new
> window of the same browser? In this case 1 or 2 lines of script will be
> needed to simulate that.


I'll take a look at selectWebClient, I've never used it before and need
to read doc about.

Marc, do you think possible to write test doing smth like :

invoke url1
selectWebClient2
invoke url2
selectWebClient1
sleep 20 sec # waiting for url1 Ajax refresh occurs
verifyXPath 

thx for your help,
david.
--

Reply via email to