Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.47 KB | None | 0 0
  1. Test Name: ContactModificationTest
  2. Test FullName: WebAddressbookTests.ContactModificationTests.ContactModificationTest
  3. Test Source: C:\Users\IPogrebniak\Source\Repos\konjulana\csharp_training\addressbook-web-tests\addressbook-web-tests\Tests\ContactModificationTests.cs : line 11
  4. Test Outcome: Failed
  5. Test Duration: 0:00:08.708
  6.  
  7. Result StackTrace:
  8. at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
  9. at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
  10. at OpenQA.Selenium.Remote.RemoteWebDriver.FindElement(String mechanism, String value)
  11. at OpenQA.Selenium.Remote.RemoteWebDriver.FindElementByXPath(String xpath)
  12. at OpenQA.Selenium.By.<>c__DisplayClass19_0.<XPath>b__0(ISearchContext context)
  13. at OpenQA.Selenium.By.FindElement(ISearchContext context)
  14. at OpenQA.Selenium.Remote.RemoteWebDriver.FindElement(By by)
  15. at WebAddressbookTests.ContactHelper.InitContactModification(String id) in C:\Users\IPogrebniak\Source\Repos\konjulana\csharp_training\addressbook-web-tests\addressbook-web-tests\AppManager\ContactHelper.cs:line 247
  16. at WebAddressbookTests.ContactHelper.Modify(ContactData newData, ContactData contact) in C:\Users\IPogrebniak\Source\Repos\konjulana\csharp_training\addressbook-web-tests\addressbook-web-tests\AppManager\ContactHelper.cs:line 43
  17. at WebAddressbookTests.ContactModificationTests.ContactModificationTest() in C:\Users\IPogrebniak\Source\Repos\konjulana\csharp_training\addressbook-web-tests\addressbook-web-tests\Tests\ContactModificationTests.cs:line 71
  18. Result Message: OpenQA.Selenium.InvalidSelectorException : Given xpath expression "(//table[@id='maintable' and @href='edit.php?72')])" is invalid: SyntaxError: The expression is not a legal expression.
  19.  
  20.  
  21. Test Name: ContactModificationTest
  22. Test FullName: WebAddressbookTests.ContactModificationTests.ContactModificationTest
  23. Test Source: C:\Users\IPogrebniak\Source\Repos\konjulana\csharp_training\addressbook-web-tests\addressbook-web-tests\Tests\ContactModificationTests.cs : line 11
  24. Test Outcome: Failed
  25. Test Duration: 0:00:08.708
  26.  
  27. Result StackTrace:
  28. at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
  29. at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
  30. at OpenQA.Selenium.Remote.RemoteWebDriver.FindElement(String mechanism, String value)
  31. at OpenQA.Selenium.Remote.RemoteWebDriver.FindElementByXPath(String xpath)
  32. at OpenQA.Selenium.By.<>c__DisplayClass19_0.<XPath>b__0(ISearchContext context)
  33. at OpenQA.Selenium.By.FindElement(ISearchContext context)
  34. at OpenQA.Selenium.Remote.RemoteWebDriver.FindElement(By by)
  35. at WebAddressbookTests.ContactHelper.InitContactModification(String id) in C:\Users\IPogrebniak\Source\Repos\konjulana\csharp_training\addressbook-web-tests\addressbook-web-tests\AppManager\ContactHelper.cs:line 247
  36. at WebAddressbookTests.ContactHelper.Modify(ContactData newData, ContactData contact) in C:\Users\IPogrebniak\Source\Repos\konjulana\csharp_training\addressbook-web-tests\addressbook-web-tests\AppManager\ContactHelper.cs:line 43
  37. at WebAddressbookTests.ContactModificationTests.ContactModificationTest() in C:\Users\IPogrebniak\Source\Repos\konjulana\csharp_training\addressbook-web-tests\addressbook-web-tests\Tests\ContactModificationTests.cs:line 71
  38. Result Message: OpenQA.Selenium.InvalidSelectorException : Given xpath expression "(//table[@id='maintable' and @href='edit.php?72')])" is invalid: SyntaxError: The expression is not a legal expression.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement