WDK ATF 2.5 - multiple concurrent sessions with the testing user

mingus
edited December 17, 2008 in Documentum #1

Hello all,

We had some problems with recorded tests which worked after recording them, but stopped working randomly afterwards.

We realized sometimes the starting window when running a test was not the same as when recording the test. This was caused by another person having an opened session with the same user at the same time.

The consequence of this was that the test kept on failing with a javascript error, reporting the stacktrace below. We are now trying to run different copies of the same webapp on different appservers, so different people can work simultaneously on the test scripts.

Could anyone give some recommendations on which would be the "best practice" to have different people creating tests simultaneously without disturbing each other ??

Thanks and best regards,

Saul

cause: A javascript error occurred while running the test case: Line ??? of http://xxxxxxx.****.corp:8080/webtop/****/library/objectlist/objectlist.jsp resulted in 'Failed to retrieve control ObjectList_doclist_grid_0_0'::Line 23 of http://xxxxxxx.****.corp:8080/webtop/****/library/objectlist/objectlist.jsp resulted in 'Object expected'::Line ??? of http://xxxxxxxx.****.corp:8080/webtop/****/library/objectlist/objectlist.jsp resulted in 'Failed to retrieve control __client36_ObjectList_ObjectList_contextmenu_properties_uag_business_folder_0'::Line 1 of http://xxxxxx.****.corp:8080/webtop/****/library/objectlist/objectlist.jsp resulted in ''null' is null or not an object'::; test step: Step9
reason:
path: /adhoc testsuite:ticket=1/testcase:id=props_testcase
time (START): Dec 15, 2008 9:51:25 PM - time (END): Dec 15, 2008 9:51:57 PM
time (ELAPSED): 0:0:31.953

Stack Trace
com.documentum.web.test.CreateClientSideFailureActionHandler.service(CreateClientSideFailureActionHandler.java:83)

Best Answer

  • ljwong
    edited December 17, 2008 #2 Answer ✓

    Hi Saul,

    The WDK ATF only allows for one person to be recording and/or playing back a test on a particular application server instance.  So, as you specified, the "best practice" would be for each test case developer to have their own application server instance.

    Linda

Answers

  • ljwong
    edited December 17, 2008 #3 Answer ✓

    Hi Saul,

    The WDK ATF only allows for one person to be recording and/or playing back a test on a particular application server instance.  So, as you specified, the "best practice" would be for each test case developer to have their own application server instance.

    Linda