Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

ISSN 2319-8885

Vol.06,Issue.07
February-2017,
Pages:1464-1466
www.ijsetr.com

Open Source Automation Solution – SIP Services (RFC 5359)


KRANTI KUMAR APPARI
Abstract: Open Source Robot Framework Automation solution for SIP services (RFC 5359) is proposed in this paper. This
paper describes how the SIP services (RFC 5359) can be automated along with 3PCC phones like Cisco, Polycom, Softphones
etc. using Robot Frame work. It is a cost effective solution.

Keywords: SIP services (RFC 5359)

I. SYSTEM ANALYSIS 12. Easy for re-run only failed Test Case and Merging
Existing System: Till date only commercial tools are with Test Report using „robot‟ tool.
available in the market to automate SIP. There is no particular 13. Easy for updating complete Test execution status into
open source tool available to completely automate SIP Test Management Tool by just uploading single
services. “output.xml” file.
14. Available Jenkins plug in for Continuous Integration
Proposed System: In this paper we proposed automation of and also capability to give Trend Analysis about Test
SIP services using Robot Frame Work. This is simple and a execution.
reliable resource. 15. Non- Programmer can also understand and develop
II. INTRODUCTION test cases easily.
Robot Framework is a keyword-driven testing framework
.It was released in 2005 by Nokia Siemens Networks for the
first time, and Version 2.0 released under „Apache License
2.0‟ in 2008. The framework is written using the Python
programming language and has an active community of
contributors. It is used for Hybrid Test Requirements unlike
other Test Framework.
Advantages:
1. Has simplicity in developing Test Cases in .txt, .html,
.xml, .csv etc.
2. Comes with rich collection of inbuilt and Third party
Test Libraries for all Domains Testing.
3. Easy for Developing, Enhancing and Maintaining
Test Scripts.
4. Can be enhanced in Java, Python and .Net.
5. Allows reusing of the keywords written in Ruby,
Clojure, Perl, Node.js, PHP using Remote Library. Fig1. Robot Framework – Architecture.
6. Can be used for Data Driven, Keyword Driven
(Functional), Behavioural Driven Testing. III. COMPARISION WITH OTHER TEST
7. Best suited for Functional, Performance and FRAMEWORKS
Acceptance Testing. A. One Solution for All Requirements:
8. Allows doing Unit Test for Java, Python, .Net using Each framework is introduced for specific Test Requirements
Jybot, Pybot and IPybot respectively. as given below
9. Generates Logs and Reports in log.html, report.html, Framework Requirements
output.xml for Test management. TestNG Data Driven Testing
10. Easily scalable as supports to run Test suites with Cucumber Behavioural Driven Testing
millions of Test Cases. MISTA Model based Testing
11. Allows controlling test execution using Test case Robot Framework is introduced for all kinds of Test
Tags for test case prioritization. Requirement (Hybrid Requirement). It‟s one solution for All
Requirements unlike one Solution for one Requirement.

Copyright @ 2017 IJSETR. All rights reserved.


KRANTI KUMAR APPARI
B. Project Execution in-terms of Time and Cost test ky spkr -- This will offhook the call by pressing Speaker
No matter what Test Framework using but Project execution button
needs to be done on Time with 99.99 Quality. Picking up test ky XXXX -- This will make the call to XXXX extension
right Test Framework is important for any kind of Projects. by pressing XXXX DTMFs
When the Test framework itself is bit complex to start up,it test ky spkr -- This will onhook the call by pressing Speaker
requires high technical resource to deal with and less button
productivity in-terms of automating and executing Test cases
per day, which results into not reaching Project Execution on B. 3PCC phone Polycom VVX 500 Automation by using
Time. In the current trend, Robot Framework is highly Robot Frame Work
preferable than any other framework since it is simple to Separate library (sipphone-automation) is available to
understand and productive rate is pretty higher than other automate Polycom IP phone.
frameworks. When Time and cost is considered, Robot Note:To run this available library we should have a Polycom
Framework is good choice. IP phone firmware which supports the Micro browser.

IV. ROBOT FRAME WORK FOR SIP AUTOMATION C. GUI based Soft Phone Automation by using Robot
TEST BED Frame Work
To Automate Soft Phone (Xlite/Zoiper) GUI importing pyw
in auto and to find Xlite/Zoiper DTMF using Robot
framework – Auto It library. Mainly Auto It is designed to
automating the windows GUI and it uses mouse movement
and window/control manipulation in order to automate easily.

D. Wire Shark Validation


To Automate validation of SIP based output call flows by
using Wireshark, Robot Framework uses pyshark (Wireshark
library).
V. KEY CHALLENGES
 Requires High effort to develop the product specific
libraries from scratch
 Identification of correct keywords of the library is
challenging in Robot to write test case
Fig2.  Lack of dedicated support for the framework to discuss
the issues
Software Requirement:  Good knowledge of python scripting is required to
 Python MSI Installer Package (python-2.7.9) automate the test cases
 Robot Framework exe (32-bit)
 Selenium library exe (0.5.2.win32) VI. CONCLUSION
 RIDE (0.42.1.win32) Robot Framework is not intended for any particular
 Wx Python (2.8-win32-unicode-2.8.12.1-py27) Domain. It is open for all domains. We just need to include
 AutoIt Libraray (1.1) your libraries and get started with work. As Robot Framework
 Pyshark (KimiNewt) is keyword based its easy even for a non-experience person to
 Pywinauto – version 0.4.0 start with writing of a test case. It is very easy to get the
In SIP Automation Test Bed generally we face typicality with accurate results with minimal conditions, as it auto verifies
three components. They are the reports. As the industry is moving towards Automation in
 Automation of 3PCC(Cisco, Polycom..) Phones every domain, Robot Framework will be the first choice as it
is open source and also plays vital role in the Automation
 Automation of Soft Phone ( Xlite, Zoiper..)
Testing area independent of domain.
 Automation of Wireshark Traces to validate the
SIP call flows
VII. REFERENCES
[1] Kranti Kumar Appari, Customized IVR implementation
A. 3PCC phone CISCO 7940 Automation by using Robot
using Voice XML on SIP(VoIP) Communication platform,
Frame Work
International Journal of Modern Engineering Research,
To automate CISCO IP Phone, Connect the CISCO phone
vol.2,Issue 6, 2012, 4239-4243.
using Telnet library and issue the required CISCO IP Phone
[2 ]R. Patton, Software Testing, Sams Publishing, 2005
commands by using keywords in the Robot framework
[3] http://code.google.com/p/robotframework/, May 2011
E.g.:To make a call find the sample CISCO commands below
[4] http:// www.opensourcetesting.org/, May 2011
[5] http://code.google.com/p/robotframework-ride/, May 2011
test open -- Open the connection path

International Journal of Scientific Engineering and Technology Research


Volume.06, IssueNo.07, February-2017, Pages: 1464-1466
Open Source Automation Solution – SIP Services (RFC 5359)
Author’s Profile:
Kranti Kumar Appari is a Product Test Architect with 10+
years of experience in product Testing, Quality Assurance and
in the telecom sector covering different Protocols such as SIP,
MGCP, IMS and SCTP. He is currently working for NEP
Telecom Testing Practice.

International Journal of Scientific Engineering and Technology Research


Volume.06, IssueNo.07, February-2017, Pages: 1464-1466

You might also like