Saturday 9 June 2012

How to Test GWT Application with QTP - Part - 2 :

3. How to automate the Smart GWT Testing.
    3.1.      Work with HP Extensibility Accelerator 1.10.
    3.2      Work with HP QTP with web add-in of Extensibility Accelerator

4.   POC Scenario & Outcomes 7
      4.1.      Login in the GWT Admin Application Smart GWT application. 7
      4.2.      On home GWT Admin Application home page, expend and collapse the RU details 7
      4.3.      Smart WGT showcase control 7

How to Automate the Smart GWT Testing
3.1. Work with HP Extensibility Accelerator 1.10   

        1. Open the HP Extensibility Accelerator
        2. To create a new empty project, select File > New > Project, and use the Web Add-in Extensibility template available in the New Project dialog box that opens specify the name of the project and save.
        3.  
        4. Click on add new control + button
        5.  
        1. Specify the control name, description.
        2. Choose the Class type : Base class and Generic Type 
        3.  Select the Map to Controls option.

        4. Open the Application
        5.  
        6. Click on the Select control button
        7.  
        8. Mouse over the Smart GWT control and click on the control.
        9. Select the Create Rule button displaying on the top.
        10. Select the Properties option available in the left side.
        11. Add property name by using the + sign.
        12. Save the project from file menu.
        13. Go to the Project menu => Deploy => Deploy the Quicktest Professional
        14. One confirmation message would comes.
3.2. Work with HP QTP with web add-in of Extensibility Accelerator   
        1. Open the smart GWT application
        2. Open the QTP.
        3. Record / capture the smart GWT control.
        4. Execute the QTP test
4. POC Scenario & Outcomes
4.1. Login in the GWT Admin Application Smart GWT application
Successfully captured & run the script of the user name and password with QTP
4.2. On home GWT Admin Application home page, expend and collapse the RU details
Successfully captured & run the script of the expend and collapse the RU details y with QTP

 

No comments:

Post a Comment