Files
2012-02-21 01:15:00 -05:00

1 line
4.7 KiB
JSON

[{"user_id": 261, "stars": [], "topic_id": 5867, "date_created": 1297731725.956094, "message": "starting on selenium integration... any good tips, blog posts, newbie guides?", "group_id": 81, "id": 108411}, {"user_id": 261, "stars": [], "topic_id": 5867, "date_created": 1297731757.3670371, "message": "also, has grid been integrated with webdriver/selenium 2 yet?", "group_id": 81, "id": 108413}, {"user_id": 2341, "stars": [], "topic_id": 5867, "date_created": 1297781124.498842, "message": "The true value is when both developers and stakeholders are reviewing and/or writing test cases together. They nail it on the head here - \"so that both developers and customers can collaborate and understand what the tests do.\"", "group_id": 81, "id": 111742}, {"user_id": 218, "stars": [], "topic_id": 5867, "date_created": 1297779680.3086951, "message": "http://code.google.com/p/selenium/wiki/PageObjects", "group_id": 81, "id": 111549}, {"user_id": 2341, "stars": [], "topic_id": 5867, "date_created": 1297780874.1773739, "message": "I'm a fan of pyccuracy which offers a selenium drive. https://github.com/heynemann/pyccuracy", "group_id": 81, "id": 111671}, {"user_id": 218, "stars": [], "topic_id": 5867, "date_created": 1297781235.0034201, "message": "where big_textbox = \"q\" and submit_button = \"btnG\"", "group_id": 81, "id": 111773}, {"user_id": 218, "stars": [], "topic_id": 5867, "date_created": 1297781254.988188, "message": "in your example, if the q textbox changes its name, you have to change it twice instead of once, etc.", "group_id": 81, "id": 111776}, {"user_id": 2341, "stars": [], "topic_id": 5867, "date_created": 1297781419.442461, "message": "@justinlilly you're correct. you can extend the pyccuracy tests to use \"variable\" like references to avoid your concern. the above is a cut and paste basic example from their wiki.", "group_id": 81, "id": 111810}, {"user_id": 218, "stars": [], "topic_id": 5867, "date_created": 1297779679.338408, "message": "@kai Look into the page object pattern.", "group_id": 81, "id": 111548}, {"user_id": 218, "stars": [], "topic_id": 5867, "date_created": 1297779724.875819, "message": "You create objects which represent a page in your app. Then define setters and getters for elements on the page. From that, you can write your tests using actual objects rather than Xpath crap. When your page structure changes, you only have to edit the getter/setter class, not all of your test cases.", "group_id": 81, "id": 111550}, {"user_id": 2341, "stars": [], "topic_id": 5867, "date_created": 1297781172.513881, "message": "If you are just learning Selenium for the first time though I'd suggest writing the tests in your language of choice first though and learn the lower level API.", "group_id": 81, "id": 111759}, {"user_id": 2341, "stars": [], "topic_id": 5867, "date_created": 1297781008.5389769, "message": "It's BDD style acceptance testing. It abstracts the lower level intricacies of writing selenium tests yourself. It also provide more human readable test cases. Just an alternative.", "group_id": 81, "id": 111714}, {"user_id": 2341, "stars": [], "topic_id": 5867, "date_created": 1297781027.670373, "message": "example test case. No idea how convore is going to display this...", "group_id": 81, "id": 111719}, {"user_id": 2341, "stars": [], "topic_id": 5867, "date_created": 1297781028.8053629, "message": "As a Google User\nI want to search Google\nSo that I can test Pyccuracy\n\nScenario 1 - Searching for Hello World\nGiven\n I go to \"http://www.google.com\"\nWhen\n I fill \"q\" textbox with \"Hello World\"\n And I click \"btnG\" button and wait\nThen\n I see \"Hello World - Google Search\" title\n\nScenario 2 - Searching for Monty Python\nGiven\n I go to \"http://www.google.com\"\nWhen\n I fill \"q\" textbox with \"Monty Python\"\n And I click \"btnG\" button and wait\nThen\n I see \"Monty Python - Google Search\" title", "group_id": 81, "id": 111721}, {"user_id": 218, "stars": [], "topic_id": 5867, "date_created": 1297781197.5272999, "message": "I think you could get what I was describing with pycurracy if you could have variables in those BDD tests.", "group_id": 81, "id": 111765}, {"user_id": 218, "stars": [], "topic_id": 5867, "date_created": 1297781223.1375339, "message": "I fill the big_textbox with \"Hello World\" and I click the submit_button", "group_id": 81, "id": 111770}, {"user_id": 261, "stars": [], "topic_id": 5867, "date_created": 1297785920.665746, "message": "@justinlilly that decoupling makes a lot of sense, thanks", "group_id": 81, "id": 112444}, {"user_id": 261, "stars": [], "topic_id": 5867, "date_created": 1297786023.55142, "message": "@montylounge thanks for the tip, I hadn't heard of pyccuracy", "group_id": 81, "id": 112459}]