Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Jesse Fair Absent Member.
Absent Member.
2954 views

QTP & Agile -- Gherkin

Just wondering if anyone has seen a way to interpret Gherkin with QTP? Our team is transitioning to Agile and we have a pretty good investment already invested into QTP automaton ... I have been doing a POC with Gherkin and Cucumber with Ruby on Rails. Its going great so far and working well for one team .... an across the board transition to Cucumber and Gherkin is not likely for teams that have already been leveraging QTP but I do see a benefit of using Gherkin with QTP. I have been poking around the net for a while to see if anyone has made any progress with that marriage but no luck. What I'm looking for is a QTP equivalent of Cucumber which is the Gherkin interpreter of human like verbiage. Any thoughts?

Tags (2)
0 Likes
4 Replies
Highlighted
Absent Member.. chdavi Absent Member..
Absent Member..

Re: QTP & Agile -- Gherkin

I have been working on something similar to it, but not using human readable format like Gherkin.  We have a database that has steps in the form of [object] [operation] [data]. 

I think it might be doable.  The main question is do you want to parse through vbscript or use the dotnet integration.  I think parsing might be better in .net, return the parse trees and then loop though your steps.

0 Likes
AutomatedChaos Absent Member.
Absent Member.

Re: QTP & Agile -- Gherkin

Yes, it is possible to use Gherkin Language with QTP; I have uploaded a techdemo on my GitHub location. It is limited to the use of Given, When, Then, And and Scenario and you can also use parameters in Gherkin phrases (no tables yet). Feel free to expand.

https://github.com/Autom8edChaos/QtpGherkin

0 Likes
DG_SM Absent Member.
Absent Member.

Re: QTP & Agile -- Gherkin


@AutomatedChaos wrote:

Yes, it is possible to use Gherkin Language with QTP; I have uploaded a techdemo on my GitHub location. It is limited to the use of Given, When, Then, And and Scenario and you can also use parameters in Gherkin phrases (no tables yet). Feel free to expand.

https://github.com/Autom8edChaos/QtpGherkin


Hi, AutomatedChaos,

I came across this question and wanted to add some to the original. If Gherkin can work in QTP, do you think it would in UFT (HP's QTP+Service Test)?

0 Likes
Absent Member.. ihpv02oer Absent Member..
Absent Member..

Re: QTP & Agile -- Gherkin

If it works in QTP it will work in UFT. QTP is more or less a subset of UFT where servicetest is the other subset

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.