We will see below topics in this tutorial.
- Introduction to Ranorex
- What all kinds of applications are supported by Ranorex?
- Installation of Ranorex
- Ranorex Studio
- Recording and Playing Back in Ranorex.
- Viewing the test results
- Test suite in Ranorex
- Modules in Ranorex
- Using repository in Ranorex
- Identifying the objects without Repository
- Automating Desktop applications
- Automating Web Applications
- Automating Mobile Applications
- Designing frameworks in 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.
- C#.Net
- VB.Net
We have 3 views in studio.
- Project explorer view
- Module View
- 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.
- Ranorex Recorder
- 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.
- Checkbox[@Checked='false' and @Text ='abc']
- Form[@Caption='xyz' or @Text ='xyz']
- Label[@value = 'pqr']//..//..//Cell[2] ------Searching by parent
- Label[@value = 'pqr']//..//following-sibling::Cell
- 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.