Hi, I know this issue as we also faced the same.
You can use wScript.shell and use keyboard n mouse operation. Thanks, Suresh Bhandari > On Oct 21, 2013, at 4:20 PM, Marko Kostadinovic <[email protected]> wrote: > > Hi there, > > Trying to create some simple automation scripts using QTP, and am stuck. > Hopefully someone can provide me with some help. > > I have a dropdown list that when i record a click on, show up as: > Browser("Browser Name").Page("Page Name").Image("mt_sprites").Click > > Problem is that I cannot select anything from the dropdown using QTP as it > does not record me making a selection at all. No matter what I select from > the dropdown list, it is never recorder as code in QTP. I was able to add > manually the option I need selected into the Object Repository, and it is > listed as WebElement (name is WebTable) > > I have tried using the following code in order for this specific option to be > selected once the dropdown list is shown from the code shown above: > Browser("Browser Name").Page("Page Name").WebElement("WebTable").Click, > however it never gets selected. Dropdown list is shown, but option is not > selected. QTP just moves on to next line and skips making selection I need. > > Any help how to get past this issue would be appreciated :) > > Thanks > -- > -- > You received this message because you are subscribed to the Google > "QTP - HP Quick Test Professional - Automated Software Testing" > group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/MercuryQTP?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "QTP - HP Quick Test Professional - Automated Software Testing" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. -- -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
