Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
1 reply
Subscribers
10 subscribers
Views
4918 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Best Practices
FitNesse Login Test
arthurb999
over 8 years ago
To All
Script:
! define TEST_SYSTEM {slim}
|Import|
tempo|
|http: //10.0.3.101:XXXX|suite/tempo|
I need help with the above FitNesse login Test.
Error Occurred: java.lang.RuntimeException: "Unable to parse XML from stream."
Thanks,
arthur
OriginalPostID-241910
Discussion posts and replies are publicly visible
Parents
0
kondetiv
over 7 years ago
Here is the example for login into site. Try to use this code and modify it according to requirements.
!***> FitNesse Configurations
!define TEST_SYSTEM {slim}
!define COMMAND_PATTERN {java -Dlog4j.configuration=file:///${automated.testing.home}/log4j.properties -cp %p %m}
!path ${automated.testing.home}/**.jar
!define CURRENTDATE (!today (MM/dd/YYYY))
***!
!*** Initialization
!| script | com.appiancorp.ps.automatedtest.fixture.SitesFixture |
| setup selenium web driver with browser | CHROME |
| set appian url to |http: //10.0.3.101:XXXX/suite |
| set appian version to | 16.3 |
| set appian locale to | en_GB |
| set timeout seconds to | 25 |
| set screenshot path to | D:/pega |
| set take error screenshots to | true |
| set test variable | DATEXXX | with | ${!today(YYYY-MM-DD)} |
| set stop on error to | false |
| set start datetime |
***!
!*** Login to Sites and go to Actions
!| script |
| login with username | USERNAME | and password | PASSWORD |
| navigate to site | drsi | page | my-tasks |
***!
Please let me know if you have any doubt.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
kondetiv
over 7 years ago
Here is the example for login into site. Try to use this code and modify it according to requirements.
!***> FitNesse Configurations
!define TEST_SYSTEM {slim}
!define COMMAND_PATTERN {java -Dlog4j.configuration=file:///${automated.testing.home}/log4j.properties -cp %p %m}
!path ${automated.testing.home}/**.jar
!define CURRENTDATE (!today (MM/dd/YYYY))
***!
!*** Initialization
!| script | com.appiancorp.ps.automatedtest.fixture.SitesFixture |
| setup selenium web driver with browser | CHROME |
| set appian url to |http: //10.0.3.101:XXXX/suite |
| set appian version to | 16.3 |
| set appian locale to | en_GB |
| set timeout seconds to | 25 |
| set screenshot path to | D:/pega |
| set take error screenshots to | true |
| set test variable | DATEXXX | with | ${!today(YYYY-MM-DD)} |
| set stop on error to | false |
| set start datetime |
***!
!*** Login to Sites and go to Actions
!| script |
| login with username | USERNAME | and password | PASSWORD |
| navigate to site | drsi | page | my-tasks |
***!
Please let me know if you have any doubt.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data