Combo Box selection issue - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Combo Box selection issue (/Thread-Combo-Box-selection-issue) Pages:
1
2
|
Combo Box selection issue - Shkumari - 05-20-2013 Hi, Can anyone suggest me a function how to select the value in combo box as label is not present for the combo box.Please suggest me its urgent for me. RE: Combo Box selection issue - basanth27 - 05-21-2013 Screenshots or sample code will help. Did you try to record the action, what does it do? RE: Combo Box selection issue - venugqtp - 05-21-2013 Try using Array Index Code: object.Select(0) RE: Combo Box selection issue - nucleation - 05-21-2013 Your question is not complete. I can point you to a function to check the presence of a item in a combo box. You can manipulate the function to select a specific item from combo box. Click here. (Function to Check the presence of an item in a Win Combo Box) RE: Combo Box selection issue - Shkumari - 05-29-2013 Thanks for reply but mine question something like below: In my application there is one column with name "code" and "Value" and below both the columns i have a combo box where two item are present,but problem is that,the combo box having no name and also when i spy the property of combox i get value as <Class:=Webedit|name:=Webedit> So i am not sure how to handle such case.I am using hybrid framework for automation. Kindlly suggest me some solution. RE: Combo Box selection issue - qtpbeginner78 - 05-30-2013 Please spy the Combo Box again and send a screenshot. (Also it would be great if you can send a screenshot of the application where it shows the combobox) RE: Combo Box selection issue - venugqtp - 05-30-2013 It's not a combo box just an Editbox on clicking it will populate the dropdown items. you can try below Code: Settings.WebPackage("ReplayType") = 2 or Code: Settings.WebPackage("ReplayType") = 2 RE: Combo Box selection issue - Shkumari - 06-01-2013 Sorry to say that...i am not able to put the screenshot as i am working on remote machine beacuse of this copy and paste is not possible... Do you have any doubt in understnading the problem.Please let me know the solution as it is quite uregent for me RE: Combo Box selection issue - Saket - 06-03-2013 if you can elaborate "select the value in combo box as label is not present for the combo box" ? RE: Combo Box selection issue - Staff - 07-05-2013 Please ensure to include your code between [code] tags while asking or replying to questions. I have done this for you for this time. |