Git Product home page Git Product logo

ginger-automation / ginger Goto Github PK

View Code? Open in Web Editor NEW
90.0 17.0 60.0 732.39 MB

Ginger Automation IDE

Home Page: https://ginger.amdocs.com

License: Apache License 2.0

C# 92.08% Batchfile 0.08% Java 2.10% HTML 1.40% JavaScript 1.23% Python 0.01% RobotFramework 0.01% Shell 0.01% Inno Setup 0.14% PostScript 0.01% CSS 1.35% PowerShell 0.06% VBScript 0.02% SCSS 1.52% Dockerfile 0.01%
automation automated automatic testing testing-tools test test-driven-development test-framework testng test-automation

ginger's Introduction

Ginger Automation

Build status Gitter chat License

Linux: Build Status Windows: Build Status Mac: Build Status

Ginger is an Automation IDE, Drag & Drop automation, Can be used by users with or without coding skills, open platform with plugin capabilities.

Highlights

  • Record & Playback - Record user operation on target application and playback
  • Window Explorer
  • BDD (Behavior Driven Development) – Integrated Gherkin editor powered by intelli-sense text prediction, automatic generation of scenarios from feature files
  • Ginger on Web – Scheduling and execution of Ginger automation flows via Web site with no technical knowledge needed
  • Advanced capabilities and rich user experience
  • Parallel Execution - Execute different scripts at the same time on the same machine or distributed machines, keep working while scripts executed in the background
  • Reusability - Create building blocks and reuse with different parameters
  • End to end scenarios - Execute flows which starts from front end, goes to backend and back, verify each step in the way for better coverage and all from the same Ginger UI without writing any code
  • Support Micro Services, Service Virtualization, Contract validation via PACT
  • API Models - Machine learning of WSDL, define API calls with parameters make it very easy to call APIs without having to manipulate XMLs manually

Supported Platforms

Web, Mobile, Web Services, Java application, Windows, Power Builder, Linux/Unix and more...

What Ginger can automate

  • Browsers: Chrome, Firefox, Safari, Edge, Internet Explorer
  • Mobile Devices: IOS, Android
  • Web Service APIs: SOAP, REST
  • Java: Swing application and Widgets
  • Windows Application written in .NET, Windows forms...
  • Power Builder
  • Linux/Unix
  • DOS Console
  • Mainframe 3270

Why we created Ginger? Is it just another Automation tool/framework? Why is it different?

Same like many testing organizations we used a commercial tool for our testing, and added on top of it a framework to with our libraries and needs, it worked great for many years but had several limitations: like machine is locked for testing, one test at a time, slow execution, required VBScript knowledge. During the evolution of digital and more free open source automation libraries, we wanted something smarter, easier to use and maintain, and yes we wanted it to be free too, in 2014 we looked at several open source libraries like Selenium, Appium and since we also needed to automate Windows Apps, PowerBuilder, MF and Linux we decided to create a wrapper with nice UI on top of all these free libraries, and that's where it all started. We wanted one IDE for all platforms. Making it easy for a tester to create scripts while focusing on WHAT to test and not HOW to test. we have created a unified framework, with amazing UI to make it cool and fun to work with. Of course, developers can utilize it as well to quickly test their application. Ginger is a full Automation IDE, not an automation library for specific platform, we have a lot of great ideas for our roadmap which is going to make Ginger even greater, we have more than 1,000 Unique users per month running Ginger, and millions of executions, with all the great feedback we got so far and many requests to make it open source we have decided to contribute it to the community for everyone to enjoy.

DevOps CI/CD integration

Jenkins - Ginger scripts can be executed from Jenkins build, we have created a Ginger Jenkins plugin which make it very easy to trigger a Ginger execution step.

Source Control Integration

You can save Ginger Scripts(XMLs) to source control, with easy Check-in, Get latest making team collaboration and updates very easy.

  • SVN
  • Git

Reporting

Amazing HTML Execution Report – With drill down from Runners to business flows, activities, and actions, including screenshots

Report can be customized and include your own logo

Database

Ginger can retrieve and store data from different types of databases

  • Oracle
  • SQL server
  • MS Access
  • DB2
  • Cassandra
  • and more

Common functions library

Ginger have built in actions for common tasks

  • Read/Write from Excel...

Ginger open platform

You can add plugins or create your own.

Shared repository

