| --- RCPTT testcase --- |
| Format-Version: 1.0 |
| Contexts: _ymiyse5IEeCU6db9MgIBkA,_ZQYygK2sEeCqBbDEJWufvQ,_BIzmMMyzEeCKjp0mPLHiEg |
| Element-Name: RCPTT-478_HTML report looks different if it is copied as only html-file |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _V4RUAAK-EeWIbeVIcuukYQ |
| Runtime-Version: 2.4.2.qualifier |
| Save-Time: 4/3/19 6:00 PM |
| Tags: Browser |
| Testcase-Type: ecl |
| |
| ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa |
| Content-Type: text/plain |
| Entry-Name: .description |
| |
| Copyright (c) 2009, 2014 Xored Software Inc and others. |
| All rights reserved. This program and the accompanying materials |
| are made available under the terms of the Eclipse Public License v1.0 |
| which accompanies this distribution, and is available at |
| http://www.eclipse.org/legal/epl-v10.html |
| |
| Contributors: |
| Xored Software Inc - initial creation and/or initial documentation |
| -------------------------------------------------------------------------------- |
| |
| TEST STEPS: |
| |
| 1) Generate HTML-report. |
| 2) Copy only html-file |
| 3) Past it into another directory |
| |
| Verify that report styles are not broken. |
| ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac |
| Content-Type: text/ecl |
| Entry-Name: .content |
| |
| get-view "Test Explorer" | get-tree | select "Q7Project/test1" | select "Q7Project/test1" | double-click |
| get-editor test1 | get-button Replay | click |
| get-view "Execution View" | get-button Report | click |
| with [get-window -class WizardDialog] { |
| get-button "Browse..." | click |
| get-window -class "" | get-tree | select Q7Project | select Q7Project | double-click |
| get-button Finish | click |
| } |
| get-view "Test Explorer" | get-tree | select Q7Project | select Q7Project | get-menu "New/Folder" | click |
| with [get-window "New Folder"] { |
| get-editbox -after [get-label "Folder name:"] | set-text F |
| get-button Finish | click |
| } |
| get-view "Test Explorer" | get-tree | select "Q7Project/test1.*.html" |
| | double-click |
| |
| let [val reportContent [get-editor ".*.html" | get-control Browser |
| | get-property text -raw]]{ |
| |
| get-editor ".*.html" | close |
| |
| with [get-view "Test Explorer" | get-tree] { |
| select "Q7Project/test1.*.html" | get-menu Copy | click |
| select "Q7Project/F" | select "Q7Project/F" | get-menu Paste | click |
| select "Q7Project/F/test1.*.html" | double-click |
| } |
| |
| get-editor ".*.html" | get-control Browser | get-property text -raw | eq $reportContent | verify-true |
| |
| } |
| |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |