[ptt-users] Newbie Help

Kevin Izzet kmmizzet at yahoo.co.uk
Fri Mar 28 06:25:35 PST 2008


Hi Frank,
 
No problems sending you the file, will obviously have to remove login details, but that should be fine.
 
I haven't tried converting to a jython script, is this recomended and if so what are the advantages of doing so ?
 
I have attached the output from the Local TestNode output/errors
 
I have tried running the same load/testgen4web scripts in both 5.1 and 5.2 and appear to get the same results.
 
Thanks fro you help
 
Regards
 
Kevin
 
TestNode Output
 
Running a use case 0
Message size 1
0
Test #1/1 : .\localhost\pprod_qual_newapp.testgen4web
- Redirect requested but followRedirects is disabled
- Redirect requested but followRedirects is disabled
- Redirect requested but followRedirects is disabled
- Redirect requested but followRedirects is disabled
- Redirect requested but followRedirects is disabled
- Added cookie: oracle.uix=0^^GMT-0:00
- Added cookie: oracle.uix=0^^GMT-0:00
- Added cookie: oracle.uix=0^^GMT-0:00
- Added cookie: oracle.uix=0^^GMT-0:00
- Added cookie: oracle.uix=0^^GMT-0:00
- Added cookie: oracle.uix=0^^GMT-0:00
- Added cookie: oracle.uix=0^^GMT-0:00
- Added cookie: oracle.uix=0^^GMT-0:00
Test is successfull
Test #1/1 : .\localhost\pprod_qual_newapp.testgen4web
- Redirect requested but followRedirects is disabled
- Redirect requested but followRedirects is disabled
- Redirect requested but followRedirects is disabled
- Redirect requested but followRedirects is disabled
- Redirect requested but followRedirects is disabled
- Added cookie: oracle.uix=0^^GMT-0:00
- Added cookie: oracle.uix=0^^GMT-0:00
- Added cookie: oracle.uix=0^^GMT-0:00
- Added cookie: oracle.uix=0^^GMT-0:00
- Added cookie: oracle.uix=0^^GMT-0:00
- Added cookie: oracle.uix=0^^GMT-0:00
- Added cookie: oracle.uix=0^^GMT-0:00
- Added cookie: oracle.uix=0^^GMT-0:00
Test is successfull
Test #1/1 : .\localhost\pprod_qual_newapp.testgen4web
- Redirect requested but followRedirects is disabled
- Redirect requested but followRedirects is disabled
- Redirect requested but followRedirects is disabled
- Redirect requested but followRedirects is disabled
- Redirect requested but followRedirects is disabled
- Added cookie: oracle.uix=0^^GMT-0:00
- Added cookie: oracle.uix=0^^GMT-0:00
- Added cookie: oracle.uix=0^^GMT-0:00
- Added cookie: oracle.uix=0^^GMT-0:00
- Added cookie: oracle.uix=0^^GMT-0:00
- Added cookie: oracle.uix=0^^GMT-0:00
- Added cookie: oracle.uix=0^^GMT-0:00
- Added cookie: oracle.uix=0^^GMT-0:00
Test is successfull

TestNode Error
log4j:WARN No appenders could be found for logger (info0).
log4j:WARN Please initialize the log4j system properly.

 
--------- Original E-Mail ---------
Hi Kevin:
It seems there is a problem with the testnode that is not initiating  
or ending the the TestGen4Web test. I see the message: "TestNode  
localhost snapshot: Operating
first test use case" several times and "TestNode localhost final  
results: Tests completed: 0. Success: 0 Failures: 0." at the end.
This could be a problem with TestGen4Web, but the first run of the  
test appears to have worked successfully.
Would you be willing to send me the TestScenario file? Also, did you  
convert the TestGen4Web recording into Jython? If so, we would like  
to look at that too.
One other thing, please look at the TestNode output and error tabs in  
the Output panel. There may be execution problem log entries there.
The chart error you see in the log is because the test failed and  
there are no results. This is a bug that will be solved shortly.  
(Keep in mind that you are running pre-alpha code.)
I hope this helps.
-Frank


      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Inbox http://uk.docs.yahoo.com/nowyoucan.html