Ginger components can be saved to shared repository for easy drag and drop automation

  • Activities
  • Activities group
  • Actions
  • Variables

Automation libraries

Ginger is leveraging on a variety of great open source libraries, like: Selenium for Web, Appium for Mobile and more

Scripts

You can also run you own scripts and integrate the input/output easily

  • VB Script
  • Javascript
  • Python
  • batch files
  • More...

Integration with other Automation Frameworks

Ginger is execute script of other automation framework so you can reuse existing scripts

  • SoapUI
  • RobotFramework

ALM - Application life cycle management

Ginger Can import test cases, upload test results, create defects and more

  • HP ALM/QC
  • IBM Rational

HW/SW Requirements

Component Minimum Recomended
CPU 2GHZ+ 3GHZ+
RAM 4GB+ 8GB+
Hard disk space 2GB 6GB+
.NET 4.6.1 4.7.1

ginger's People

Contributors

aditijagtap avatar aditydha avatar amanprasad43 avatar ambarkhan avatar amitamir avatar arvindgh avatar eliranbardavid avatar gideon7701 avatar iamranjeetsingh avatar jaspreetgit avatar jinendraghodke avatar kashmiradeshpande avatar liranmessinger avatar maheshkale447 avatar manas-droid avatar menikadosh1 avatar nadeemjazmawe avatar niharikaprdn avatar olegorlovsky avatar prashelke avatar rajdeep-mukh avatar rathimayur avatar ravikirankethe avatar ravirk91 avatar shahanemahesh avatar sudarshan0212 avatar tomsendrovich avatar uzanh avatar vyasprateek avatar yaronweiss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ginger's Issues

Dynamic xpath not working when value fetch from DB or Global Variable

I am trying to make the xpath dynamic. So, in POM, I have made an extra copy of the xpath and made it dynamic by passing a variable which is coming from DB. In the value expression editor the correct value is displayed but when you try to test it then it will fail saying incorrect xpath.

Value Expression Editor
Dynamic Xpath issue

Same issue if used global parameters.
How to achieve dynamic xpath in POM?

Ginger Version 3.1

Ginger Solution help system

When user open a solution there will be help pages to guide him for the specific implementation
When user receive a solution the how to do things is not clear, for example if the Business flows need data which is located in excel file in Documents, so first time it will take time to figure out how to do stuff even if the user is very experience in Ginger

Describe the solution you'd like
Add another folder for Help files, each file can be like .MD file which the someone else who is familair with the solution can write the how to, it will be displayed in nice UI with formatting
Help files will be checked in and part of the solution like any other repository file

Describe alternatives you've considered
Create a separate Web server maybe .NT core console, the cons is that it will require to manage start/stop and update with new versions

Jira package is unable to download and encountered an error message

Describe the bug
Jira package is unable to download and encountered an error message in the link URL below:

URL: https://ginger.amdocs.com/Downloads/Other

Error Message:
The requested URL was rejected. Please consult with your administrator.

Your support ID is: 3967589942995237123

To Reproduce
Steps to reproduce the behavior:
Set Jira Connection Package

For working with Jira you will need to load the relevant Jira zip settings file according to the next steps:

  1. Download the relevant Jira settings zip file from Ginger support site.
  2. On “ALM Connection Settings” window, click on “Change Server Details” Button.
  3. Click on “Replace” button and choose your downloaded zip file.
  4. Click on “Get Project Details “
  5. Choose your domain and project and save your connection settings.

Expected behavior
The Project details will be loaded

Screenshots
image

image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Ginger Version: 3.9

Get InnerString

Like the way we have GetText, GetValue, Get Width etc, can we also have GetInnerString which will pull the entire HTML and save to a variable. In this case, we might want to have the variable length more to save the big content. In our project, we have a requirement to pull the entire string and save them in the database for the descending jobs to take care.

Requesting .dmg file of ginger on Mac OS

Hi,
Iam using ginger for web apps and android apps since 4 months.I want to try it on MAC OS.Help files are very confusing to understand the setup.we have only .exe file for ginger,but no dmg file for Mac.Set up for MAC is very complicated.It would be very easy if you provide .dmg file for MAC OS.

And also please help us with updated help files for MAC.

Thank you.Waiting for your quick reply

Other Test management tool integrations in Ginger

Hi Team,
This is regarding feature requesting to add in Ginger.It would be helpful to integrate with diff Test management tools..Currently I am looking for Test Rail integration with Ginger..Could you please reply on this whether it is possible or not?We would be soo happy if other tools can be integrated.Waiting for your reply...Thanks in advance🙂

