string docTitle = "ASH REF DWG";
// Check the status...
logger.Debug("Checking file status...");
//driver.FindElementByXPath("//div[contains(text(), 'New')]");
wait.Until(SeleniumExtras.WaitHelpers.ExpectedConditions.ElementIsVisible(By.XPath("//div[contains(text(), 'New')]")));
// Check the version
logger.Debug("Checking file version...");
//driver.FindElementByXPath("//div[contains(text(), '0.1')]");
wait.Until(SeleniumExtras.WaitHelpers.ExpectedConditions.ElementIsVisible(By.XPath("//div[contains(text(), '0.1')]")));
logger.Debug("New document present with correct status/version! Checking extracted data...");
// Check extracted data...
Thread.Sleep(5000); // Repeated failures here. Neither wait type passes during nightly test but OK during manual run of test.
wait.Until(d => driver.FindElementByXPath("//div[contains(text(), '" + docTitle + "')]").Displayed);
//wait.Until(SeleniumExtras.WaitHelpers.ExpectedConditions.ElementIsVisible(By.XPath("//div[contains(text(), '" + docTitle + "')]")));
logger.Debug("File attribute extracted successfully!");
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/8fa2e267-1226-4463-916c-320011a0ee62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/8fa2e267-1226-4463-916c-320011a0ee62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAKrer0C8J%2B5-oHFp%2B5g9-BTB0FBXKAqv2zLsg8GBiE105PPM5A%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAKrer0C8J%2B5-oHFp%2B5g9-BTB0FBXKAqv2zLsg8GBiE105PPM5A%40mail.gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Selenium Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/selenium-users/JYTJCovWZgg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAH1BzpUcS2Jo9wthssy7ubBt2k7LfjCrLcEVMi2g05R0LpYFGg%40mail.gmail.com.
wait.Until(SeleniumExtras.WaitHelpers.ExpectedConditions.ElementIsVisible(By.XPath("//div[contains(text(), '" + docTitle + "')]")));
docTitle is now ARD1
The exception I receive now is - Timed out after 30 seconds. What should this be telling me?I am completely baffled at this point. I have had problem areas in tests before, but I was usually able to work through them with a small tweak of some sort. This problem will just not go away.