Micro Focus QTP (UFT) Forums
QTP support for extjs applications - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: QTP support for extjs applications (/Thread-QTP-support-for-extjs-applications)



QTP support for extjs applications - adityasrinivasb - 08-20-2013

Hi

I have some concerns with using QTP to automate web application developed using the extjs technology.

I just started off with the automation and found that there are some limitations of using QTP to automate web applications developed in extjs. I found that QTP doesn't record on certain controls on the application like buttons during recording . I was told a way out to generate the script.

The idea is to first launch the Object Repository window, select the Add objects to local option and click on the controls and get them in the repository first. Then write the script. It works for some elements and for some it doesn't .

For ex:
Code:
For Webedit -
Code:
Browser("Applicationx").Page("Applicationx").WebEdit("User Name").Set "Srinivas"
- This is OK

Code:
For checkbox -
Code:
Browser("Applicationx").Page("Applicationx").WebButton("WebButton").Click
- Checkbox recognized as Web button

Code:
For non-editable dropdown -
Code:
Browser("Applicationx").Page("Applicationx").WebEdit("SearchBy").Set
- Drop down recognized as Webedit

Code:
For button -
Code:
Browser("Applicationx").Page("Applicationx").WebElement("Search").Click
- Button recognized as webelement

Is there a better way of handling extjs application? Can somebody please advise me if there are other options to automate the app?

Regards
Srinivas