How to Customise new fields for execution time

1.8 related questions and discussions.
Please upgrade to LATEST 1.9.x.
No more fixes for 1.8.

Moderators: Amaradana, TurboPT, TL Developers

Locked
PJF
TestLink user
Posts: 4
Joined: Thu Apr 23, 2009 11:33 am

How to Customise new fields for execution time

Post by PJF »

as mentioned in the user manual I tried to customize fields for Actual execution time and estimated execution time, however I don't see field to add "ID=CF_EXEC_TIME "
I configured field with execution time and its displayed on execution but its not automated as written in manual

as user manual says -
"Testers could specify a duration of test execution. Create custom field with ID =
CF_EXEC_TIME and assign to test cases. Configure it to be displayed and used on execution.
The parameter is counted in minutes.
Create custom field with ID = CF_ESTIMATED_EXEC_TIME to define Expected test execution
time. It should be used in Test Specification and possibly displayed in execution. The
parameter is counted in minutes."

Please let me know how to configure this fields.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

You must insert minutes manually, there is no automatic time keeping
mukul
Advanced user
Posts: 24
Joined: Fri Apr 17, 2009 2:28 pm

Post by mukul »

fman wrote:You must insert minutes manually, there is no automatic time keeping
It's silly of me to ask this question: But where to insert these lines??
I can find a file "cfields_for_computing_time.sql" in "testlink/third_party/user_contribution" location.
Amaradana
Member of TestLink Community
Posts: 398
Joined: Mon Feb 16, 2009 11:19 am
Contact:

Post by Amaradana »

You need to run the quesies given in the file and then assiging them as you want try this
mukul
Advanced user
Posts: 24
Joined: Fri Apr 17, 2009 2:28 pm

Post by mukul »

Amaradana wrote:You need to run the quesies given in the file and then assiging them as you want try this
Sorry of being so naive, but I dont know how to "run the query" :(
I've never worked with the sql before. Can you guide me?

Thanks & Regards
Mukul
Amaradana
Member of TestLink Community
Posts: 398
Joined: Mon Feb 16, 2009 11:19 am
Contact:

Post by Amaradana »

ok. Here is a qucick question. Can you please tell what data base and server your using? I can give you steps
mukul
Advanced user
Posts: 24
Joined: Fri Apr 17, 2009 2:28 pm

Post by mukul »

The config:
OS: Debian 5 (Lenny)
TestLink: 1.8.1
WebServer: Apache2
DB: MySQL
PHP: PHP5

Following components of MySQL are installed:
mysql-client-5.1.33-2
mysql-common-5.1.33-2
mysql-server-5.1.33-2
php5-mysql 5.2.6.dfsg.1-1+lenny2
libmysqlclient16 (5.1.33-2)
Locked