Looks like it's an AJAX field. If so then refer to the below forum on HP. http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1254732145878+28353475&threadId=1227283
Regards, <http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1254732145878+28353475&threadId=1227283> Raghu On Sat, Oct 3, 2009 at 6:37 AM, Roman Zilber <[email protected]> wrote: > Try to look into html code of the select element, there may be some fuction > activated on event. You may need to use WebEdit("WebEdit").FireEvent > "On....." > > > On Fri, Oct 2, 2009 at 12:11 PM, vas <[email protected]> wrote: > >> >> 10/02/09 >> Create_a_Prospect >> >> >> What we are trying to do: >> >> Type some data in SIC field, and drop down list will then appear: >> >> >> When we populate the SIC field value using QTP, the drop down list >> does NOT get generated. However, if we manually type in the data, the >> drop down list does get generated. >> >> This is the code we used: >> >> Browser("").Page("").WebEdit("WebEdit").Set "Farm" >> >> Is there something else that is missing? This is all that was >> captured at time of recording. >> >> We have the same problem with the City/Town Field. When we manually >> type in a city, a drop down list appears: >> >> >> >> When we play back the QTP recording, no drop down list appears: >> >> >> This is the code in expert view from time of recording: >> >> Browser(" ").Page(" ").WebEdit("City").Set "Wellesley" >> >> Is there something we should be using instead of "Set"? >> >> 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 -~----------~----~----~----~------~----~------~--~---