Add agent to sub folder not visible/selected

Describe the bug
After Adding new agent to sub folder the agent tree item is not visible and selected

To Reproduce
Steps to reproduce the behavior:

  1. Go to Configuration/Agents
  2. Create sub folder
  3. Add agent to new sub folder
  4. Agent is created but is not visible on the tree

Expected behavior
agent is visible and selected

unix (Mediation) activities take too long (I'm probably doing something wrong)

Using Ginger 3.3

since I wanted to automate Linux command line actions I created a Flow and Activitiy that are linked to the "Mediation" target (this was the only one that indicated Unix as the platform)

examples of some the Actions I've configured within my Activity are :
systemctl restart rsyslog.service
wc -l /var/tmp/someConfigFile| cut -d ' ' -f 1

these are things that return instantly when run on the Linux command line

when I run my Flow from the Ginger GUI they are taking ~30 seconds to execute
I've tried setting Wait as 0 within the Action Details but this has no impact

any advice would be appreciated
thank you

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Action row floating run button sometimes is offset to the row

To Reproduce
Steps to reproduce the behavior:

  1. Select action in the grid
  2. Resize the row or column size
  3. action floating buttons placed incorrectly on wrong row/col

Expected behavior
Actions floating buttons to be in the row boundreis

Screenshots
image

Agents Copy/paste is not working

Agents tree trying to copy and agent then paste

To Reproduce
Steps to reproduce the behavior:

  1. Go to Configuration/Agents
  2. Select agent
  3. Right click copy
  4. Paste

Expected behavior
Copy of the agent

Add Output Value in API Model Issue

Create an API Model
Go to Output Tab, Add the Parameter there Result and expected output
Go to the business flow
Use the recently created Model Parameter
Check Output parameter tab

Expected:
The configured Parameter should appear with operator as Equals
Actual:
The configured Parameter should appear with operator as "Legacy"

Ginger v37.0.0.0 - Java Agent getting stuck on "Agent is starting..."

Creating a new agent to manipulate Java application (CRM) and trying to Test Agent its getting stuck on status "Agent is starting..."

IP and port are correct configured according with Java application configuration

Steps to reproduce the behavior:

  1. Go to 'CONFIGURATIONS'
  2. Click on 'Add Item'
  3. Click on "Next ->" button
  4. Set Name
  5. Select Plataform as "Java"
  6. Select Diver as "Java Driver"
  7. Select Type as "JavaDriver"
  8. Click on "Next ->" button
  9. Set Java AgentHost - IP value obtained from java CRM application
  10. Set Java AgentPort - Port value obtained from java CRM application
  11. Click on "Finish" button
  12. Select your Agent just created and click on "Test Agent" button

Here button is disabled trying to test agent but there is no change anymore, then if I click on "BUSINESS FLOWS" menu I can see close to the "power" button a status "Agent is starting..."

LOGS (INFO log is present all time when status is "Agent is starting..." then ERROR log was created when I close Java application after 10 minutes)

2021-05-05 12:03:19,548 | INFO | NTNET\enriquga | [1] | Amdocs.Ginger.CoreNET.log4netLib.GingerLog |:
Showing Status Message: Starting the agent 'E2EC' for 'MyJavaApp'

2021-05-05 12:06:20,644 | ERROR | NTNET\enriquga | [1] | Amdocs.Ginger.CoreNET.log4netLib.GingerLog |:
System.Exception: String Parsing Error/wrong value type b=2 Name of the payload isERROR Buffer Index is: 14
at GingerCore.Drivers.CommunicationProtocol.PayLoad.GetValueString()
at GingerCore.Drivers.JavaDriverLib.JavaDriver.StartDriver() in D:\BuildConfigs\tfsagent_work\4\s\Ginger\GingerCore\Drivers\JavaDriverLib\JavaDriver.cs:line 167
at Ginger.Repository.RepositoryItemFactory.StartAgentDriver(IAgent IAgent) in D:\BuildConfigs\tfsagent_work\4\s\Ginger\Ginger\AutomatePageLib\AddActionMenu\SharedRepositoryLib\RepositoryItemFactory.cs:line 252
at GingerCore.Agent.StartDriver()
at Ginger.Agents.ApplicationAgentsMapPage.xStartCloseAgentBtn_Click(Object sender, RoutedEventArgs e) in D:\BuildConfigs\tfsagent_work\4\s\Ginger\Ginger\Agents\ApplicationAgentsMapPage.xaml.cs:line 107
at Amdocs.Ginger.UserControls.ucButton.xButton_Click(Object sender, RoutedEventArgs e) in D:\BuildConfigs\tfsagent_work\4\s\Ginger\Ginger\UserControlsLib\GingerButtons\ucButton.xaml.cs:line 166
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
System.Exception: String Parsing Error/wrong value type b=2 Name of the payload isERROR Buffer Index is: 14
at GingerCore.Drivers.CommunicationProtocol.PayLoad.GetValueString()
at GingerCore.Drivers.JavaDriverLib.JavaDriver.StartDriver() in D:\BuildConfigs\tfsagent_work\4\s\Ginger\GingerCore\Drivers\JavaDriverLib\JavaDriver.cs:line 167
at Ginger.Repository.RepositoryItemFactory.StartAgentDriver(IAgent IAgent) in D:\BuildConfigs\tfsagent_work\4\s\Ginger\Ginger\AutomatePageLib\AddActionMenu\SharedRepositoryLib\RepositoryItemFactory.cs:line 252
at GingerCore.Agent.StartDriver()
at Ginger.Agents.ApplicationAgentsMapPage.xStartCloseAgentBtn_Click(Object sender, RoutedEventArgs e) in D:\BuildConfigs\tfsagent_work\4\s\Ginger\Ginger\Agents\ApplicationAgentsMapPage.xaml.cs:line 107
at Amdocs.Ginger.UserControls.ucButton.xButton_Click(Object sender, RoutedEventArgs e) in D:\BuildConfigs\tfsagent_work\4\s\Ginger\Ginger\UserControlsLib\GingerButtons\ucButton.xaml.cs:line 166
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)


JAVA VERSION

java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) Client VM (build 25.201-b09, mixed mode, sharing)

OS Windows 10 64 bit
Core i5
8 GB RAM

Excel Action - OLEDB Error

Describe the bug
I have created an Excel Action and when I tried to open the excel using Ginger, I am getting below Error.

image

Is there any prerequisite to use the Excel in Ginger?

Multi execution of step actions/step based on the number of rows in excel

Is your feature request related to a problem? Please describe.
I am trying to execute a simple test case with two inputs i.e Username and Password. Now, it needs to check this with different set of data from excel. But, I am not able to execute the step multiple times without making a duplicate copy of the step.

Describe the solution you'd like
Use the excel column name as variable in the test steps/Step-Action. Based on the number of rows in the excel, repeat the STEP and fetch data on each iteration from excel and pass it to the mapped variables.

More Details:-

  1. Excel contains 3 rows with two columns named as Username and Password.
  2. Use the excel column name as variable in Step-Actions> "set text" for username and password.
  3. Run the scenario and it should execute 3 times.
  4. In first run, username and password should be fetched from first row, in the second run, data should be fetched from second row and so on.

Describe alternatives you've considered
I have tried to copy paste step actions and then used two excel action and filtered the inputs. But, it is hectic if we have lot many rows of data to test.

Additional context
Its been couple of days since I am working on ginger. So, if I missed this feature then kindly let me know.

Unable to read excel due to Microsoft.ACE.OLEDB.12.0 error

Describe the bug
I am trying to read excel using "Edit Excel Action"

To Reproduce
Steps to reproduce the behavior:

  1. Add new step action
  2. Click on General Actions
  3. Scroll down to "Excel Action"
  4. Click on "Add Action" button
  5. Select "Excel Action" as Read Data
  6. Provide excel file path
  7. Click on View All Data.
  8. Click on "Run"
  9. Check Run status

Expected behavior
Excel data should be imported in "Excel Data:" view

Screenshots
If applicable, add screenshots to help explain your problem.
ginger_excel_issue

Desktop (please complete the following information):

  • OS: Windows 7
  • Browser [NA]
  • Version [3.0]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
I search it but related solution points to Microsoft additional drivers for 2007 which doesn't exist. I have tried with AccessDatabaseEngine(x64) 2010,2013 but no luck.

Unable to find genkins plugin

I was trying to integrate ginger with jenkins. In the help document, it was mentioned to use "gingerPlugin.hpi" plugin. I am not able to find this plugin. Is this plugin available or there is another way to integrate with jenkins.

