Tag Info

New answers tagged

0

How do you automate software testing to run on cloud? You could: connect existing test framework by API to Sauce Labs , for example; set up your own environment on cloud and run tests there, xvfb solution; find any record\play services based on cloud solutions. ... and show the results It is possible to collect results from terminal window ...


2

What do you think? Should you eat one meal at a time and 2 to 3 meals a day? Or should you eat sufficient meals for 30 days at once and enjoy the remaining 29 days? Keep things as simple as possible! Combining everything and testing it all at once may make things too complicated to handle...


0

I am evaluating a tool called Contizee which seems pretty cool ... so far: I am able to record/playback test cases directly from the browser (it is a collaborative env) - they have these feature of recording 'checkpoints' which is basically define pass/fail assertions just through mouse clicks, Also I can launch runs of these test suites directly from ...


0

This is a bit of a vague question, but you should check out Saucelabs http://saucelabs.com They have a free subscription that should be sufficient for you to try the service.


0

You could use a CI-server like Jenkins to start automated test runs on a cloud slave. The CI-server will gather the output and deliver the results.


0

Criteria you've specified: Affordable Powerful enough Anything you want to consider? The most affordable is VirtualBox because it's free. The most powerful? I don't have any hard data on which performs the best but when I had to make the choice (last year) between the three applications to run on my MacBook Pro I chose Parallels. At the time ...


0

Its a yes,Automating your manual test cases gives you good automated results but i am here speaking with reference "CONTIZEE" tool which i used in automating test cases where zero coding knowledge is needed and time saving. Executing a simple test case and a complicated test case needs just needs same effort in this tool.


1

If you haven't already, search for "model-based testing". To me it seems that your problem fits well to that scheme: create a model of expected behaviour and let the testing tool run millions of tests to check the implementation. This doesn't actually prove anything. Formal validation needs to explicitly go through all paths (as far as I know). Model-based ...


1

