Filed under Mobile Apps Testing, Mobile Testing, UI Testing, Uncategorized.

Mobile Emulation service from LoadFocus allows you to understand how your websites and web pages render on mobile devices, in case you are keen on building mobile-first, fully responsive web sites.

With Mobile Emulation service from LoadFocus you can load your websites and web pages in mobile emulators and inspect screenshots to find potential rendering issues, invalid HTML, missing images, wrong CSS.

It’s very easy to schedule daily runs and inspect rendered images on all devices in just a few seconds. Just select the desired mobile emulators and load your site across different screen sizes and resolutions.

mobile-emulations

LoadFocus Mobile Emulation service allows you to test your web apps and websites on all popular smartphones and tablets and we constantly add the new ones.
Easy to use and lightweight interface makes testing fast and easy, also you to set your favourite devices and websites, so that you can run or schedule multiple tests with only a few clicks.

mobile-emulation-results

Mobile Emulation allows you to see your websites like they are rendered in mobile devices, check how easy is to simulate a wide range of devices and their capabilities.

Mobile Emulation is far easier than switching to a real smartphone or tablet. It could save hours of effort.

mobile-emulation-detail

LoadFocus.com is a All-In-One Cloud Testing Platform for Load Testing and Performance Testing, Website Speed Testing, Automated Website Testing for Websites, Mobile Applications and API Endpoints.

Filed under Automated Website Testing & Monitoring, Selenium WebDriver, UI Testing.

With Automated Website Testing Service from LoadFocus.com you can easily automated your manual tests.

Just go to New Website Test page inside LoadFocus.com and click on the Step Action dropdown.
ui-test-steps

 

Choose the desired Step Action for your Automated Website Test

  • search for the desired the step action (Actions, ScreenShots, Navigation and Assertions)
  • add the step to your test by clicking on the action from the dropdown
  • make the step Required to fail the whole test if this step fails (
    • if don’t make the step Required, all other steps will continue to execute even if current step failed
    • test status will not take this step into consideration
  • add the necessary CSS or XPATH selectors for your desired Step Action (more details on how to locate web elements)
ui-test-assertion-step

 

Add more steps to complete your test scenario

 

add-more-test-steps

 

Execute the created Automated Website Test or Save for Later.

execute-ui-test

 

Check how easy is to automate the manual steps of your UI functional test with Automated Website Testing Service from LoadFocus.com.

More details related to Selenium WebDriver are available in the Video Course on How to Select a Dropdown in Selenium WebDriver.

Filed under Automated Website Testing & Monitoring, Selenium WebDriver, UI Testing.

We released a cloud-based web UI testing service that makes life easier to build functional tests and automate the repetitive manual testing of your site. You can catch bugs before your users do.

It’s similar to Selenium WebDriver, but for projects that are short infrastructure and/or coding expertise to confidently develop and manage automated test suites.

Create new automated website test

automated-website-testing-add-steps-new-ui-test

 

Choose the desired steps

automated-website-testing-choose-step

 

View Results and Metrics

automated-website-testing-results

With the Automated Website Testing service from LoadFocus.com you can automate manual regression tests in just minutes and run them from the cloud to check for regressions.

Get notified when your tests fail and automatically find technical errors, review detailed issue reports with screenshots and videos of the bug in action.

Filed under Selenium WebDriver, Test Automation.

In order to select a dropdown value with Selenium WebDriver you have to create a Select (in C# it’s called SelectElement) element and not use the default WebElements.

More details are available in the Video Course on How to Select a Dropdown in Selenium WebDriver.

 

 

import org.openqa.selenium.support.ui.Select;

Use our previous post to locate elements with Selenium WebDriver.

Select dropdown = new Select(driver.findElement(By.id("identifier")));

Let’s consider the following dropdown element for our example:

<select id="mySelect">
<option value="option1">France</option>
<option value="option2">Italy</option>
<option value="option3">Spain</option>
</select>

1. Identify the select HTML element:

WebElement mySelectElement = driver.findElement(By.id("mySelect"));
Select dropdown= new Select(mySelectElement);

or pass it directly to the Select element:

Select dropdown = new Select(driver.findElement(By.id("mySelect")));

2. To select an option you can do:

All select/deselect methods will throw NoSuchElementException if no matching option elements are found.
Select by Visible Text (select all options that display text matching the argument):

dropdown.selectByVisibleText("Italy");

or

Select by Index (select the option at the given index. This is done by examining the “index” attribute of an element, and not merely by counting):

dropdown.selectByIndex(2);

You can also use LoadFocus.com to automate your UI Website tests and run the easily from the cloud every 30 minutes and get notified when they fail. Try it now.

 

Check also The Ultimate Selenium WebDriver Testing & Hands-on Guide – Online Course.

Filed under Apache JMeter, Load Testing, Performance Testing.

If you want to start Apache JMeter in non-GUI mode, use the following command line options:

  • -n – non-GUI mode – this specifies JMeter is to run in non-GUI mode
  • -t – JMX file – location of the test plan and the name of JMX file that contains the Test Plan
  • -l – log file name of JTL file to log sample results to

Example

jmeter -n -t my_test_plan.jmx -l log.jtl

 

Optional

  • -j – name of JMeter run log file
  • -r – Run the test in the servers specified by the JMeter property “remote_hosts”
  • -R – list of remote servers Run the test in the specified remote servers
  • -H – proxy server hostname or ip address
  • -P – proxy server port

Example


The commands will only be accepted if the scripts are run from the same host. Details on how to start JMeter on Mac system can be found here. Also, here is how to load test a website with Apache JMeter.

Filed under Chrome Extension, Page Load Time, Website Speed Testing.

LoadFocus today announced the release of its Google Chrome extension as the newest addition to their testing platform. LoadFocus’s Chrome extension allows users to run free website speed tests and see what’s slowing down their websites. They can monitor changes over time for each page and get advice on how to reduce page load times, see also our article on how to boost speed and improve overall SEO of your website.

It’s an easy to use tool which can optimise the performance of your website.

No need to install anything to run a page load test, the Website Speed Test Chrome extension will create everything for you automatically.

Get the Website Speed Testing Chrome extension today.

 

load-focus-website-speed-test-chrome-extension

Filed under Page Load Time, Website Speed Testing.

Slow websites, or slow pages are not good for SEO. In these days everything needs to be fast. If your website loads in more than 2 seconds you’ll probably lose customers, either by not getting ranked properly in search results, either by customers leaving your website due to its speed.

Use a free website speed testing tool like LoadFocus.com

Here are 5 website speed improvements tips that we consider important:

  1. Reduce the overall size of your assets:
    • Minify your JavaScript, CSS files
    • Resize images by using free resizing online tools without losing image quality
    •  Compress assets using Gzip to reduce load time by as much as 70%
  2. Reduce the size of your HTML code
    • Uglify your HTML code of your web pages
    • Release features with fewer lines of code (inspect 3rd party plugins like Editors to understand how much markup they add to your website)
  3. Upgrade your dependencies to the latest version
    • usually the latest versions has many performance improvements
    • even if you need to do some code changes in order to make your code work with the latest version, we still believe it worth giving a try
  4. Reduce the Number Of HTTP Requests
    1.  Group JS and CSS files together
    2. Batch HTTP requests
  5. Use browser caching and remove unused 3rd party libraries or plugins

LoadFocus.com is a Cloud Website Speed Testing Platform used for Testing Websites from Multiple World Locations and Inspecting Result with Full Analytics.