Openbravo Forum End of Life Notice

Dear Openbravo Forum User,

Because of continued very low usage we decided to stop the forums on 31st of August 2017

In case of questions: webmaster "at" openbravo.com

Erro while executing automation pi repository of openbravo

<<

Varghese Renny

Posts: 25

Joined: Fri May 11, 2012 12:39 pm

Post Wed Aug 29, 2012 9:52 am

Erro while executing automation pi repository of openbravo

Hi,
I am facing one problem with pi repository..I have done OpenbravoERPTest.properties which is having configuration similar to openbravo.properties. After done with everyting mentioned in the automation wiki, i have gone for running build.xml existing in the erp/testsuites/masterdata/build.xml

As per build file it will go for login to application, next is setup instance.

Problem: After loading url, it's automatically entered username password, then gone to main page, at the mainpage, i have noted that it is going to Canvas.java, for loading canvas field-has gone to timeout.
In log file..
  Code:
Build info: version: &apos;2.24.1&apos;, revision: &apos;17205&apos;, time: &apos;2012-06-19 17:28:14&apos;
System info: os.name: &apos;Linux&apos;, os.arch: &apos;amd64&apos;, os.version: &apos;3.2.0-24-generic&apos;, java.version: &apos;1.6.0_26&apos;
Driver info: driver.version: unknown
   at org.openqa.selenium.support.ui.FluentWait.timeoutException(FluentWait.java:251)
   at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:220)
   at com.openbravo.test.integration.erp.modules.userinterface.smartclient.gui.Canvas.waitUntilLoaded(Canvas.java:183)



console
  Code:
[main] TRACE com.openbravo.test.integration.erp.modules.userinterface.smartclient.gui.Canvas - Waiting until Canvas 'dom=window.OB.TestRegistry.registry['UINAVBA_RecentCreateList_BUTTON']' is loaded.


After 60 seconds it get timeout and build is failed.
Is it a problem with firefox. i am using firefox 12.0 and openbravo is MP13.0
Whether i needed to activate Golden Key or License key for make it work..

Till main page its coming..Please help me to sort out this problem..
I needed to integrate it with CI-Jenkins..

Regards
<<

Pablo Luján

Posts: 73

Joined: Wed Mar 18, 2009 7:26 pm

Post Wed Aug 29, 2012 11:52 am

Re: Erro while executing automation pi repository of openbravo

You have to activate the Javascript objects on the ERP side. For doing this, change this line in the Openbravo.properties file (it is in the last line of that file):
  Code:
test.environment=false

by this one:
  Code:
test.environment=true


And rebuild the system. That will enable the ERP to accept the automation code.
<<

Varghese Renny

Posts: 25

Joined: Fri May 11, 2012 12:39 pm

Post Thu Aug 30, 2012 8:47 am

Re: Erro while executing automation pi repository of openbravo

Thank you so much for the reply...
Now it's working fine till setupInstaceBb..But at Instance activation window it is failing..Whether i needed to pass professional key via some text file or any manuall thing i needed to do at this point?









Thanks in Advance
varghese
<<

Varghese Renny

Posts: 25

Joined: Fri May 11, 2012 12:39 pm

Post Thu Aug 30, 2012 9:55 am

Re: Erro while executing automation pi repository of openbravo

Actually i have put my profession key as SystemKey.txt inside the testfiles directory structure..

But showing build failed..Any other reason behind it..i needed to put it somewhere else?

It's showing file not found in testfiles/SystemKey.txt
It's not able to detect the .txt i have put..


Everytime when i reading properties file, png, txt ..it's showing file not found..so when i give my full system path it's working..
Why is it like this?
So what to do?


















Thanks in Advance
varghese
<<

annashetty

Site Admin

Posts: 3

Joined: Wed Jan 09, 2013 7:50 am

Post Thu May 17, 2018 3:28 am

Re: Erro while executing automation pi repository of openbravo

Nice post. I appreciate the tips. My training routine is remarkably similar to yours, although I expect I'm slogging along much more slowly than you

Return to Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron
Website Terms


Designed by ST Software for PTF.