-------------- next part --------------
<?xml version='1.0' encoding='UTF-8'?>
<tg4w version="0.50.2">
    <datasets>
    </datasets>
    <actions>
        <action type="goto" refresh="." window="." step="0">
            <xpath><![CDATA[window.location.href]]></xpath>
            <value><![CDATA[https://ssousr2.acca-business.org/pls/orasso/orasso.portal_login_lib.login_page?site2pstoretoken=v1.2~271E2D38~C02C456ACAB3EBDE8563AC8BCF10C9EE906AA567FE9D95513A985EA36A5D8C365FB759FF9585BC554BDE1BAEF30932E48045EA280A376F672C187742F1F386FD141CCCED77B6F75136A2F5C3C43D7036A9B9E186C95A18A4A3CFAC95BEE82890FBFF7971B8D9F00F1817CC73596CB171C0A5BC46106B77EA775B43345502E4EA624F43B724B10D98605A1C14F9EF9E36D1F91BD96DA36F83D193C01931FC42E34DE3B854407D464353680B612EC456D8DF55C2A405691EBC2299A2E7559B87FE68894C39758E33EDDEE69575552AB46D48604C2CE66D597372B627558BCC784F6EC354E9F8F2AB96ABF4F958711FF00208E6C560F9F7214DCADF6DD0F482A3F1F4219A517902E334D83DE6DD9DD998A31C6D7CE4BD6642124FA4EDB0ACE726BE&p_error_code=&p_submit_url=https%3A%2F%2Fssousr2.acca-business.org%2Fsso%2Fauth&p_cancel_url=https%3A%2F%2Fportalusr2.acca-business.org&ssousername=]]></value>
        </action>
        <action type="verify-title" window="." step="1">
            <xpath><![CDATA[*]]></xpath>
            <value><![CDATA[Login]]></value>
        </action>
        <action type="fill" window="." step="2">
            <xpath><![CDATA[*/TABLE[1]/TBODY[1]/TR[1]/TD[1]/TABLE[1]/TBODY[1]/TR[4]/TD[1]/TABLE[1]/TBODY[1]/TR[1]/TD[3]/*/INPUT[@TYPE="text" and @NAME="ssousername"]]]></xpath>
            <value><![CDATA[REMOVED-KI]]></value>
        </action>
        <action type="fill" window="." step="3">
            <xpath><![CDATA[*/TABLE[1]/TBODY[1]/TR[1]/TD[1]/TABLE[1]/TBODY[1]/TR[4]/TD[1]/TABLE[1]/TBODY[1]/TR[1]/TD[3]/*/INPUT[@TYPE="text" and @NAME="ssousername"]]]></xpath>
            <value><![CDATA[REMOVED-KI]]></value>
        </action>
        <action type="fill" window="." step="4">
            <xpath><![CDATA[*/TABLE[1]/TBODY[1]/TR[1]/TD[1]/TABLE[1]/TBODY[1]/TR[4]/TD[1]/TABLE[1]/TBODY[1]/TR[3]/TD[3]/*/INPUT[@TYPE="password" and @NAME="password"]]]></xpath>
            <value><![CDATA[mclaucm1]]></value>
        </action>
        <action type="click" refresh="." window="." step="5">
            <xpath><![CDATA[A[@ID="sub1"]]]></xpath>
            <value><![CDATA[]]></value>
        </action>
        <action type="wait-for-ms" label="sleep ki" refresh="" window="." step="6">
            <xpath><![CDATA[]]></xpath>
            <value><![CDATA[10000]]></value>
        </action>
        <action type="verify-title" window="." step="7">
            <xpath><![CDATA[*]]></xpath>
            <value><![CDATA[Maintain Qualifications]]></value>
        </action>
        <action type="click" window="." step="8">
            <xpath><![CDATA[*/FORM[@ID="dataForm"]/*/INPUT[@ID="PartyQualificationsTable:3:PartyQualificationsSelectOne"]]]></xpath>
            <value><![CDATA[PartyQualificationsTable:selected]]></value>
        </action>
        <action type="click" refresh="." window="." step="9">
            <xpath><![CDATA[TABLE[@ID="darkBackTable"]/TBODY[1]/TR[3]/TD[1]/*/TABLE[1]/TBODY[1]/TR[1]/TD[1]/TABLE[1]/TBODY[1]/TR[1]/TD[4]/A[@CDATA="Qualification Papers"]]]></xpath>
            <value><![CDATA[]]></value>
        </action>
        <action type="verify-title" window="." step="10">
            <xpath><![CDATA[*]]></xpath>
            <value><![CDATA[Edit Qualification Papers F1]]></value>
        </action>
        <action type="click" refresh="." window="." step="11">
            <xpath><![CDATA[TABLE[@ID="pageContentsBackTable"]/TBODY[1]/TR[1]/TD[1]/*/TABLE[2]/TBODY[1]/TR[1]/TD[4]/A[1]]]></xpath>
            <value><![CDATA[]]></value>
        </action>
        <action type="verify-title" window="." step="12">
            <xpath><![CDATA[*]]></xpath>
            <value><![CDATA[Edit Qualification Papers F2]]></value>
        </action>
        <action type="click" refresh="." window="." step="13">
            <xpath><![CDATA[TABLE[@ID="pageContentsBackTable"]/TBODY[1]/TR[1]/TD[1]/*/TABLE[2]/TBODY[1]/TR[1]/TD[7]/A[1]]]></xpath>
            <value><![CDATA[]]></value>
        </action>
        <action type="verify-title" window="." step="14">
            <xpath><![CDATA[*]]></xpath>
            <value><![CDATA[Edit Qualification Papers F3]]></value>
        </action>
        <action type="click" refresh="." window="." step="15">
            <xpath><![CDATA[TABLE[@ID="pageContentsBackTable"]/TBODY[1]/TR[1]/TD[1]/*/TABLE[2]/TBODY[1]/TR[1]/TD[7]/A[1]]]></xpath>
            <value><![CDATA[]]></value>
        </action>
        <action type="verify-title" window="." step="16">
            <xpath><![CDATA[*]]></xpath>
            <value><![CDATA[Edit Qualification Papers F4]]></value>
        </action>
        <action type="click" refresh="." window="." step="17">
            <xpath><![CDATA[TABLE[@ID="darkBackTable"]/TBODY[1]/TR[3]/TD[1]/*/TABLE[1]/TBODY[1]/TR[1]/TD[1]/TABLE[1]/TBODY[1]/TR[1]/TD[6]/A[@CDATA="Maintain Session Paper Questions"]]]></xpath>
            <value><![CDATA[]]></value>
        </action>
        <action type="verify-title" window="." step="18">
            <xpath><![CDATA[*]]></xpath>
            <value><![CDATA[Maintain Session Paper Question]]></value>
        </action>
        <action type="click" refresh="." window="." step="19">
            <xpath><![CDATA[TABLE[@ID="pageContentsBackTable"]/TBODY[1]/TR[1]/TD[1]/*/TABLE[4]/TBODY[1]/TR[1]/TD[4]/A[1]]]></xpath>
            <value><![CDATA[]]></value>
        </action>
        <action type="verify-title" window="." step="20">
            <xpath><![CDATA[*]]></xpath>
            <value><![CDATA[Maintain Session Paper Question]]></value>
        </action>
        <action type="click" refresh="." window="." step="21">
            <xpath><![CDATA[TABLE[@ID="pageContentsBackTable"]/TBODY[1]/TR[1]/TD[1]/*/TABLE[4]/TBODY[1]/TR[1]/TD[7]/A[1]]]></xpath>
            <value><![CDATA[]]></value>
        </action>
        <action type="verify-title" window="." step="22">
            <xpath><![CDATA[*]]></xpath>
            <value><![CDATA[Maintain Session Paper Question]]></value>
        </action>
    </actions>
</tg4w>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: newloadtest.xml
Type: text/xml
Size: 2022 bytes
Desc: not available
Url : http://cake.pushtotest.com/pipermail/users/attachments/20080328/348a3989/newloadtest-0001.xml


More information about the Users mailing list