Jenkins Plugin

I have tried to run the project from the below;-
https://github.com/Ginger-Automation/Ginger-Jenkins-Integration
Compiled with MVN and got the .hpi file. But its field are different from the help file and it is also not working. Please let me know if there is something I can do to execute it with genkins.

Output from Jenkins Console:-
Building in workspace D:\Jenkins\workspace\Ginger_Demo
Solution folder: C:\GingerSourceControl\Solutions\Test_Project\XXX_Automation
Run set name: Test Set 2
Target environment: Default
Ginger console folder: C:\Program Files (x86)\Amdocs\Ginger by amdocs
File C:\Program Files (x86)\Amdocs\Ginger by amdocs/config/201942502014-GingerParam.txt was created
command-dotnet C:\Program Files (x86)\Amdocs\Ginger by amdocs/GingerConsole.dll C:\Program Files (x86)\Amdocs\Ginger by amdocs/config/201942502014-GingerParam.txt
ERROR: Run set completed with failure
Finished: FAILURE

Unable to use Ginger Agent with jre 1.5

Describe the bug
I have a jnlp application that can only be run using jre 1.5. I need to use GingerAgent with this application.
When I try to attach GingerAgent to it, an exception is thrown that says:
com.sun.tools.attach.AttachNotSupportedException: The VM does not support the attach mechanism
at sun.tools.attach.HotSpotAttachProvider.testAttachable(HotSpotAttachProvider.java:152)
at sun.tools.attach.WindowsAttachProvider.attachVirtualMachine(WindowsAttachProvider.java:50)
at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:195)
at com.amdocs.ginger.GingerAgent.Attach(GingerAgent.java:150)
at com.amdocs.ginger.GingerAgent.main(GingerAgent.java:89)

To Reproduce

  1. Start jnlp file with jre 1.5
  2. Start GingerAgent with jdk 1.8 for example, give it PID of the application you already started in step 1.
  3. see error.

Expected behavior
Ginger agent should be attached to the application

**Desktop

  • OS: Windows 10

Run a command in File Operations actions error

Describe the bug
Run a command in File Operations actions error

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Actions -> File Operations Action'
  2. Click on 'Operation type -> Run A command'
  3. Give Source File path (File name having Spaces)
  4. See error :'System can't find the Path specified'

Expected behavior
Open the File as per source file path

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • Windows

Run Analyzer - Giving error for existing Model Globlal Parameter

  1. Add a Global Model Parameter in the Business flow.
  2. Add a DB Action in the Business flow which is using that Global Parameter as input in Free Sql
    e.g. select * from customer WHERE account_id='{GlobalAppsModelsParam Name=}'
  3. Run Analyzer on Business flow

Getting Critical error saying Global Parameter "}" does not exist

Browser screen shot will take full page, not only what's visible

Trying to get a full screen shot from browser
Ginger take screen shot of only the visible parts, changing browser height is limited
This is known Selenium problem with latest browsers implementing the WebDriver protocol,

Describe the solution you'd like
Ginger will take screen several screen shots, scroll down, repeat until end of page, then stitch all to one image

Describe alternatives you've considered
changing screen size in Visual Testing action

Ginger_4.1 : Could not trigger RunSet, getting error.

Describe the bug
While triggering flows in runset, i am getting errror.

To Reproduce
Steps to reproduce the behavior:

  1. Go to run set.
  2. Click on 'Run'
  3. See error

Expected behavior
All the flows should get triggered/executed

Screenshots
PFA email.

Desktop (please complete the following information):

  • OS: Windows
  • Browser Chrome
  • Version [Version 96.0.4664.110]

Random Paragraph

In the same way we have Random String and Random Number, it will be a good idea to have a Random Paragraph with some minimum and maximum length. The goal would be getting some string like "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis eu odio eget erat suscipit porttitor sed ac sapien. Nullam elementum a enim nec vehicula. Donec blandit ac purus at imperdiet." based on my requirement.

ver.3.5: Click and Validate action is not working with POM element for Validate part.

Describe the bug
When using Click and Validate element action and choose for Click POM and for validate also POM element the actions is alwasy failed.
The problem is only in validate section if i replace it with locate by XPath then the step is Passed.

