03-30-2010 10:41 AM
I am having issues with Drop down list. QTP 10.00 is not recording the selection from drop down list.
When I click on the dropdown button I get the following code Browser("Pivotal Active Access").Window("Pivotal Active Access").Page("Pivotal Active Access").Frame("Centre").WebButton("WebButton").Cl
After this step I have to select the value from the list. What can I do to get the value recorded?
And also I want to mention that QTP does not recognize all the objects while recording, I have to learn those objects and write the code according to that.
Example: when I click on the save button I won’t get the code for that click; I have manually write that line.
03-30-2010 01:11 PM
If this object is truly a drop down list, it should not have recorded as a "WebButton"
03-31-2010 05:17 AM
When I spy on the dropdown list I got the class name as Web Edit.
I have tried recording the script by entering the value in the edit field, following is the code.
Browser("Pivotal Active Access").Window("Pivotal Active Access").Page("Pivotal Active Access").Frame("Centre").WebEdit("Action winEdit Box").Set "Direct Mail"
When I run the script I got error message saying
Parameter is Incorrect
03-31-2010 06:24 AM
The solution that worked for me was to click on the button that drops the menu down and then select the value in it by clicking on it.
The click will be performed on a webelement. This is exactly similar to human data entry on the dropdown lists.