Search found 11 matches

by btowle
Sat Dec 29, 2012 12:16 am
Forum: TestLink 1.9
Topic: Question on Automation in Testlink
Replies: 2
Views: 4266

Re: Question on Automation in Testlink

Never mind, I found the document.
by btowle
Fri Dec 28, 2012 10:53 pm
Forum: TestLink 1.9
Topic: Question on Automation in Testlink
Replies: 2
Views: 4266

Question on Automation in Testlink

Hi all, I am sorry if this is a stupid question but I can't find anything on it. If you set a test to be automated can you still run it as a normal test (Hit update results and mark it as pass etc?) The reason I ask is I am getting the following error when I try to manually submit test results to an...
by btowle
Wed Oct 17, 2012 5:29 pm
Forum: TestLink 1.9
Topic: require_once() on a class.php file
Replies: 7
Views: 10825

Re: require_once() on a class.php file

So this was my solution: $check = getcwd(); if(strpos("/testlink/lib/",$check)) { require_once('../../config.inc.php'); require_once('../execute/exec_duplicate.lib.php'); } else if(strpos("/testlink/",$check)) { require_once('config.inc.php'); require_once('./lib/execute/exec_dup...
by btowle
Wed Oct 17, 2012 5:04 pm
Forum: TestLink 1.9
Topic: require_once() on a class.php file
Replies: 7
Views: 10825

Re: require_once() on a class.php file

If I do imports from the testlink root directory
aka:
require_once("config.inc.php");
require_once("lib/functions/common.php");


It will still fail... :?
by btowle
Wed Oct 17, 2012 4:44 pm
Forum: TestLink 1.9
Topic: require_once() on a class.php file
Replies: 7
Views: 10825

Re: require_once() on a class.php file

So I was able to trace it to the problem: In Login.php it calls doAuthorize In doAuthorize it calls setUserSession and then dies when it creates a testproject object. Inside this constructor the tlObjectWith Attachments class is created (I believe statically) and inisde the tlObjectWithAttachments c...
by btowle
Wed Oct 17, 2012 4:05 pm
Forum: TestLink 1.9
Topic: require_once() on a class.php file
Replies: 7
Views: 10825

Re: require_once() on a class.php file

Just a quick update whatever is happening is occurring in the login.php
I put some echo statements before the redirect commands and it is not reaching that point in code.
by btowle
Wed Oct 17, 2012 3:54 pm
Forum: TestLink 1.9
Topic: require_once() on a class.php file
Replies: 7
Views: 10825

Re: require_once() on a class.php file

So when I go to the login.php and I get the following: /var/www/testlink Which makes sense, that's where the login.php is. So why is it trying to invoke tlAttachmentRepository.php I didn't change anything in the login.php? Futhermore, I put the echo getcwd() inside the tlAttachmentRepository.php and...
by btowle
Wed Oct 17, 2012 1:42 am
Forum: TestLink 1.9
Topic: require_once() on a class.php file
Replies: 7
Views: 10825

require_once() on a class.php file

Hi, This may be a stupid question but it has me and my team stumped. We need to back up the execution results as file as we make them. That means when we run the execution code it creates an xml file, if we add a bug it modifies the xml file, and if we add an attachment it will also modify the xml f...
by btowle
Thu Sep 20, 2012 11:02 pm
Forum: TestLink 1.9
Topic: Import/export results.
Replies: 4
Views: 6154

Re: Import/export results.

okay, really stupid question, where do you go to export a project? I can export test plan, testsuite, and individual test case, but I don't see a button for exporting a project.
by btowle
Thu Sep 20, 2012 9:53 pm
Forum: TestLink 1.9
Topic: Import/export results.
Replies: 4
Views: 6154

Re: Import/export results.

You are correct, I am sorry,
Lesson learned, never post while debugging.

I am using section 2.8 for formatting the xml. Am I missing something on the formatting? It looks correct to me.
by btowle
Thu Sep 20, 2012 8:24 pm
Forum: TestLink 1.9
Topic: Import/export results.
Replies: 4
Views: 6154

Import/export results.

So I need to export a set of results. I found out how to enable the bulk handling and export all of the test results, however, I have to be able to add them back into my project. I was very disappointed when I discovered the export "bulk" results is NOT compatible with the expected format ...