To Reproduce
Steps to reproduce the behavior:

  1. Create some POM elements which can be used with click and validate
  2. Create Action UI Element
  3. Choose Element Action "Click and Validate"
  4. Choose to locate click by POM and select POM element 1
  5. Choose to locate validate by POM and select POM element 2 with validation type "is Visible"
  6. Execute the Action

Expected behavior
POM element 1 is clicked and POM element 2 is validate that is visible.

Actual behavior
POM element 1 is clicked but POM element 2 is not validate as visible and Action is Failed.
The error which is appeared in Failed action is:
Error: Validation Element not found - POMElement Using Value : 18eaae68-fdb6-4ad0-b772-b5c338cffd46_0dd88092-b4d6-415d-8f0f-67eb759222e7

Screenshots see below

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome 83
  • Ginger version: Official release 3.5
    image001
    image002

Unable to retrieve values from MongoDB getting - Error parsing Infinity value.

Describe the bug
Unable to retrieve values from MongoDB getting - Error parsing Infinity value.

To Reproduce
Steps to reproduce the behavior:
1.Connect to Mongo DB
2. DB Operation Free SQL
3. db.featureSets.find( {project: "ST Demo 3" } )
4. Sample record ( createdDateTime : 2021-10-21 14:31:47.006Z)
Additional info: we want to retrieve different datatype from DB String, Object, Array, Double, Int64
we noticed similar exception for Int64 as well

  1. See error