As Karlo mentions (I'll explain a little more) the Black Box Software Testing (BBST) courses are the most in-depth courses I've ever taken (or seen). They are university-level courses so they contain a TON of information from a wide-variety of sources. Take a look at this diagram explaining the emphasis for each of the BBST courses: Testing Knowledge, ...


0

I like to use a combination of techniques, the first involving a 'dependableClick()' which I have modified slightly starting with some code I found here on SE: public void dependableClick(By by) throws InterruptedException { final int MAXIMUM_WAIT_TIME = 10; final int MAX_STALE_ELEMENT_RETRIES = 5; WebDriverWait wait = new ...


1

Following are the things you could start of with : Choose the language in which you will implement your Selenium scripts from among Java, Python, Ruby, Perl, PHP, Javascript, etc. Learn one if you don't know. You don't need to be a real master to get started but the more you know the easier it will get to perform advanced operations in your scripts. Refer ...


0

A few ways I would attempt this. VIA Javascript injection within the Chrome/Firefox console Using POSTMan to build the request Using SoapUI to build the request Disabling JavaScript in the browser Using outdated browsers which the functions might be incompatible with There is several other methods, if you want to automate your best options would be by ...


0

To complete, if your UI is connected to your backend throw webservices I recommend you to use SoapUI. It is very easy to use and you can quickly automatize your tests: - Parse the webservice URL to SoapUI --> It will display the list of methods (commands) visible - Click on one of the methods you want to test --> SoapUI will display the XML used empty - ...


0

The way we test server-side validation is to disable the client-side validation through javascript. Not sure which testing framework you are using but the following example works in Selenium. var javaScriptExecutor = (IJavaScriptExecutor)driver; javaScriptExecutor .ExecuteScript("$('form').attr('novalidate', 'novalidate');");


0

Hexawise is one of several tools that could help you: Identify all the potential configurations for a given system Identify a prioritized set of permutations that maximize coverage (based on user-specified coverage objectives). As dzieciou mentioned, and provided links to above, multiple tools can do this. Disclaimer, I am the CEO of Hexawise. Having ...


0

Free online resources could be found on http://www.testingeducation.org/BBST/ Start with foundations and do all the readings.


0

If this is for Java then why not use this project? https://code.google.com/p/fighting-layout-bugs/


2

Do two simple steps: First initialise webdriver element then try to find element using xpath, as explained below WebDriver driver=new FirefoxDriver(); driver.find element(By.xpath("enter your xpath")).click();


1

Ok, this isn't a bug. The XPath, when searching in the context of an element, must start with a dot. So this works: htmlControl = htmlDiv.FindElement(By.XPath(".//label[text()='Naam']/following-sibling::div[1]//select"));


0

According to Selenium best practices, XPath is locator of last preference. Preferred selector order : id > name > css > xpath Ask your web designers to add IDs or names to elements you need to interact with. Take them to the lunch and talk how IDs make your life easier. Bribe them is you have to.


0

A great place to read through testing theory is the Software Testing Club and the Ministry of Testing. I read their content all the time and it always answers a question or gets me to think differently about certain testing scenarios. http://www.softwaretestingclub.com/


0

As the very first step I would recommend exploring basic functionality of the tools. Luckily both Selenium and JMeter provide record-and-replay functionality so to start: Selenium IDE - Firefox Plugin which is able to record test flaw and generate relevant code. Preferred language is Java as both tools are Java-based and you'll be able to integrate it into ...


1

GetVisibleText should give you the text from the insight object Window("Microsoft Word").InsightObject("InsightObject_Example").GetVisibleText


3

I am in no way trying to be rude, but I think the hiring team may be setting themselves up for failure. Having worked on many many automation projects and worked with many people of varying skill levels, it is actually just about impossible for someone with no automation background to jump in to automation and get it right the first time. With no guidance ...


1

The right way to go about it would be to prepare not just for the interview but for the job itself. Do you have hands on experience in programming? Try learning java. Both, selenium and jmeter work on java. So learn the concepts. Once you learn java, google tutorials for selenium and java. Learn from them. Ask help from the testing community for one on one ...


-1

I believe this link will be helpful for you. Date Picker Thanks


0

I'm using (when it is needs) mix of [FindsBy] and "complex" elements (defined as such "dummy example") protected string someVariable= "someXPath_part"; someVariable + "[" + number.ToString() + "]" As beekeeper said, driver.FindElement(By.Locator()) and locator, defined by [FindsBy] are equial, so if you need to check existing/enabling of element, just use ...


1

The short answer is that an equilateral triangle is also an isosceles triangle. Because you have the least restrictive check first, that check will identify all your equilateral triangles as isosceles triangles. This is a pretty good example of why it's not a good idea to combine multiple checks into a single code routine: you aren't necessarily checking ...


0

A good online (and free) class is Udacity's Software Testing course. It covers a lot of theory.


3

Yes, you can run headless with either Headless Chromium or with PhantomJS .. Keep in mind that running with Selenium Grid or SauceLabs is equally as good as running headless.


0

Why didn't you code your locator like this? driver.findElement(By.xpath(".//a/i[@class='icon-edit']")).click(); Seems like it would have still worked and would have been simpler.


1

Sometimes it so happens that the wait commands do not work. Instead of the wait command of selenium try using Thread.sleep(); command of java. This command will pause execution of the script for the given time...


2

Becoming a software testing expert by James Bach Testing computer software by Cem Kaner, Jack Falk & Hung Quoc Nguyen Lateral thinking by Edward de Bono Lessons learned in software testing by James Bach Perfect software and other illusions of software testing by Jerry Weinberg


1

Practitioners Guide to S/W test design by Lee Copeland Systematic S/W Testing by Rick Craig These got me started off learning techniques Then start reading stuff by Cem Kaner, James Bach, Jerry Weinberg....


0

Talking about JUnit report, both XML and HTML reports can be added by editing Apache Ant build.xml file: Test running target: <target name="tests" depends= "compile"> <junit printsummary="yes" haltonfailure="no" showoutput="true"> <classpath refid="junit.classpath"/> <formatter type="plain"/> <formatter ...


1

Updated Answer You have to import the RestAssured class incl. method as static. import static com.jayway.restassured.RestAssured.expect; Or you call the method on this way: RestAssured.expect() Useful Links Java Doc Getting started


3

PageObjects The code of automated test cases should be easy to understand and not too complex. If a test fails, we want to know why and this as soon as possible. To allow this exists PageObjects. PageObjects are classes that contains WebElements and every actions associated with those. A PageObject looks like this: class HomePage { WebDriver driver; ...


0

This should work: WebElement element = driver.findElement(By.xpath("//button[@class='btn' and contains(@onclick,'PopulateInvestor')]")); element.click(); The driver search for the element on this way element has attribute class and the value of this is btn element has attribute onclick and the value of this contains the string PopulateInvestor Maybe ...


1

PackT Publishing also sell a SoapUi book that is quite in-depth. Mark.


2

@Imen: I know below mentioned reporting techniques. And more important is how you want your reports (Line by line/step by step execution report, class/method level report, etc..?). What's the best appropriate method used by Selenium Testers to generate tests reports? Selenium will support multiple reports generation techniques. Testers will be using ...


-1

And here are a couple of others: Cucumber Robot Framework


5

As for tutorials on SoapUI, sadly the majority of them are sub-par at best and out of date. If you want to learn SoapUI the best option is likely to jump in feet first and hit the ground running. My background is primarily API testing, with a specialty with SoapUI and Groovy, so I will try and give some hints and pointers to get you started. SoapUI's core ...


1

Here are some tools for you ; Selenium - http://docs.seleniumhq.org/ Watir - http://watir.com/ DejaVu - https://www.npmjs.org/package/dejavu


1

Few more notes on top of Neils Answer Test Environment Setup using Cloud Infrastructure Load generation in cloud for on premises application Load generator on premises, application on cloud Both load generator and application both on cloud Load Testing Flood IO - https://flood.io/ LoadFocus - https://loadfocus.com/ Security Testing NTOSpider - ...


-1

The options to precisely set desired throughput are in: Ultimate Thread Group (available via JMeter Plugins) provides easy visual way of defining virtual users ramp-up, ramp-down and time to hold the load. 3 users per hour will look like Constant Throughput Timer allows to set target load in "requests per minute" so if you want 3 requests per second ...


1

As far as I know jmeter doesn't work in a sequential order. What jmeter does is, it takes all the requests and send them to the server/host all at the same time. So if you have configured it for 3 users making 1 http(s) request, that is 3*1 http(s) requests will be sent to the server/host all simultaneously and then it will wait for the response!


1

I don't see how testing in the cloud is different then testing on your local computer system. The only thing the CLOUD delivers is a scalable type of infrastructure. If you need to test the scalability of the infrastructure, then search for "Scalability testing" and read blogs like this. Load testing mobile API's could be done with tools like BlazeMeter. I ...


1

Selenium/Webdriver is a great tool, but it comes with some overhead you'll have to be prepared to manage. The first is choosing which Programming Language bindings you intend to use. Whatever that ends up being will be the standard for the project for a long time, and depending upon the level of person you hope to use to build it, it can impact your ...


1

Selenium is a tool to drive and verify behavior of web-applications, it should not matter where they are hosted. If you can reach the webserver running the application it can be local or hosted in the cloud, the application should behave the same. If you want to test if the cloud setup can handle a certain load and find its bottlenecks I would look at a ...


2

Although i do not have much idea about it but i think you can give selenium grid a try. I read on seleniumhq.org that with selenium grid you can create a master slave architecture, where one master machine will control several slaves to send request to a common server. Maybe this can help solve your issue!



Top 50 recent answers are included