- Project on actitime Automation Testing using selenium
To download java click here
To download Eclipse click here
- To download Selenium click here and click on latest stable version
- After downloading create a folder in java project named as "jar".
- Copy-Paste .jar file in "jar" folder.
- Select .jar file -> Right click -> Go to build path -> Click on add to build path.
- To download ChromeDriver click here and click on latest stable version
- After downloading create a folder in java project named as "driver".
- Copy-Paste chromedriver.exe file in "driver" folder.
- To download POI follow this steps:-
-
Go to Google and type POI jar file download and select first link or Click Here.
https://poi.apache.org/download.html
-
Under Binary distribution click on
.zip
link.
- Click on suggested link for download. The zip file gets downloaded automatically.
-
Extract the zip file.
-
Copy paste all jar file from folders and subfolders into jar folder of eclipse.
- Select all .jar files -> Right click -> Go to build path -> Click on add to build path.
- Create folder called
data
in java project and copy-paste excel sheet.
- Type USERNAME and PASSWORD in excel sheet and give sheet name as
input
.
Steps:-
-
Open Eclipse and create java project
-
Go to Help -> Eclipse marketplace
-
Type testNG for eclipse in searchbox and install.
-
During Midway of installation we get a popup. Click on install anyway and after installing restart eclipse.
If this is not working try these steps:-
-
click on Help menu -> Click on Install new software.
-
In popup click on add button. We get add repository popup.
-
Type TestNG in name textfield and paste following link in location textfield
https://testng.org/testng-eclipse-update-site
-
Select TestNG Checkbox and click on next and finish.
-
During Midway of installation we get a popup. Click on install anyway and after installing restart eclipse.
-
Right click on java project -> build path -> add libraries
-
Select TestNG from popup click on next and finish.
-
By doing this the TestNG library is added into project.
-
Download and open project in Eclipse.
-
Go to actitime project -> src -> Right click on actitime_testscripts -> TextNG -> Convert to TestNG
-
Enter Suite name & Test name -> click on finish.
-
Right click on newly generated .xml file -> Run as -> TestNG Suite.
-
If you want to change Order of Execution of programs then, Right click on .xml file -> Open with -> Text editor
-
Change the order of execution in .xml file (Changes should be in between
<classes>
&</classes>
only)
Tasks (Click to expand 👆)
-
Task 001
Task 001 1.Launch the browser 2.Enter the url 3.Enter username 4.Enter the password 5.Click on 'Tasks' in Menu bar 6.Click on '+ Add New' in Tasks 7.Click on 'New Customer' in '+ Add New' drop down list 8.Enter customer name under 'Details' in Create New Customer page 9.Click on 'Copy Projects from an Existing Customer:' drop downs. 10.Select any option from the 'Copy Projects from an Existing Customer:' drop down 11.Click on '+ Create Customer' button in Create New Customer page 12.Logout from actiTime 13.close Browser
Task_001_2022-10-25.23-45-46.mp4
-
Task 002
Task 002 1.Launch the browser 2.Enter the url 3.Enter username 4.Enter the password 5.Click on 'Tasks' in Menu bar 6.Click on '+ Add New' in Tasks 7.Click on 'New Task' in '+ Add New' drop down list 8.Click on 'Select Customer' drop down under 'Details' in Create New Task page (1st Dropdown) 9.Click on 'any customer' from drop down in Create New Task page 10.Click on 'Select Project' drop down under 'Details' in Create New Task page (2nd Dropdown) 11.Click on 'any project' from drop down in Create New Task page 12.Click on 'Enter Task Name' text field in in Create New Task page 13.Enter task name in 'Enter Task Name' text field in Create New Task page 15.Click on 'Estimate' text field in Create New Task page 16.Click on 'Deadline' text field in Create New Task page 17.Click on Checkbox in Create New Task page 18.'Click on '+ Create Task 'button in Create New Project page
Task_002_2022-10-26.00-03-59.mp4
-
Task 003
Task 003 1.Launch the browser 2.Enter the url 3.Enter username 4.Enter the password 5.Click on 'Tasks' in Menu bar 6.Click on '+ Add New' in Tasks 7.Click on 'New Task' in '+ Add New' drop down list 8.Click on 'Select Customer' drop down under 'Details' in Create New Task page (1st Dropdown) 9.Click on 'any customer' from drop down in Create New Task page 10.Click on 'Select Project' drop down under 'Details' in Create New Task page (2nd Dropdown) 11.Click on 'any project' from drop down in Create New Task page 12.Click on 'Enter Task Name' text field in in Create New Task page 13.Enter task name in 'Enter Task Name' text field in Create New Task page 15.Click on 'Estimate' text field in Create New Task page 16.Click on 'Deadline' text field in Create New Task page 17.Click on Checkbox in Create New Task page 18.'Click on '+ Create Task 'button.in Create New Project page
Tasks_003_2022-10-24.mp4