08-20-2013, 11:08 PM
(This post was last modified: 08-20-2013, 11:17 PM by adityasrinivasb.)
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 - - This is OK
Code:
For checkbox - - Checkbox recognized as Web button
Code:
For non-editable dropdown - - Drop down recognized as Webedit
Code:
For button - - 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
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"
Code:
For checkbox -
Code:
Browser("Applicationx").Page("Applicationx").WebButton("WebButton").Click
Code:
For non-editable dropdown -
Code:
Browser("Applicationx").Page("Applicationx").WebEdit("SearchBy").Set
Code:
For button -
Code:
Browser("Applicationx").Page("Applicationx").WebElement("Search").Click
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