Automated Testing

JAVA Code to Create an Excel File in Relative Path

Using excel files is one of the most common method for test data and other types of data management. The java code to create an Excel file is very easy and most of the code is self explanatory. Lets have a look at the same:   Eclipse needs to be pointed to the required JAR …

JAVA Code to Create an Excel File in Relative Path Read More »

Apache POIXML Exception: InvalidFormatException:Package should contain a content type part [M1.13]

Problem: I received following error while using “Apache POI(XSSF API)” for reading xlsx file”. Exception occurred during playback of script [TC002_Login] [CRFCN0019E: RationalTestScriptException on line 45 of script TC002_Login – org.apache.poi.POIXMLException: org.apache.poi.openxml4j.exceptions.InvalidFormatException: Package should contain a content type part [M1.13].]. Below is the error displayed in log file: exception_name = org.apache.poi.POIXMLException exception_message = org.apache.poi.openxml4j.exceptions.InvalidFormatException: Package …

Apache POIXML Exception: InvalidFormatException:Package should contain a content type part [M1.13] Read More »

Find elements of a dropdown list: RFT/Rational Functional Tester

To display all elements of a drop down list on the console, following code may be used: Find out the id/name property of the required drop down list and replace the same in line 2. Also remember, if name property is used, do not forget to replace “.id” by “.name”. RootTestObject root1 = getRootTestObject(); TestObject[] …

Find elements of a dropdown list: RFT/Rational Functional Tester Read More »

Life Cycle of Functional Test Automation

Based on my experience,here is the life cycle of Functional Test Automation as per my understanding. Check if the automation tool to be used supports the application to be tested. Identify the scenarios to be tested. The test scenarios identified should be defined in the form of actions (QTP)/scripts (RFT). Object Identification/Recognition Any tool understands …

Life Cycle of Functional Test Automation Read More »

Load Runner(LR) – Error: “-27751: Step download timeout (120 seconds) has expired when downloading resource(s)…”

If step download time error is coming after few iterations that means your application is actually taking this much time to process it.  To resolve the issue, try following Go to Run-Time settings, Go to Internet Protocol -> Preferences and select the “Options” button, Change the “Step DownLoad Timeout (secs)” from the default value of …

Load Runner(LR) – Error: “-27751: Step download timeout (120 seconds) has expired when downloading resource(s)…” Read More »

Common Myths/Misconceptions about Automation Testing

Software Test Automation is often associated with some common misconceptions and myths. These myths generally lead to Failure of automation processes:- It’s magic viel Time is an important factor when it comes to automation. Management want all the test cases to be automated asap  whici ofteen lead to unrealistic expectations. Time is required to be invested to develop framework …

Common Myths/Misconceptions about Automation Testing Read More »

Automation Framework: Keyword Driven Framework

Keyword Driven framework is also known as table-driven or action-word driven framework. In this framework, an application map is defined including it’s objects, components, actions and an expected value for each component. It requires very deep knowledge of applications and automation testing expertise. Keyword-driven tests look very similar to manual test cases. In a keyword-driven …

Automation Framework: Keyword Driven Framework Read More »

Automation Framework: Data Driven Framework

Data Driven Framework is a systematic approach to test an application. In data-driven framework test input and output values are read/write from/to data files (Mostly Excel files) and are loaded into variables in captured or manually coded scripts. In this framework, variables are used for both input values and output verification values. Navigation through the …

Automation Framework: Data Driven Framework Read More »

Scroll to Top