Difference between revisions of "LlLoadURL Test"
Milo Linden (talk | contribs) |
m (Added proper formatting of LSL...) |
||
Line 79: | Line 79: | ||
[llLoadURLScript] | [llLoadURLScript] | ||
< | <syntaxhighlight lang="lsl2"> | ||
default | default | ||
{ | { | ||
touch(integer total_number) | touch(integer total_number) | ||
{ | { | ||
llLoadURL(llDetectedKey(0), "Second Life homepage", "http://Secondlife.com"); | llLoadURL(llDetectedKey(0), "Second Life homepage", "http://Secondlife.com"); | ||
} | } | ||
} | } | ||
</ | </syntaxhighlight> | ||
[[Category:QA Portal]] | [[Category:QA Portal]] | ||
[[Category:Quality Assurance]] | [[Category:Quality Assurance]] |
Latest revision as of 12:52, 15 December 2022
[LLLoadUrlTest]
[VERSION] 0.2
[LENGTH] 00:10
[TESTERS] 2
[OVERVIEW] This test has been designed to exercise the llLoadURL LSL function.
[SETUP] 2 non-god testers.
[*]
[0010] Tester 1: Create the following script in a box named Sue.
[SCRIPT] llLoadURLScript
[*]
[NOTE] Test Default Behavior
[*]
[0020] Tester 2: Click the box.
[0030] Tester 2: Verify you get a dialog at the top right of the screen.
[0040] Tester 2: Verify you can clearly see who owns the box, what the box is named, the description of the link, and the actual URL you will be taken to.
[0050] Tester 2: Click the button to open your web browser. Verify your default web browser loads the page advertised in the URL dialog.
[0060] Tester 2: Click the box again and verify you can close the dialog without launching the web page.
[*]
[NOTE] Test spam control
[*]
[0070] Tester 2: Click and hold the button. Verify you do not get spammed with URLs. They should only open another URL once every 10 seconds.
[*]
[NOTE] Mute
[*]
[0080] Tester 2: Mute the box. Click the box. Verify you do not get a URL dialog.
[0090] Tester 2: Unmute the box.
[0100] Tester 2: Mute Tester 1: Click the box. Verify you do not get a URL dialog.
[0110] Tester 2: Unmute Tester 1:
[*]
[NOTE] Only http:// and https:// are supported
[*]
[0120] Tester 1: Replace the URL in the script "http://Secondlife.com" with "https://Secondlife.com" and save
[0130] Tester 2: Click the link and verify it works.
[0140] Tester 1: Replace the URL with "ftp://ftp.idsoftware.com/"
[0150] Tester 2: Click the link and verify that your web browser is NOT opened.
[END]
[llLoadURLScript]
default
{
touch(integer total_number)
{
llLoadURL(llDetectedKey(0), "Second Life homepage", "http://Secondlife.com");
}
}