You can always Do getpageSource().indexOf("$What Even is in
veiwsource$")

 

For e.g. getpageSource().indexOf("<input type = button values = \"test\"
disabled=true>")

 

This will Not work in case of AJAX call.

 

From: manoj.raja...@accenture.com [mailto:manoj.raja...@accenture.com] 
Sent: Monday, September 24, 2012 5:37 PM
To: jwebunit-users@lists.sourceforge.net
Subject: [HCSPAM] - [JWebUnit-users] Testing the button state - Email
found in subject

 

Hi,

 

Is it possible to test the button state i.e., if a button is enabled or
disabled in the page using jWebUnit?

 

 

Thank you!

 

Regards,

Manoj

 

 

 

________________________________

Subject to local law, communications with Accenture and its affiliates
including telephone calls and emails (including content), may be
monitored by our systems for the purposes of security and the assessment
of internal compliance with Accenture policy.
________________________________________________________________________
______________

www.accenture.com

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
JWebUnit-users mailing list
JWebUnit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to