web transaction test cases.
Posted: Tue May 07, 2019 2:26 pm
Hello, I'm working through the web transaction wizard. And I'm wondering what needs to change for this particular code to work for testcase 2?
In scenario 3, I actually have it sign into Web client. However, I'm curious if I can get it to navigate anywhere once signed in because all buttons/links are java based once signed in. Below is my test case scenario.
<case
id="1"
description1="Connecting to MyApplication"
method="get"
url="https://myapplication.com/ "
parseresponse='mykey="|"'
verifypositive="Login"
errormessage="Unable to connect to the login page of MyApplication"
/>
<case
id="2"
description1="Authentication on MyApplication"
method="post"
url="https://myapplication.com/login.php"
postbody="username=user1&password=Passsword1&mykey={PARSEDRESULT}"
verifypositive=”User Logged In”
verifynegative="User unknown"
errormessage="Unable to authenticate user in MyApplication"
/>
<case
id="3"
description1="Navigate through MyApplication while authenticated"
method="get"
url="https://myapplication.com/help”
verifypositive="Welcome to the MyApplication help”
errormessage="Unable to navigate through MyApplication even though correctly authenticated"
/>
In scenario 3, I actually have it sign into Web client. However, I'm curious if I can get it to navigate anywhere once signed in because all buttons/links are java based once signed in. Below is my test case scenario.
<case
id="1"
description1="Connecting to MyApplication"
method="get"
url="https://myapplication.com/ "
parseresponse='mykey="|"'
verifypositive="Login"
errormessage="Unable to connect to the login page of MyApplication"
/>
<case
id="2"
description1="Authentication on MyApplication"
method="post"
url="https://myapplication.com/login.php"
postbody="username=user1&password=Passsword1&mykey={PARSEDRESULT}"
verifypositive=”User Logged In”
verifynegative="User unknown"
errormessage="Unable to authenticate user in MyApplication"
/>
<case
id="3"
description1="Navigate through MyApplication while authenticated"
method="get"
url="https://myapplication.com/help”
verifypositive="Welcome to the MyApplication help”
errormessage="Unable to navigate through MyApplication even though correctly authenticated"
/>