Automation Capabilities PowerBuilder to Java migration

Ask general questions here.
tapas
Posts: 2
Joined: Wed Dec 07, 2016 9:33 pm

Automation Capabilities PowerBuilder to Java migration

Post by tapas » Wed Dec 07, 2016 9:37 pm

Hello everyone,

Exploring automation eligibility for PowerBuilder Applications that will be converted to Java like for like.

Questions: Can we record/play test cases in PB which can be reused / or tweaked to accommodate in a Java app equivalent?

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Automation Capabilities PowerBuilder to Java migration

Post by odklizec » Fri Dec 09, 2016 12:59 pm

Hi,

In my opinion, the xpaths recorded for PB-based app will be different from Java equivalent, even if the GUI of both apps look the same. So basically, the recorded actions might still be useful, but you will most probably have to adapt the recorded xpaths to make them working with Java-based app.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

tapas
Posts: 2
Joined: Wed Dec 07, 2016 9:33 pm

Re: Automation Capabilities PowerBuilder to Java migration

Post by tapas » Fri Dec 09, 2016 4:18 pm

Thanks a lot for your response. But I think that would be lot of work if I understood it correctly. If I need to change xpath for each object, it would take time. We are targetting 20/25 application. Each application has 30/40 testcases.

Is there any other alternative ? I am just trying to reduce the amount of rework.

Thanks in advance.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Automation Capabilities PowerBuilder to Java migration

Post by odklizec » Fri Dec 09, 2016 4:39 pm

Hi,

No, I don't think there is an alternative way of editing all repo elements xpaths. There is definitely no automatic xpath update/conversion tool to do this for you. The amount of manual work depends on the structure of JAVA app as well as the structure of original repository created for PB app. If you are using a nicely structured repo with rooted folders, it may be somewhat easier to edit just the rooted folder xpaths? You may even be able to edit the xpaths by direct editing (via find/replace) of *.rxrep file since it's just a plain xml file. But you see, without seeing at least a snapshot from the original PB app and reworked Java app + some xpath examples from the original repo, it's really hard to say how much work is in front of you ;)
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration