After reading Jevon Wrights response to my initial problem, I took some more 
time and created the simplest page possible the dynamically create an image. I 
then wrote a test case to see if I could find my <img> tag and it worked! I 
also 
noticed that the time it took for the test case to run on my simple page was 
much less than my "live" page. So I started to wonder if it might be a timing 
issue.

I added a Thread.sleep(10000) to pause for 10 seconds and let the page fully 
load and run and that did the trick! 
The assertElementPresentByXPath("//i...@id='inviteAdmin']"); executed without a 
hitch. Now that I know how to get this to work, I'm off and running at full 
speed with JWebUnit. I'm very excited to get some significant test written 
because doing the testing manually is becoming a real chore.

Thanks for your help!

- Jeff
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
JWebUnit-users mailing list
JWebUnit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to