Hi,
I am automating Website in which I have to Test whether button is enabled or disabled.
Which command shall I use?
I am new to Web driver.
Thanks and Regards,
Shailesh Jagtap.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/o9WcNyUHUJoJ.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.
webelement <somename> = driver.FindElement(By.Xpath());somename.enabled();
somename.disabled();
On Thu, Jun 7, 2012 at 1:13 PM, SHAILESH <shailesh.jagtap@encodexindia.com> wrote:
Hi,
I am automating Website in which I have to Test whether button is enabled or disabled.
Which command shall I use?
I am new to Web driver.
Thanks and Regards,
Shailesh Jagtap.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/o9WcNyUHUJoJ.
To post to this group, send email to selenium-users@googlegroups.com.
To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
Hi,
I used your method to check element enabled/disable in C#.
It does not show webelement as class.
My Directives in code -
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Support.UI;
I am using "selenium-dotnet-2.12.0" - net40.
Please Help me!
Thanks,
Shailesh