| bio | website | |
|---|---|---|
| location | ||
| age | 26 | |
| visits | member for | 2 years |
| seen | Oct 2 '12 at 17:39 | |
| stats | profile views | 8 |
|
May 10 |
awarded | Beta |
|
May 10 |
comment |
Attach to browser not spawned by Selenium2 I do not think you can attach to a browser not spawned by the driver. Tarun's solution will only allow switching to and from browsers spawned by that particular driver |
|
May 9 |
comment |
Maintaining automation framework for different browsers like IE and FF In my experience if it works in IE it will work in firefox. As such, in order to not have two sets of commands (one for firefox and on for IE), I try to convert to using DOM values consistently. On a side note, xpath is really difficult to use and not have to update for simple changes anyway. Hope that helps, if not let me know. |
|
May 9 |
answered | Maintaining automation framework for different browsers like IE and FF |
|
May 9 |
answered | Attach to browser not spawned by Selenium2 |
|
May 6 |
answered | Capturing screen shots in selenium tests |
|
May 6 |
comment |
Which locator do you use with Selenium CSS or XPath? I agree with @CBA whole completely. We had originally used xpath for all of our selectors, and it quickly became apparent that using the class_name or id was the only way to write the tests in such a way that they would not need to be fixed for any small change to the html |
|
May 6 |
answered | Handling self-refreshing pages from selenium |
|
May 5 |
awarded | Editor |
|
May 5 |
revised |
Should end-to-end tests be self-contained? deleted 2 characters in body |
|
May 5 |
answered | What are the advantages of automated user acceptance tests? |
|
May 5 |
awarded | Teacher |
|
May 5 |
answered | Should end-to-end tests be self-contained? |
|
May 4 |
answered | How do you wait for jQuery Ajax calls to complete in Selenium 2 |
|
May 3 |
comment |
Building “slow to break” regression tests PageObjects are pretty much your best bet. Just make it easy to change how you are getting or defining an element. We have a dictionary for each page that pairs a key with a tuple. The tuple consists of how we want to select the element (id, xpath, class_name), and then the actual selector needed to achieve that. The hardest part is defining elements in such a way that little changes will not force a re-write. The worst thing you can reference things by is xpath. |
|
May 3 |
comment |
When to start testing a solo project In my opinion it is much better to name tests based on what they are testing. If test_1234 fails, you don't have any idea what is wrong with it. But if test_approve_document fails, then you have a pretty good idea of what might be broken. |
|
May 3 |
awarded | Critic |
|
May 3 |
awarded | Supporter |