Open2Test Test Automation Framework for Selenium Web Driver - Quick Start Guide Version 3.0 Jan 2015 DISCLAIMER Copying and distribution of this entire article are permitted worldwide, without royalty, in any medium, provided this notice is preserved.
17
Embed
Open2Test Test Automation Framework for Selenium · PDF fileOpen2Test Test Automation Framework for ... Open2Test Test Automation Framework for Selenium Web Driver Quick Start ...
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Open2Test Test Automation Framework for
Selenium Web Driver - Quick Start Guide
Version 3.0
Jan 2015
DISCLAIMER
Copying and distribution of this entire article are permitted worldwide, without
royalty, in any medium, provided this notice is preserved.
Reports/ScreenShot_Report/ Browser Type D:/path/Test Reports/Detailed_Report/
ieDriverPath D:/IEDriverServer/IEDriver.Exe
TempTestReportPath C:/
FileManager EXE D:/path/FileManager.EXE
Note: The selenium utility excel file should be placed in the path defined in Setting.Java class file. If you wish to place
the utility file in some other location, you must update the
path in the Setting.Java class file.
If your test case needs file upload or file download operation, you must download( You will be able to download the exe from the link which you receive for downloading the
framework) and place the FileManager.exe in the required path and should specify the path in the SeleniumUtility.Xls file.
There are no additional environment prerequisites for executing the EXE.
b. Object Repository Excel:
Object Name
Object
Type
Pare
nt
ObjectPath
1 Welcome to
Open2Test.org
Page 0 name=
2 Name Textbox 1 id=name
3 emailID Textbox 1 id=emailID
4 selectframewo
rk
ComboBox 1 xpath=//select
5 Agreement Textbox 1 id=Agreement
6 Input Textbox 1 id=submit
Open2Test Test Automation Framework for
Selenium Web Driver Quick Start Guide
6 | P a g e
Collect the properties of objects and define it in Object_Repository.xls like below
c. Test suite Excel:
Mention the test scripts in the ‘Test suite’ excel in the order you wish to execute them.
Run Test Scripts
r Test_Create Project.xls
r Test_Report Issue.xls
d. Test Script Excel
Write the keywords for the test script like below.
Note: Open2Test Framework Keywords & actions are not case
sensitive.
Run Keyword ObjectDetails Action
r LaunchApp www.open2test.org
r Importdata D:\001_D_Files\path\TestData\TestData.xls Sheet1