as

Thursday, 28 May 2015

Ranorex tutorial for beginners


We will see below topics in this tutorial.
  1. Introduction to Ranorex
  2. What all kinds of applications are supported by Ranorex?
  3. Installation of Ranorex
  4. Ranorex Studio
  5. Recording and Playing Back in Ranorex.
  6. Viewing the test results
  7. Test suite in Ranorex
  8. Modules in Ranorex
  9. Using repository in Ranorex
  10. Identifying the objects without Repository
  11. Automating Desktop applications
  12. Automating Web Applications
  13. Automating Mobile Applications
  14. Designing frameworks in Ranorex
Introduction to Ranorex
Ranorex is a licensed tool to automate the dektop, web and mobile applications.

Applications supported by Ranorex
Ranorex supports all kinds of dektop (.Net, Java, flex) , web (Internet explorer, chrome, firefox, safari) and mobile application testing (Android, IOS).

Installation of Ranorex
Trial version of Ranorex can be downloaded from official website.

Introduction to testing using Ranorex Studio.

Below screenshot shows how the ranorex studio home screen looks like.


To create a new testing project, you need to click on New test Solution. To run sample projects, you can choose from the sample solutions. You can create your tests in 2 languages.
  1. C#.Net
  2. VB.Net
We have 3 views in studio.
  1. Project explorer view
  2. Module View
  3. Test Suite View
Each project can have multiple test suites and each test suite can have multiple tests with multiple modules.

Ranorex provides 2 very important tools as mentioned below.
  1. Ranorex Recorder
  2. Ranorex Spy
With Ranorex recorder, you can record your actions on the application under test and then play it back later on. 

Now let us see how we can use Ranorex Spy to identify the properties of the application objects.
Ranorex identifies elements using Ranorex xpath expressions.

Common examples of Ranorex xpath are given below.
  1. Checkbox[@Checked='false' and @Text ='abc']
  2. Form[@Caption='xyz' or @Text ='xyz']
  3. Label[@value = 'pqr']//..//..//Cell[2]   ------Searching by parent
  4. Label[@value = 'pqr']//..//following-sibling::Cell
  5. Label[@value = 'pqr']//..//preceding-sibling::Cell

What do you think on this topic? Please express your opinion or ask any question through comment below. You can write to me at reply2sagar@gmail.com

No comments:

Post a Comment

Leave your valuable feedback. Your thoughts do matter to us.

Sponsored Links

Popular Posts

Comments

ShareThis