Jump to content

Automation test for UniGUI applications


chefdackel
 Share

Recommended Posts

UniGUI is somewhat matured now, but how do you know your nice looking application stands rock solid in the real web world? What happens when x users are heavily using your system? And does the db implementation do the job just like it should? Are you sure that the PDF creating is not resonsible for eating the memory of your server in very short time?

 

Well, all of this questions can be answered with automation tests for your UniGUI applications. I found the following tools promising:

 

http://sahi.co.in/

http://www.cogitek.com/riatest/features/technologies/extjs.html

http://docs.seleniumhq.org/

http://www.bryntum.com/products/siesta/

http://html5robot.com/

 

Does anyone use one of them and can recommend it? I think an easy way to automate is recording a session, manipulating the resulting code as needed (f.e. for random data access/input) and then playback the sessions on different workstations for a good time.

 

Any discussion about UniGUI/Ajax/ExtJS automation tools is welcome :)  

 

Best Regards

Peter

  • Upvote 1
Link to comment
Share on other sites

  • 1 month later...

I started to play with

 

http://docs.seleniumhq.org/

 

 

Selecting of elements is big problem.

Here is snippet from script generated by Selenium IDE. It is simple login dialog, fills username, password and then LogIn button is clicked.

 

<tr>
    <td>open</td>
    <td>http://localhost:8089/app.dll</td>
    <td></td>
</tr>
<tr>
    <td>type</td>
    <td>xpath=//table[contains(@class, 'uSyLoginDialog.edUsername')]//input[contains(@id, 'inputEl')]</td>
    <td>guest</td>
</tr>
<tr>
    <td>type</td>
    <td>xpath=//table[contains(@class, 'uSyLoginDialog.edPassword')]//input[contains(@id, 'inputEl')]</td>
    <td>password</td>
</tr>
<tr>
    <td>click</td>
    <td>xpath=//a[contains(@class, 'uSyLoginDialog.btnOK')]//span[contains(@id, 'btnEl')]</td>
    <td></td>
</tr>
 

My plan is to test application with python script,

 

Regards,

Zlatko

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...