Tag Info

Hot answers tagged

6

I'm going to completely agree with Dmitry, however, I'd like to add to it. This is a perfect example of when you could begin teaching your other testers to code. I've seen this work very well with working sessions and paired programming. I've done this previously with a department where we got together every week or 2 for an hour and went over writing ...


4

Webdriver is not only more modern. It is future W3C standard. Being able to click on hidden links seems like a misfeature. I would use old version only if newer version was seriously lacking important features without which I cannot live.


4

You can use the findElements method to find all TD tags that match your criteria, and then getText method to retrieve each element's value. The latter will be returned as a String, so you may need to convert it to a number before comparing it. Since the sorted elements have a special class, you may want to use a CSS selector with findElements.


3

As a possible solution: You can add BDD solution to your test framework. For Java popular BDD solutions are JBehave and Cucumber-JVM. So other members will write tests in Gherkin human-like language. How it looks like? — you may ask.. The test it self is a textual description: Feature: Adding Scenario: Add two numbers Given the input "2+2" ...


3

keyDown method presses the key but doesn't release it. Try to replace aBuilder1.keyDown(Keys.SHIFT).click(link1).perform(); with aBuilder1.keyDown(Keys.SHIFT).click(link1).perform(); aBuilder1.keyUp(Keys.SHIFT).perform();


3

Since Selenium RC is deprecated and you touch on future-proofing, you should choose WebDriver. WebDriver expertise is more valuable to you because it's more transferrable. Yours is a future worth proofing. Over time, WebDriver expertise will only become more common than RC expertise. Subsequent hiring managers in your organization will appreciate this ...


2

I have seen this sort of thing before and the problem ended up being in how the page was coded: onmouseover vs onchange in our case. You may want to look at the the javascript events for the page, as it sounds very possible that the human interaction is causing some method to run whereas the web driver is changing objects in the DOM, and allowing web driver ...


1

It sounds like the majority of your issue is in creating the connection to your Database. However, you lack to mention the type of database so I will try and cover some of the more popular ones. Oracle Tutorial or SO Question SQL Server JTDS I could list all of the types of databases for years so here is a list of database related tutorials. If you need ...


1

I eventually managed to find a fix for this! Here is the code that I added: cap = DesiredCapabilities.INTERNETEXPLORER cap['requireWindowFocus'] = True cap['enablePersistentHover'] = False I put this just before self.browser = webdriver.Ie() Although, this may not be a long term solution as it requires the IE window you are using to be your current ...


1

Do you have a single monitor? Is your actual mouse cursor hovering over the page while your automation is running? Sometimes your mouse will mess up the automation that is running. If you have a second monitor, or if you can move your mouse cursor outside of the bounds of the browser window, do you still have the problem? In javascript there isn't a ...


1

WebDriver is quite more reasonable option anyway. Everything you can automate with Selenium RC, you can do with Selenium WebDriver. If you can't perform some action with native methods (like yours "Being able to click on hidden links within sub-menus"), you can achieve the same with executing JavaScript commands from WebDriver. Selenium WebDriver will ...


1

oh ok, that's a tricky one. This is what I know regarding this subject, see if it can help: - only after you close the browser the changes you made take effect - maybe you could, instead of using the hosts, use the name of the pc that has the app running, we do it in my company. I.E. PC1 has the app, instead of puting the ip and the url on the hosts file, ...


1

I'd second Lyndon's additions to Dmitry's advice. A few other thoughts from my experience: a little formal logic never goes astray. if any of your non-coders are strongly against learning to code, that's fine. You need strong manual testers too, and coding takes a mindset that not everyone possesses. The insight the manual people get from their ...


1

In SeeTest there is out-of-box concept called Zone. Zones are similar to containers and allow to group elements as you wish. It's obvious to group elements by functional areas / pages / screens. So Zones are similar to Page Objects in some sense. Here are few Zone-related official help pages: Terminology > Zone Add a new Zone To develop your own ...


1

If I understand correctly, you are looking at ways to make your tests more efficient, so you can get as quickly as possible to the desired state and then perform the actual assertion that the test case is intended to cover. There are a couple of options you have: Use a class setup method, or application setup method to log in, then re-use your existing, ...



Only top voted, non community-wiki answers of a minimum length are eligible