11-29-2011, 04:40 PM
My Question is related to the same post.
My Application is based out of Java. Where i have 2 dropdowns (where value in second is triggered based on first dropdown).
The problem i am facing is when i select the value from first dropdown, the value is not populated in the second dropdown when done using QTP.
When I do the same manually in my application i.e. I select value from the first dropdown, the values in the second dropdown populates 'onchange' of values in the first dropdown.
Please suggest me as to which method I should use in QTP ..with the help of that i can ask qtp to trigger values in second dropdown.
I tried the below methods but are not working .........
My Application is based out of Java. Where i have 2 dropdowns (where value in second is triggered based on first dropdown).
The problem i am facing is when i select the value from first dropdown, the value is not populated in the second dropdown when done using QTP.
When I do the same manually in my application i.e. I select value from the first dropdown, the values in the second dropdown populates 'onchange' of values in the first dropdown.
Please suggest me as to which method I should use in QTP ..with the help of that i can ask qtp to trigger values in second dropdown.
I tried the below methods but are not working .........
Code:
Browser().page().frame().weblist().fireevent"OnChange"
Browser().page().frame().weblist().fireevent"OnpropertyChange"