2021-10-22 17:34:41,818 | ERROR | ITSERVICES\tk160f | [121] | Amdocs.Ginger.CoreNET.log4netLib.GingerLog |:
Method - PerformDBAction, Error - Error parsing Infinity value. Path '[0].createdDateTime', line 1, position 390.
Newtonsoft.Json.JsonReaderException: Error parsing Infinity value. Path '[0].createdDateTime', line 1, position 390.
at Newtonsoft.Json.JsonTextReader.ParseNumberPositiveInfinity(ReadType readType, Boolean matched)
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.Linq.JContainer.ReadContentFrom(JsonReader r, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JContainer.ReadTokenFrom(JsonReader reader, JsonLoadSettings options)
at Newtonsoft.Json.Linq.JArray.Load(JsonReader reader, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JArray.Parse(String json, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JArray.Parse(String json)
at Ginger.Utils.JSONManager.DeserializeJson(String json)
at GingerCore.Actions.Act.ParseJSONToOutputValues(String ResponseMessage, Int32 i)
at GingerCore.NoSqlBase.GingerMongoDb.PerformDBAction()

Expected behavior
Values should be retrieve from DB.

Screenshots
If applicable, add screenshots to help explain your problem.
Data base screen shot

Bug

Desktop (please complete the following information):

  • Windows (HVD)

Bug
Additional context
Please consider different data type we are expecting in our execution
data Type: String, Object, Array, Double, Int64

Add action wizard

Create a guidance user experience when user want to add new action

Create a wizard of add action

  • Select action group: Platform, General, Legacy - radio buttons
  • Show the list of action filtered from page 1, when selecting action show the description of the action
  • Show the specific action edit page
  • Show Retry mechainsm
  • Test action with show output values and screen shot if available
  • Explain the output values and how to set expected
  • Show Flow control with explanation of how to
  • Show Final status calculator

Output variable value in the email report

Describe the bug
Created the runner set and trying to get provide a variable's value as part of report. But unable to use the variable. Always in the email report "ERROR: The Variable 'Thrhold' was not found"

To Reproduce
Steps to reproduce the behavior:

  1. Create a businessflow with a variable(V1) value that got assigned by one of the actions in the activity.
  2. Have the variable(V1) to get linked with a Variable(v2) here"Thrhold" defined in the runner setup as part of comments section of the email.
  3. Execute the runner in the cmd C:\Users\xxx596>D:\Ginger\Debug\Ginger.exe ConfigFile="D:\Ginger\Documents\RunSetShortCuts\eGain-eGain.Ginger.AutoRunConfigs.Config"
  4. Error in the email report ERROR: The Variable 'Thrhold' was not found

Expected behavior
Threshold value crossed, the count is 25

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows
  • Browser chrome
  • Version [e.g. 22]

Firefox Agent Error

There is an issue in creating Firefox Agent (84.0.2 (64-bit)) - not sure what the error is.

######################## Application version 3.7.2(Beta, Build Date: 22-Dec-2020) Started ! ########################
2021-01-21 07:41:23,643 | ERROR | ARTISANTG\ravi.kethe | [1] | Amdocs.Ginger.CoreNET.log4netLib.GingerLog |:
Exception in start driver
OpenQA.Selenium.WebDriverException: Cannot start the driver service on http://localhost:54090/
at OpenQA.Selenium.DriverService.Start()
at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.Remote.RemoteWebDriver.StartSession(ICapabilities desiredCapabilities)
at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities)
at OpenQA.Selenium.Firefox.FirefoxDriver..ctor(FirefoxDriverService service, FirefoxOptions options, TimeSpan commandTimeout)
at GingerCore.Drivers.SeleniumDriver.StartDriver() in D:\BuildConfigs\tfsagent_work\2\s\Ginger\GingerCore\Drivers\SeleniumDriver.cs:line 403

Cookie Variables Action

Request:
Looking for a Cookie Variable set using an action.

Currently we are doing using the JavaScript action but it will be a good feature to have it implemented.

Setting Value: document.cookie="captcha_check=testme123"

image

"Script Action" doesn't work with "FreeCommand" option

Describe the bug
When choosing FreeComand option in general "Script Action", then error "Script file not loaded. Kindly select suitable file" appears while trying to run it.
It happens with all interpreters (built-in and external).

To Reproduce
Steps to reproduce the behavior:

  1. Add "Script Action" from "General Actions"
  2. Set any "Script Interpreter"
  3. Choose FreeCommand in Script Action
    image
  4. Run Action
  5. See error "Script file not loaded. Kindly select suitable file"

Expected behavior
Free command is executed with chosen interpreter

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows
  • Browser N/A
  • Version: 3.5.7

Additional context
N/A

Support : Upload file from window alert pop up for MyWebApp solution

[Support] :

Hi Team,
I created one “MyWebApp” project.I tried uploading files for project from window pop up by using switch window action and file operations (file explorer is opening with title “Google chrome” as icon and “Open” as text) but failed in uploading.There are no help files on this clearly.Please could you help me on this.

test 1

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Power Builder Automation apart from amdocs CSM

Is your feature request related to a problem? Please describe.
It's about enhancement. If we can have the PowerBuilder automation feature for custom user apps.

Describe the solution you'd like
The way we have MyWebApp if we can have MyPBApp.

Describe alternatives you've considered
Currently UFT, IBM rational are some of the tools which allows PowerBuilder automation. It would be great to have an open source tool to automate PowerBuilder apps.

Action type show differently for data source in "Step actions" and execution report

Describe the bug
Action type text is different in "Step Actions" and execution report.

To Reproduce
Steps to reproduce the behavior:

  1. Add some action steps with Data Source action
  2. Run the execution
  3. Open the execution report
  4. Compare action type for "Data Source Action" in steps action and execution report.

Expected behavior
Both should be same to avoid confusion.

Screenshots
Action_Type_Issue

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Also, if there is multiple execution based on data source, only the last execution snapshot is displayed in the report. However, with screenshot action we can take screenshots but report will only show the last iteration. Is it possible to have report for each iteration with snapshots?

Unable to parse Graphql-RestEndpoint

Describe the bug
We are trying to do API testing using Graphql Endpoint but the response returned in Ginger action was not parsed in proper format. Below Graphql response was not parsed, (Id, Firstname ect. fields were not parsed)

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'WebAPI Rest Action'
  2. Enter Graphql Endpoint url
    Eg:
    {
    "data": {
    "login": {
    "id": "123",
    "FIRSTNAME": "abc",
    "MIDDLENAME": "",
    "LASTNAME": "bgf",
    "USERNAME": "abc",
    "EMAIL": "[email protected]",
    "ISEXPIRED": 0
    }
    }
    }

Run Ginger on Linux

**Need to execute run set of APIs in Docker@Linux **
Currently Ginger requires a windows machine

Use .NET Core and .NET Standards avoid .NET 4.6.1
make stand alone command line execution possible

RC for the WebPage

We want to know the return code after the web page is opened (200/404/500). This way we want to validate the page with the right RC and then validate with the text in it.

Cut/Paste item in tree ask user to save

When doing cut paste if change have been done without saving the cut is deleting the old file and the new item from memory is save to the target lcoation

Need to ask the user to save before the operation

Agent edit page doesn't show driver type

see screen shot

Steps to reproduce the behavior:

  1. Go to any configuration/Agent
  2. Select agent in tree

Expected behavior
Combo box with values of driver type

Screenshots
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.