Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007337TestLinkAssign Test Case Executionpublic2015-11-12 22:232015-11-13 22:50
Reporteramccollough 
Assigned Tofman 
PrioritylowSeverityfeature requestReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version1.9.14 (2015 Q3) 
Fixed in Version1.9.15 (2015 Q4) 
Summary0007337: Include direct link URL to test in test asssignment email sent to testers
DescriptionWhen assigning a test to testers, and using the email option, the tester does get sent an email. The email does not contain a link to the test page. It would be most beneficial if the email sent to testers did contain a direct link URL to the test itself.

When viewing a test, at the top-left of the page is "Direct Link" icon, which when clicked, does show a URL to get right to the test. This would be the URL I would like to see included in the email sent to testers.
Steps To ReproduceFrom the root page, click "Assign Test Case Execution".
Select a test from the left-hand nav.
On the resulting page in the right-hand side, select a test and a tester.
There will be a little "email" icon next to a checkbox.
Check the checkbox.
Click "Save".
The page reloads, and shows the tester assigned.
Resulting email does not contain a URL to the test. The feature request is for this email to include a URL to the test.
TagsNo tags attached.
Database (MySQL,Postgres,etc)mysql
BrowserIE 11
PHP Version5.5.25
TestCaseID
QA Team - Task Workflow StatusTBD
Attached Files

- Relationships
child of 0007262closedfman Availables hot-fixes for 1.9.14 & How To get full fixed package from GitHub 

-  Notes
(0024234)
fman (administrator)
2015-11-13 05:56

Try this
https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/0cc4cbedc725ef95b28060d4acbb5d96a21ea416 [^]

support via pay pal are welcomed

tested on Gmail, always display the full URL and not the name provided (' direct link to ..')
(0024239)
amccollough (reporter)
2015-11-13 18:48
edited on: 2015-11-13 18:49

I did try this, thank you. The link provides the URL to the test, but is for editing the test as a test author, not performing the test as a tester.

The tester should be sent the URL needed to perform the test (example: http://example.org/testlink/ltx.php?item=exec&feature_id=42&build_id=7 [^])

The URL I would suggest is the one generated in tcAssignedToUser.php lines 123-126

$exec_link = "<a href=\"javascript:openExecutionWindow(" .
                       "{$tcase_id},{$tcversion_id},{$tcase['build_id']}," .
                       "{$tcase['testplan_id']},{$tcase['platform_id']},'{$whoiam}');\">" .
                       "<img title=\"{$gui->l18n['execution']}\" src=\"{$imgSet['exec_icon']}\" /></a> ";

The resulting link generated by the javascript openExecutionWindow() function will take the tester directly to test, presuimg if they are already logged in. If they need to manually log in, they can still click the same link in the email again, and it will take them straight to the test so they can perform it.

(0024240)
fman (administrator)
2015-11-13 22:39
edited on: 2015-11-13 22:50

what I've implemented is the typical result of providing a requirement that is not complete and clear.

>> It would be most beneficial if the email sent to testers did contain a direct link URL
>>to the test itself.
>> When viewing a test, at the top-left of the page is "Direct Link" icon, which when
>> clicked, does show a URL to get right to the test. This would be the URL I would
>> like to see included in the email sent to testers.

I've implemented what you have requested on the previous sentence
Then for me feature has been implemented.

Feel free to provide your contribution on a NEW TICKET with full working code.
This feature request from my point of view is DONE, and I kindly request to do noy reopen it.

(0024243)
fman (administrator)
2015-11-13 22:48

My fault due to late hour:
info about build is present => you can do implementation and I will try to add it to stable code if you provide it

- Issue History
Date Modified Username Field Change
2015-11-12 22:23 amccollough New Issue
2015-11-13 05:24 fman QA Team - Task Workflow Status => TBD
2015-11-13 05:24 fman Priority normal => low
2015-11-13 05:56 fman Note Added: 0024234
2015-11-13 05:56 fman Assigned To => fman
2015-11-13 05:56 fman Status new => feedback
2015-11-13 05:56 fman Relationship added child of 0007262
2015-11-13 18:48 amccollough Note Added: 0024239
2015-11-13 18:48 amccollough Status feedback => assigned
2015-11-13 18:49 amccollough Note Edited: 0024239 View Revisions
2015-11-13 18:49 amccollough Note Edited: 0024239 View Revisions
2015-11-13 22:39 fman Note Added: 0024240
2015-11-13 22:39 fman Status assigned => closed
2015-11-13 22:39 fman Resolution open => fixed
2015-11-13 22:39 fman Fixed in Version => 1.9.15 (2015 Q4)
2015-11-13 22:48 fman Note Added: 0024243
2015-11-13 22:48 fman Note Edited: 0024240 View Revisions
2015-11-13 22:48 fman Note Edited: 0024240 View Revisions
2015-11-13 22:49 fman Note Edited: 0024240 View Revisions
2015-11-13 22:50 fman Note Edited: 0024240 View Revisions



Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker