Mary Ann,
Today after getting fed up i totally deleted all the selenium files and freshly loaded them.
After that i tried to execute the part in Question#2.
It is working fine.
Thanks for all the clarification.
I'm currently using the RC beta1.0-beta 2.
I do have one more question, I'm not sure whether i could post it here or in the previous post itself.
Let me do it here. After the removal and including the new files as stated earlier,
I tried to execute the test case i recorded for my application.
Now the IE does not report any permission Denied message but instead both IE and firefox opens the application in the test runner window itself.
In the sense the test runner page gets moved to my application.
When i tried to pause the script execution before it starts to execute, then i clicked on the step button. Somewhere in between the IE to open my application got closed. it reported a failure like below.
C:\Selenium\Server\selenium-server-1.0-beta-2>java -jar selenium-server.jar -por\\ t 4444 -htmlsuite "*iehta"
http://www.ebay.com "C:\Selenium\Tests\
login_suite.ht\\ ml" C:\Selenium\result.html\\ 16:18:40.419 INFO - Java: Sun Microsystems Inc. 11.2-b01\\ 16:18:40.419 INFO - OS: Windows XP 5.1 x86\\ 16:18:40.419 INFO - v1.0-beta-2 [2571], with Core v1.0-beta-2 [2330]\\ 16:18:40.498 INFO - Version Jetty/5.1.x\\ 16:18:40.498 INFO - Started HttpContext[/selenium-server/driver,/selenium-server\\ /driver]\\ 16:18:40.498 INFO - Started HttpContext[/selenium-server,/selenium-server]\\ 16:18:40.498 INFO - Started HttpContext[/,/]\\ 16:18:40.513 INFO - Started SocketListener on
0.0.0.0:4444\\ 16:18:40.513 INFO - Started org.mortbay.jetty.Server@201f9\\ 16:18:41.123 INFO - Launching Embedded Internet Explorer...\\ 16:18:42.138 INFO - Launching Internet Explorer HTA...\\ 16:18:45.560 INFO - Checking Resource aliases\\ 16:18:54.654 INFO - Checking Resource aliases\\ 16:18:54.654 INFO - Received posted results\\ 16:18:55.154 WARN - Embedded iexplore seems to have ended on its own (did we kil\\ l the real browser???)\\ Tests failed, see result file for details: C:\Selenium\result.html\\ 16:18:55.341 INFO - Shutting down...\\ 16:18:55.341 INFO - Stopping Acceptor ServerSocket[addr=
0.0.0.0/0.0.0.0,port=0,l\\ ocalport=4444]
The details in the Test result file was:
Test suite resultsh1. Test suite results
| result: | failed |
| totalTime: | 8 |
| numTestTotal: | 1 |
| numTestPasses: | 0 |
| numTestFailures: | 1 |
| numCommandPasses: | 0 |
| numCommandFailures: | 0 |
| numCommandErrors: | 1 |
| Selenium Version: | undefined |
| Selenium Revision: | undefined |
| | *Test Suite* |
| [Clinician_login|#testresult0] |
| |
| [Clinician_login.html]\\ | %1,3% Clinician_login |
| open |
https://cli-qa.xxxx.net/jsp/portal/login.jsp | Current window or frame is closed! |
| waitForText | User | |
| type | User | sxxxxx |
| type | Pwd | xxxxxxx |
| clickAndWait | loginBtn | |
| select | activeHDNBusiness | label=Dekalb Medical Center (Parent) |
| clickAndWait | actionCommand | |
| selectFrame | portal | |
| clickAndWait | link=Orders | |
| clickAndWait | link=New Order | |
| selectFrame | relative=up | |
| selectFrame | body | |
| verifyElementPresent | resetBtn | |
| click | resetBtn | |
| verifyTextNotPresent | Do Step 1 above to search for a patient even if you believe this to be a new patient. | x |
| verifyValue | searchLN | |
| verifyValue | searchSSN | |
| verifyValue | searchaccountId | |
| type | searchaccountId | jr1002 |
| clickAndWait | search | |
| |
info: Starting test /selenium-server/tests/Clinician_login.html
info: Executing: |open |
https://cli-qa.xxxx.net/jsp/portal/login.jsp | |
info: Executing: |open |
https://cli-qa.xxxx.net/jsp/portal/login.jsp | |
error: modifyWindow: Window was closed!
error: Current window or frame is closed!
warn: currentTest.recordFailure: Current window or frame is closed!
\\ \\ I'm not sure how the winodws got closed by themselves.\\ \\ Regards,\\ Swami